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/
Dirar BOUGATEF wrote:
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]
\definefont[TitleFont][Serif at 24pt] \definefont[TitleFont][KaratRegular at 24pt] it all depensa on what you have defined in the typescript; you can uss any font synonym as long as it resolves to something known (say texnansi-karat) Hans ----------------------------------------------------------------- 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 Tue, Nov 02, 2004 at 11:29:35AM +0000, Dirar BOUGATEF wrote:
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).
Both TrueType and Type1 fonts are scalable to any size you want. Some applications (MS Word) will show you a limited selection of sizes, but those are just the application designers' ideas of what sizes are useful--they have nothing to do with the capabilities of the fonts themselves. And regardless of what your Windows menus show, TeX uses its own system for handling fonts. So don't worry about the size: if the font is available at all, it is available in 24pt. But how did you install the fonts, exactly? Did you use the texfont utility? If so, your work is probably almost done, but texfont will have generated some new map files that are probably not known to the system. If you are trying to output PDF, then you probably just need to add references to the new map files to the master pdfTeX config; with DVI, it's a bit more complex, but again is basically a matter of editing one or two map files.
This is the error message:
It would be helpful if you also showed the exact command that resulted in this error. Maybe the true TeX gurus can deduce from the output what you were trying to do, but the rest of us need a bit more information to have a chance of understanding the problem. -- Matt Gushee When a nation follows the Way, Haven Rock Press Horses bear manure through Englewood, Colorado, USA its fields; books@havenrock.com When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.)
participants (3)
-
Dirar BOUGATEF
-
Hans Hagen
-
Matt Gushee