I get following error message: ----------------------------------------------------------------------------------------------------------- ! LuaTeX error ...0/texmf-dist/tex/luatex/luaotfload/otfl-luat-dum.lua:67: bad argument #2 to 'find_file' (invalid option 'truetype dictionary'). <to be read again> \scan_stop: l.112 ...=MatchLowercase,Ligatures=TeX]{Helvetica} ----------------------------------------------------------------------------------------------------------- Google told me that this might be related to code that originally came from context but wasn't changed to work with luatex. But I'm not sure since I'm not a developer. If there's sth. I can do to identify/fix the bug, please don't hesitate to tell me. Regards, Tobias Link
On 9-2-2011 7:43, Beingalink wrote:
I get following error message:
----------------------------------------------------------------------------------------------------------- ! LuaTeX error ...0/texmf-dist/tex/luatex/luaotfload/otfl-luat-dum.lua:67: bad argument #2 to 'find_file' (invalid option 'truetype dictionary'). <to be read again> \scan_stop: l.112 ...=MatchLowercase,Ligatures=TeX]{Helvetica} -----------------------------------------------------------------------------------------------------------
Google told me that this might be related to code that originally came from context but wasn't changed to work with luatex. But I'm not sure since I'm not a developer. If there's sth. I can do to identify/fix the bug, please don't hesitate to tell me.
It depends on what the kpse library expects as so called 'format' so if you can try to change the "truetype dictionary" into "truetype font" and see what happens. (I cannot test it as in context we use other methods for locating the files). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi! Thanks for your reply! Indeed, replacing "truetype dictionary" with "truetype fonts" in otfl-luat-dum.lua fixes the issue. I hope this will be officially fixed in the repository soon. But now I get another error message: --------------------------------------------------------------------------------------------------------------------- ! Font \zf@basefont=name:CenturySchoolbook at 10pt not loadable: metric data no t found or bad. <to be read again> \scan_stop: l.111 ...infont[Ligatures=TeX]{Century Schoolbook} % Palatino, Times, Times … --------------------------------------------------------------------------------------------------------------------- It seems that the font "CenturySchoolbook" has no extension on the Mac and is called a "Font Suitcase". Perhaps you can help me there, too? Kind regards, Tobias Link Am 09.02.2011 um 23:07 schrieb Hans Hagen:
On 9-2-2011 7:43, Beingalink wrote:
I get following error message:
----------------------------------------------------------------------------------------------------------- ! LuaTeX error ...0/texmf-dist/tex/luatex/luaotfload/otfl-luat-dum.lua:67: bad argument #2 to 'find_file' (invalid option 'truetype dictionary'). <to be read again> \scan_stop: l.112 ...=MatchLowercase,Ligatures=TeX]{Helvetica} -----------------------------------------------------------------------------------------------------------
Google told me that this might be related to code that originally came from context but wasn't changed to work with luatex. But I'm not sure since I'm not a developer. If there's sth. I can do to identify/fix the bug, please don't hesitate to tell me.
It depends on what the kpse library expects as so called 'format' so if you can try to change the "truetype dictionary" into "truetype font" and see what happens. (I cannot test it as in context we use other methods for locating the files).
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 10-2-2011 12:17, Beingalink wrote:
Hi!
Thanks for your reply! Indeed, replacing "truetype dictionary" with "truetype fonts" in otfl-luat-dum.lua fixes the issue. I hope this will be officially fixed in the repository soon. But now I get another error message:
--------------------------------------------------------------------------------------------------------------------- ! Font \zf@basefont=name:CenturySchoolbook at 10pt not loadable: metric data no t found or bad. <to be read again> \scan_stop: l.111 ...infont[Ligatures=TeX]{Century Schoolbook} % Palatino, Times, Times … ---------------------------------------------------------------------------------------------------------------------
It seems that the font "CenturySchoolbook" has no extension on the Mac and is called a "Font Suitcase". Perhaps you can help me there, too?
We did some testing with dfonts when the loader was adapted to changes in the dfont specification. To be honest, I'd stay away from it. There are dfonts out there that are only to be used by the operating system and are not feature complete for instance. I see that you use the name: prefix, how about using file: and then the filename? The name: prefix depends on a name database and afaik context and latex use a different approach for that (database code is plugged in so to say). The only help I can think of is sending taco and me the font off-list so that we can see if it loads on our (non osx) machines. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Beingalink
-
Hans Hagen