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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to