2

Argh! Maybe the fonts I got are useless? I got a set of OTF fonts and am trying to install them for use with MikTeX pdflatex. (Yes I know about XeTeX and LuaTeX and that it could be easier with them. Unfortunately, for various reasons, we're using pdflatex.)

When I use the work flow described here, How do I use TrueType Fonts with PDFTeX using otftotfm? (modified for MikTeX 2.9), I get the following error message when compiling with pdflatex:

'OTF Files must be included entirely'

Is there something I need to do to insure the entire OTF file is included? (I thought pdflatex only embeds those glyphs discovered in the document?)

p.s. I found this old old link, http://tug.org/pipermail/pdftex/2003-January/003412.html and not much else when googling/and searching here. I doubt I'm the only person experiencing this. Can it be I'm using sub-optimal keywords?

infowanna
  • 583
  • 4
  • 16
  • What is the content of the map-file created by the workflow? – Ulrike Fischer Nov 11 '14 at 10:28
  • '% Automatically maintained by otftotfm or other programs. Do not edit.'

    'berkeleystd-book--lcdfj BerkeleyStd-BookLCDFJ "" <BerkeleyStd-BookLCDFJ.pfb'
    'berkeleystd-book--base BerkeleyStd-Book "AutoEnc_5yjl5y33w6e7fvg5fphscaz2jd ReEncodeFont" <[a_5yjl5y.enc <berkeleystd-book.otf'

    – infowanna Nov 11 '14 at 13:22
  • 1
    <<BerkeleyStd-BookLCDFJ.pfb should do full inclusion. – egreg Nov 11 '14 at 13:23
  • 2
    The second entry with .otf at the end should use << instead of <. pdflatex can't subset otf-fonts. With the pfb < should be ok. – Ulrike Fischer Nov 11 '14 at 13:30
  • Thanks - I still think the original font file has Problems. the pdflatex run completes and creates the pdf, but without a font. Now I get a slew of the following line (with various characters) 'Missing character: There is no e in font T1-berkeleystd-book--lcdfj! Missing character: There is no t in font T1-berkeleystd-book--lcdfj! Missing character: There is no e in font T1-berkeleystd-book--lcdfj! Missing character: There is no r in font T1-berkeleystd-book--lcdfj! – infowanna Nov 11 '14 at 13:44
  • Just as a sanity check: can you use the font in other applications? – cfr Nov 11 '14 at 14:54
  • A lot things can go wrong when installing fonts for pdflatex. But it is not possible to guess what happened in your case. – Ulrike Fischer Nov 12 '14 at 12:07
  • @cfr - when clicking on the files themselves, Windows Pops up a font Viewer, which Displays the Fonts. – infowanna Nov 12 '14 at 12:36
  • If the Fonts are Unicode, and my *tex is latin1, am I asking for Problems? I believe pdflatex can handle the combination of Unicode and non-Unicode Fonts - am I mistaken? – infowanna Nov 12 '14 at 12:38
  • The input encoding of the tex-file is irrelevant. And pdflatex can handle various font encodings. As there is not "e" and "t" in your tfm's it is improbable that your tex document is at faults. It sounds as if something did go seriously wrong during the creation of all the helper files. – Ulrike Fischer Nov 14 '14 at 08:34

1 Answers1

1

As egreg and Ulrike commented, using two greater-than signs

'<<'

got rid of the offending error message that I asked about.

(I still have Problems with using the fonts, but thats due to other Problems - probably with the font files themselves.)

infowanna
  • 583
  • 4
  • 16
  • egreg and Ulrike provided the answer in the comments above- if any up-votes are assigned, click up there. I only noted that their Suggestion(s) worked. – infowanna Nov 13 '14 at 10:32