ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* define font | font with name Delicious-Roman is not found
@ 2009-05-28 15:59 Nicolas Girard
  2009-05-28 16:09 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Girard @ 2009-05-28 15:59 UTC (permalink / raw)
  To: ntg-context

Hi all,
I'm using the latest beta of context minimals, rsynced over a TeXlive
2008 on ubuntu.

LuaTeX is Version beta-0.40.1-2009050920 (Web2C 7.5.7)
MTXrun is TDS Runner Tool 1.22
ConTeXt is 2009.05.28 14:36

$ mtxrun --script fonts --list|grep Delicious gives:
deliciousbold              Delicious-Bold
/usr/local/share/fonts/d/delicious_bold.otf
deliciousbolditalic        Delicious-BoldItalic
/usr/local/share/fonts/d/delicious_bolditalic.otf
deliciousheavy            Delicious-Heavy
/usr/local/share/fonts/d/delicious_heavy.otf
deliciousitalic              Delicious-Italic
/usr/local/share/fonts/d/delicious_italic.otf
deliciousroman           Delicious-Roman
/usr/local/share/fonts/d/delicious_roman.otf
delicioussmallcaps      Delicious-SmallCaps
/usr/local/share/fonts/d/delicious_smallcaps.otf

while env|grep ^OS gives
OSFONTDIR=/usr/local/share/fonts


Running the following file is okay:

    \starttext
    \font\Myfont=/usr/local/share/fonts/d/delicious_roman.otf at 24pt
    \Myfont Hello, world
    \stoptext

but running

    \starttext
    \font\Myfont=Delicious-Roman at 24pt
    \Myfont Hello, world
    \stoptext

leads to

    define font | font with name Delicious-Roman is not found
    define font | unknown font Delicious-Roman, loading aborted
    ! Font \Myfont=Delicious-Roman at 24pt not loadable: metric data
not found or bad.

What's going wrong ?
Thanks very much in advance !

--
Nicolas
___________________________________________________________________________________
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] 2+ messages in thread

* Re: define font | font with name Delicious-Roman is not found
  2009-05-28 15:59 define font | font with name Delicious-Roman is not found Nicolas Girard
@ 2009-05-28 16:09 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2009-05-28 16:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 28.05.2009 um 17:59 schrieb Nicolas Girard:

> Hi all,
> I'm using the latest beta of context minimals, rsynced over a TeXlive
> 2008 on ubuntu.
>
> [...]
>
> Running the following file is okay:
>
>    \starttext
>    \font\Myfont=/usr/local/share/fonts/d/delicious_roman.otf at 24pt
>    \Myfont Hello, world
>    \stoptext
>
> but running
>
>    \starttext
>    \font\Myfont=Delicious-Roman at 24pt
>    \Myfont Hello, world
>    \stoptext


Please don't use \font, use ConTeXt's \definefont instead:

\definefont[Myfont][name:Delicious-Roman][features=default]

Wolfgang

___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2009-05-28 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-28 15:59 define font | font with name Delicious-Roman is not found Nicolas Girard
2009-05-28 16:09 ` Wolfgang Schuster

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