ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem of space in font names
@ 2009-02-13 21:05 Mehdi Omidali
  2009-02-14  0:26 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Mehdi Omidali @ 2009-02-13 21:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem of space in font names
  2009-02-13 21:05 Problem of space in font names Mehdi Omidali
@ 2009-02-14  0:26 ` Hans Hagen
  2009-02-14  8:02   ` Mojca Miklavec
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2009-02-14  0:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem of space in font names
  2009-02-14  0:26 ` Hans Hagen
@ 2009-02-14  8:02   ` Mojca Miklavec
  0 siblings, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2009-02-14  8:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-14  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-13 21:05 Problem of space in font names Mehdi Omidali
2009-02-14  0:26 ` Hans Hagen
2009-02-14  8:02   ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).