How can I use "The New Yorker" font by Allen R. Walden (see Fontspace) in regular LaTeX (not in LuLaTeX or XeLaTeX).

  • 1
    It is a lot of work to create the fd-, tfm-, ... files that are needed. However, what is the reason that you do not want to use lualatex. – user2478 Feb 24 '16 at 7:31
  • 1
    LuLaTex not always works with texmaker and Mac since ugrading to El Capitan – feder80 Feb 24 '16 at 7:41
  • 3
    Please be more specific as to what "not always works" about LuaLaTeX. Do you get error and/or warning messages? If so, what do these messages say? Which version of TeXmaker do you use? – Mico Feb 24 '16 at 8:31
  • Nothing happens. But I think I just found the reason: the path was wrong. no that I have changed it to "/usr/local/texlive/2014/bin/universal-darwin/" it works. So, you would recommend using LuLaTeX? – feder80 Feb 24 '16 at 8:36
  • Whatever else you may do, I strongly recommend you upgrade to MacTeX2015. – Mico Feb 24 '16 at 22:06

There are two ways to do this:

New school

Use autoinst on NEWYORKR.TTF. It creates all the files you need to use the font with (pdf)LaTeX. You can invoke it like this:

autoinst -encoding=T1      \
         -ts1              \
         -noupdmap         \
         -nooldstyle       \
         -noproportional   \
         -nosmallcaps      \
         -noswash          \
         -notitling        \
         -nosuperior       \
         -noinferiors      \
         -nofractions      \
         -noornaments      \
         -target=./Install \
         -verbose          \

Installed properly, you can have the following result:





enter image description here

Old school

Create the afm and pfb files from the ttf-file and use fontinst which is somewhat more complex. You have to write a drv file like:

\input fontinst.sty






and a map generator file like:

\input finstmsc.sty
\input fny-rec.tex

Then you have to run tex on the drv and map files plus:

for filename in *.pl; do pltotf $filename; done
for filename in *.vpl; do vptovf $filename; done

Properly installed, you get:




enter image description here

Next thing would be teach fontinst to grab the write glyphs from the fonts where the name in afm does not match fontinst expectation.

  • Hm, in which folder should I run the code? I have to run it in the Terminal of my Mac, or? – feder80 Feb 25 '16 at 8:20
  • @feder80 - I did it in a temporary folder where I created also a sub-directory ./Install before running the code. I ran it in bash (I'm not on Mac.) – Arash Esbati Feb 25 '16 at 8:50
  • Ok, looks better, but I get some warnings and errors: "otfinfo: verbose: No such file or directory" or "otftotfm: warning: assuming --no-type1 since this font is TrueType-flavored [WARNING] 'otftotfm' returned non-zero; something's wrong! at /Library/TeX/texbin/autoinst line 643." – feder80 Feb 25 '16 at 9:05
  • @feder80 - Sorry, my bad, - is missing before verbose, I've updated my answer. I had the warning as well, it worked anyways. – Arash Esbati Feb 25 '16 at 10:28
  • the installation works now, but in LaTeX I get the following errror: "! LaTeX Error: File `NewYorker.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)" – feder80 Feb 25 '16 at 12:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.