Hi, I managed to install my Adobe OpenType fonts into ConTeXt: texfont --makepath --install --en=texnansi --ve=adobe --co=AdobeGaramondPro --preproc --lcdf However, loading the font like this does not work: \usetypescriptfile[texnansi-adobe-adobegaramondpro] \setupbodyfont[AdobeGaramondPro] Can anybody lend me some aid? Did I mess up the installation? Or am I using the wrong syntax? I'm using TeXlive 2007. Regards, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.nl/
Hi,
Can anybody lend me some aid?
You could use otfinstall to install your opentype fonts. http://wiki.contextgarden.net/otfinstall Patrick
On Mon, 2007-08-06 at 09:45 +0200, Patrick Gundlach wrote:
Hi,
Can anybody lend me some aid?
You could use otfinstall to install your opentype fonts.
I already noticed that script, however... It seems texfont already has support for OpenType. It has the --preproc and --lcdf parameters. After running: texfont --makepath --install -en=texnansi --ve=adobe --co=adobegaramondpro --preproc --lcdf It generated these files: /opt/texlive/texmf-local/fonts$ ls -1 tfm/adobe/adobegaramondpro/ texnansi-AGaramondPro-Regular--base.tfm texnansi-AGaramondPro-Regular--lcdfj.tfm texnansi-AGaramondPro-Regular.tfm texnansi-AGaramondPro-Semibold--base.tfm texnansi-AGaramondPro-Semibold--lcdfj.tfm texnansi-AGaramondPro-Semibold.tfm ... /opt/texlive/texmf-local/fonts$ ls -1 type1/adobe/adobegaramondpro/ AGaramondPro-Regular.pfb AGaramondPro-Semibold.pfb ... Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Is texfont incomplete? Or am I doing something wrong? What are the advantages/downsides of both? -- http://blog.pcode.nl/ http://www.linkselente.nl/
Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work?
Do you really need another reason? Have you tried otfinst? The point of all these scripts is to make your life easier in generating metrics, auxiliary fonts and map files; if you tear yourself with questions before trying them much of their interest is lost on you.
Is texfont incomplete?
I have no idea; but at any rate it belongs to a clearly “older” generation of scripts. The latest available version has “version=2004.02.06” in the documentation part, and even without that you can spot it quite easily since it belongs to Hans' Perl period ;-)
Or am I doing something wrong?
Probably not.
What are the advantages/downsides of both?
Why don't you try it for yourself? Arthur
Hi, On Mon, 2007-08-06 at 19:54 +0200, Arthur Reutenauer wrote:
Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work?
Do you really need another reason? Have you tried otfinst? The point of all these scripts is to make your life easier in generating metrics, auxiliary fonts and map files; if you tear yourself with questions before trying them much of their interest is lost on you.
You're right. I'm just a curious person. I considerd texfont to be an 'official' tool, and I'd like to learn/stick to official stuff whenever possible (at least as long as that doesn't involve me losing my sanity).
Is texfont incomplete?
I have no idea; but at any rate it belongs to a clearly “older” generation of scripts. The latest available version has “version=2004.02.06” in the documentation part, and even without that you can spot it quite easily since it belongs to Hans' Perl period ;-)
I didn't know Hans' had a Perl period... I guess that period has passed now... 2004 has been a while...
Or am I doing something wrong?
Probably not.
What are the advantages/downsides of both?
Why don't you try it for yourself?
I'll give otfinstall a shot tomorrow. Thanks for the reply, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.nl/
Hi Pascal,
I'll give otfinstall a shot tomorrow.
this is the oinst file for the adobe garamond premier I've used. There is no support for opticals yet. This is really a simple tool. adobe_garamond_premier_pro.oinst: -------------------------------------------------- vendor "adobe" collection "garamond" # 'sans' or 'serif' fontclass "serif" # Allowed variants are 'default', 'osf' variants %w(default osf) # Supported faces are 'regular' 'bold' 'italic' and 'bolditalic' regular "GaramondPremrPro.otf" bold "GaramondPremrPro-Bd.otf" italic "GaramondPremrPro-It.otf" bolditalic "GaramondPremrPro-BdIt.otf" -------------------------------------------------- Put the files in otf/adobe/garamond and run ruby otfinst.rb -f otf Patrick
On Mon, 2007-08-06 at 22:07 +0200, Patrick Gundlach wrote:
Hi Pascal,
I'll give otfinstall a shot tomorrow.
this is the oinst file for the adobe garamond premier I've used. There is no support for opticals yet. This is really a simple tool.
adobe_garamond_premier_pro.oinst: -------------------------------------------------- vendor "adobe" collection "garamond"
# 'sans' or 'serif' fontclass "serif"
# Allowed variants are 'default', 'osf' variants %w(default osf)
# Supported faces are 'regular' 'bold' 'italic' and 'bolditalic' regular "GaramondPremrPro.otf" bold "GaramondPremrPro-Bd.otf" italic "GaramondPremrPro-It.otf" bolditalic "GaramondPremrPro-BdIt.otf" --------------------------------------------------
I adjusted it to my own situation (AGaramondPro, not the Premier version). And I ran it succesfully. However, I can't see where the files have gone? Compiling my .tex file also doesn't change anything. I declared this, maybe I went wrong here... I tried several different font names: \usetypescript[AGaramondPro][texnansi] \setupbodyfont[AGaramondPro] I also tried 'garamond', 'adobegaramondpro'. Besides this I also noticed the script didn't support Semibold, which to me is very essential. The Bold version of AGaramondPro doesn't have any small caps, and Semibold just looks beter. And if I understand the script correctly, the font in converted into static versions supporting OsF and Sc, right? (Ruby isn't very readable, when you're not a Ruby programmer). Regards, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.nl/
Hi Pascal,
I adjusted it to my own situation (AGaramondPro, not the Premier version). And I ran it succesfully. However, I can't see where the files have gone?
They end up in a directory called texmf in the local directory, unless you have given the command line to change this directory (see --help)
Compiling my .tex file also doesn't change anything.
See the file example.tex in the texmf directory.
Besides this I also noticed the script didn't support Semibold, which to me is very essential. The Bold version of AGaramondPro doesn't have any small caps, and Semibold just looks beter.
Well, semibold is not supported, unless you drop bold and use semibold instead. If you insist, I will have a look at this.
And if I understand the script correctly, the font in converted into static versions supporting OsF and Sc, right?
Right. Patrick
Pascal de Bruijn wrote:
Hi,
On Mon, 2007-08-06 at 19:54 +0200, Arthur Reutenauer wrote:
Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Do you really need another reason? Have you tried otfinst? The point of all these scripts is to make your life easier in generating metrics, auxiliary fonts and map files; if you tear yourself with questions before trying them much of their interest is lost on you.
You're right. I'm just a curious person. I considerd texfont to be an 'official' tool, and I'd like to learn/stick to official stuff whenever possible (at least as long as that doesn't involve me losing my sanity).
Is texfont incomplete?
I have no idea; but at any rate it belongs to a clearly “older” generation of scripts. The latest available version has “version=2004.02.06” in the documentation part, and even without that you can spot it quite easily since it belongs to Hans' Perl period ;-)
I didn't know Hans' had a Perl period... I guess that period has passed now... 2004 has been a while...
well, i still use texfont for type 1 fonts, but for open type i use luatex anyway which can handle it directly (actually, mkiv also uses afm files instead of tfm when available, so texfont is not needed any more) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 8/6/07, Hans Hagen
well, i still use texfont for type 1 fonts, but for open type i use luatex anyway which can handle it directly (actually, mkiv also uses afm files instead of tfm when available, so texfont is not needed any more)
How stable/reliable is LuaTeX for general use? Does LuaTeX already support OpenType things like SmallCaps, Old Style Figures, Alternates, Ligatures, etc? Regards, Pascal de Bruijn
Pascal de Bruijn wrote:
On 8/6/07, Hans Hagen
wrote: well, i still use texfont for type 1 fonts, but for open type i use luatex anyway which can handle it directly (actually, mkiv also uses afm files instead of tfm when available, so texfont is not needed any more)
How stable/reliable is LuaTeX for general use?
Well, "not at all" is the wisest answer I can give. But I know for a fact that there are people out there (you know who you are!) that use luatex for production work already. As long as you stick to the highlevel context interface, are not interested in the archivability of documents and do not hit a showstopper bug, it is somewhat ok to do that. Luatex is an early beta. I am always happy to hear about bugs, but it may take a while for them to get fixed (in the next beta), so don't start anything time-critical in luatex that cannot easily be handled in another way, just in case.
Does LuaTeX already support OpenType things like SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
Yes. Best read the magazine has mentioned, and lookup \definefontfeature. http://www.pragma-ade.com/general/magazines/mag-0012.pdf Best wishes, Taco
On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
Does LuaTeX already support OpenType things like SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
Yes. Best read the magazine has mentioned, and lookup \definefontfeature.
I seem not to be able to reach/allowed on this link. Nor did I find it in the download/magazine section of the pragma site. How do I get this? Hans van der Meer
I seem not to be able to reach/allowed on this link. Nor did I find it in the download/magazine section of the pragma site. How do I get this? it works for me; try http://context.aanhet.net/general/magazines/mag-0012.pdf
PS I have a pending answer for you (error in textbackground with metapost), just to say that I remember it -- luigi ---------------------------------------------------------------- If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
Hans van der Meer wrote:
On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
Does LuaTeX already support OpenType things like SmallCaps, Old Style Figures, Alternates, Ligatures, etc? Yes. Best read the magazine has mentioned, and lookup \definefontfeature.
I seem not to be able to reach/allowed on this link. Nor did I find it in the download/magazine section of the pragma site. How do I get this?
it's really there Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tuesday 07 August 2007, Hans Hagen wrote:
Hans van der Meer wrote:
On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
Does LuaTeX already support OpenType things like SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
Yes. Best read the magazine has mentioned, and lookup \definefontfeature.
I seem not to be able to reach/allowed on this link. Nor did I find it in the download/magazine section of the pragma site. How do I get this?
it's really there
Hans
I should mention that when I (involuntarily) changed Cable ISPs I lost the ability to transmit mail directly to this list. ntg.nl is apparently not in their DNS server. So I must transmit posts here via my wexfordpress.com mail server maintained by doteasy.com, a Canadian company. Perhaps the other person is having a similar difficulty basd on domain name servers. -- John Culleton
On Thu, 2007-08-09 at 16:36 -0400, John R. Culleton wrote:
On Tuesday 07 August 2007, Hans Hagen wrote:
Hans van der Meer wrote:
On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
Does LuaTeX already support OpenType things like SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
Yes. Best read the magazine has mentioned, and lookup \definefontfeature.
I seem not to be able to reach/allowed on this link. Nor did I find it in the download/magazine section of the pragma site. How do I get this?
it's really there
Hans
I should mention that when I (involuntarily) changed Cable ISPs I lost the ability to transmit mail directly to this list. ntg.nl is apparently not in their DNS server. So I must transmit posts here via my wexfordpress.com mail server maintained by doteasy.com, a Canadian company. Perhaps the other person is having a similar difficulty basd on domain name servers.
This means your ISPs DNS servers are broken. Not having a domain is just not possible, without something being very broken, or being intentionally (mis)configured. You should complain at your ISP... Regards, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.nl/
Yes. Best read the magazine has mentioned, and lookup \definefontfeature.
By the way, is there a "This way" number 11? Cheerio, Oliver
Oliver Buerschaper wrote:
Yes. Best read the magazine has mentioned, and lookup \definefontfeature.
By the way, is there a "This way" number 11?
no, well, there is an unifinished file on my disk -) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
No access to this link. Does it really exist? My browser says on entering "http://www.pragma-ade.com/general/ magazines/": Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster. Error 403 www.pragma-ade.com Thu Aug 9 16:50:58 2007 Apache/2.2.3 (Linux/SUSE) This is not very helpful. On Aug 9, 2007, at 15:09, Oliver Buerschaper wrote:
Yes. Best read the magazine has mentioned, and lookup \definefontfeature.
By the way, is there a "This way" number 11?
Cheerio, Oliver ______________________________________________________________________ _____________
Hans van der Meer
Hans van der Meer wrote:
No access to this link. Does it really exist?
Yes, but something seens wrong with the web server right now. Try this link instead: http://context.aanhet.net/general/magazines/mag-0012.pdf Best wishes, Taco
On Thu, 9 Aug 2007, Hans van der Meer wrote:
No access to this link. Does it really exist? My browser says on entering "http://www.pragma-ade.com/general/ magazines/":
Access forbidden!
This is what I use as starting point: http://www.pragma-ade.com/dir Cheers, Peter -- http://pmrb.free.fr/contact/
Pascal de Bruijn wrote:
On 8/6/07, *Hans Hagen*
mailto:pragma@wxs.nl> wrote: well, i still use texfont for type 1 fonts, but for open type i use luatex anyway which can handle it directly (actually, mkiv also uses afm files instead of tfm when available, so texfont is not needed any more)
How stable/reliable is LuaTeX for general use?
good enough for me to start using it in projects (where i know what i need and not -)
Does LuaTeX already support OpenType things like SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
yes, yes, yes, yes, etc ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hello Pascal,
I already noticed that script, however... It seems texfont already has support for OpenType. It has the --preproc and --lcdf parameters.
I have written otfinstall after I have played around with texfont. texfont is much more versatile then otfinstall, but I think that otfinstall is faster, easier to use and writes all necessary files. But since I never felt like reading the texfont documentation, I might be completely wrong about my assumptions on texfont.
Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Is texfont incomplete? Or am I doing something wrong? What are the advantages/downsides of both?
They are just two different tools for a similar purpose. Nothing wrong with each of them. There is not much to add to what Arthur said. If you need any specific help on otfinstall, I'd be glad to assist you (and update the documentation as well). Patrick
participants (10)
-
Arthur Reutenauer
-
Hans Hagen
-
Hans van der Meer
-
John R. Culleton
-
luigi scarso
-
Oliver Buerschaper
-
Pascal de Bruijn
-
Patrick Gundlach
-
Peter Münster
-
Taco Hoekwater