Hi, I have noticed that luatex can not handle fonts with space in their names. I haven't had this problem in the past but now it happens in the latest context minimal both on windows and linux.
Mehdi Omidali wrote:
Hi, I have noticed that luatex can not handle fonts with space in their names. I haven't had this problem in the past but now it happens in the latest context minimal both on windows and linux.
spaces are always tricky ... in mkiv just omit the spaces (internally all font names are stripped from spaces and special characters and treated lowercase), so "Abc Def-GhI" becomes "abcdefghi" anyway ----------------------------------------------------------------- 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 Sat, Feb 14, 2009 at 1:26 AM, Hans Hagen wrote:
Mehdi Omidali wrote:
Hi, I have noticed that luatex can not handle fonts with space in their names. I haven't had this problem in the past but now it happens in the latest context minimal both on windows and linux.
spaces are always tricky ... in mkiv just omit the spaces (internally all font names are stripped from spaces and special characters and treated lowercase), so "Abc Def-GhI" becomes "abcdefghi" anyway
Hello Hans, I agree that spaces are tricky, but XeTeX does require those spaces for example\footnote{Yes, yes, I know what you wanted to repy about XeTeX. I would rename the font as well, but on the other hand being able to use the same definition for bothe engines is only a benefit.}. As long as the syntax is clear: [file:Some Name With Spaces] this should be accepted in my opinion. If you store font names without spaces and dashes in database, it might make sense to strip the name in a similar manner here before trying to access the database and ask it to give back the font. Mojca
participants (3)
-
Hans Hagen
-
Mehdi Omidali
-
Mojca Miklavec