True Type Fonts

david.waller@westsig.co.uk david.waller@westsig.co.uk
Thu, 10 Feb 2000 14:10:29 +0000



Thanks for all the help so far, it turns out I wasn't issueing the ttf2afm
command with an encoding file.

Anyway I now have a series of TFM's and AFM's to use. These were put in the
correct directories and I changed the names
to resemble the details in the fontname document (My two sets became fanb8r etc
and fnrb8a etc.)
Next I copied bookman.sty and modified it for my new fonts and saved it under a
different name.
I then realised I still had a big problem in that I still needed to generate fd
files and so on. In the end
I used fontinst, vptovf and pltotf. I also had to write my own omsfnr.fd file
which didn't get created for some reason.

At last pdflatex ran without any errors. However when I view the pdf file it
reports that it cannot find the embedded file and it subsitutes
everything with *'s.
Has anybody any clues or is there a clear document (or book) somewhere detailing
all the steps required to go from a true type font family
to a final pdf. Up to now I have always used standard postscript fonts without
any problems in pdflatex.

Thanks Dave Waller

Below are extracts from the log file

This is pdfTeX, Version 3.14159-13d (Web2c 7.3.1) (format=pdflatex 1999.6.8)  10
 FEB 2000 13:48
**\nonstopmode\input{test.tex}
(test.tex (d:/tex/texmf/tex/latex/base/article.cls
Document Class: article 1999/01/07 v1.4a Standard LaTeX document class
(d:/tex/texmf/tex/latex/base/size10.clo
File: size10.clo 1999/01/07 v1.4a Standard LaTeX file (size option)

)
(d:/TeX/texmf.local/tex/latex/psnfss/newfonts.sty
Package: newfonts 2000/02/10 new fonts : D. Waller
)

(d:/tex/texmf/tex/latex/misc/acronym.sty
Package: acronym
) (test.aux)
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 9.
LaTeX Font Info:    ... okay on input line 9.
LaTeX Font Info:    Try loading font information for OT1+fnr on input line 9.

(d:/tex/texmf/tex/latex/psnfss/ot1fnr.fd
File: ot1fnr.fd 2000/02/10 Fontinst v1.801 font definitions for OT1/fnr.
)

)
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 10.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 10.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 10.
LaTeX Font Info:    Font shape `OT1/fnr/bx/n' in size <9> not available
(Font)              Font shape `OT1/fnr/b/n' tried instead on input line 11.
LaTeX Font Info:    Font shape `OT1/fnr/bx/n' in size <14.4> not available
(Font)              Font shape `OT1/fnr/b/n' tried instead on input line 16.
LaTeX Font Info:    Try loading font information for OMS+fnr on input line 23.
 (d:/tex/texmf/tex/latex/psnfss/omsfnr.fd
File: omsfnr.fd
)
LaTeX Font Info:    Font shape `OMS/fnr/m/n' in size <10> not available
(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 23.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 46.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 46.

Overfull \hbox (14.31693pt too wide) in paragraph at lines 47--50
\OT1/fnr/m/n/10 that is in-cre-mented ev-ery time the de-sign file is opened wi
thin PLANS.
 []

[1

[d:/tex/texmf/dvips/config/pdftex.map][d:/TeX/texmf.local/pdftex/config/newfont
s.map]]
LaTeX Font Info:    Font shape `OT1/fnr/bx/n' in size <10> not available
(Font)              Font shape `OT1/fnr/b/n' tried instead on input line 77.
 [2] (test.aux) )
Here is how much of TeX's memory you used:
 831 strings out of 10635
 9465 string characters out of 193607
 56420 words of memory out of 263001
 3829 multiletter control sequences out of 10000+0
 29951 words of font info for 44 fonts, out of 200000 for 1000
 14 hyphenation exceptions out of 1000
 26i,8n,21p,220b,286s stack positions out of 300i,100n,500p,50000b,4000s
<cmsy10.pfb><8r.enc><Ivnrbd__.ttf><Ivnr____.ttf>
Output written on test.pdf (2 pages, 48289 bytes).

> Firstly sorry if this has already been answered elsewhere
>
> I am trying to use a true type font in pdftex (using fptex version 0.4)
> I have run ttf2afm to produce an .afm file.
> When I run afm2tfm I get the following:
> ! no Adobe characters
> % LIGKERN ff l =: ffl:
> ^
>
> and an empty tfm file.
> I have tried this with several true type fonts but always get the same result
> Anybody any ideas
>
> I am using version 8.1 of afm2tfm.

it looks like the afm created by ttf2afm is invalid.  what TTF did you try and
how did you run ttf2afm?



________________________________________________________________________________
This message has been checked for all known viruses by the Star Screening System
http://www.star.net.uk/stats.asp