[NTG-context] Font definitions.

Dirar BOUGATEF chabah5 at hotmail.com
Tue Nov 2 12:29:35 CET 2004


Hi all,

Am trying to define a synonym of my font at 24pt where am not sure at which 
size my font is installed -should be 12pt- (The ttf includes all the 
following sizes 12, 18, 24,36, 48, 60, .. but as i've done the install from 
the pfb + afm that comes with it, i don't really know what size i have now).

Anyway i have tryed the following which turns to an error:

\usetypescriptfile[Karat.tex]
\usetypescript[karat]

\definefont[TitleFont][karat at 24pt]

\starttext
\TitleFont Hello
\stoptext

I have tryed to change the 24 to 12 and it does not work too.

This is the error message:

fonts          : [karat] [] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex
fonts          : [karat] [ss] [sans] [karat] / texnansi
fonts          : [map] [texnansi] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)
fonts          : [sans,map] [karat] [name,default,texnansi,special]
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex
fonts          : [sans] [fallback] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex))
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)
fonts          : [sans] [default] [size]
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)) (./Typescript2.tuo
systems        : possible problem with 8 bit output
) (./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo)
(./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo) 
(./Typescript2.tuo)
(./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo) 
(./Typescript2.tuo)
(./Typescript2.tuo)
fonts          : using map file: texnansi-base.map
fonts          : using map file: texnansi-rubicon-karatmedium.map
fonts          : using map file: ec-public-lm.map
fonts          : using map file: original-base.map
systems        : begin file Typescript2 at line 7
kpathsea: Running mktextfm karat
mktextfm: Could not map typeface abbreviation ar for karat.
mktextfm: Need to update c:/TeXLive/texmf/fontname/special.map?
mktextfm: Running mf "\mode:=ljfour; mag:=1; nonstopmode; input karat"
This is METAFONT, Version 2.71828 (Web2c 7.5.2)
(c:/TeXLive/texmf/web2c/cp8bit.tcx)

kpathsea: Running mktexmf karat
mktexmf: empty or non-existent rootfile!
! I can't find file `karat'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input karat

Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input karat

Transcript written on mfput.log.
mktextfm: warning: can't open log file karat.log.
mktextfm: `mf "\mode:=ljfour; mag:=1; nonstopmode; input karat"' failed.
kpathsea: Appending font creation commands to missfont.log.
! Font \**TitleFont**=karat at 24.0pt not loadable: Metric (TFM) file not 
found
.
<to be read again>
                   \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
                                                  \let 
\localrelativefontsiz...
l.8 \TitleFont
               Hello

Any idea ?

Thanks.

Dirar.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.com/



More information about the ntg-context mailing list