kohler / lcdf-typetools

Utilities for manipulating OpenType, PostScript Type 1, and Multiple Master fonts.
GNU General Public License v2.0
146 stars 18 forks source link

updmap-sys (not updmap) now required by texlive 2017 #15

Closed jowens closed 5 years ago

jowens commented 7 years ago

texlive2017 evidently removes support for updmap, instead requiring either updmap-sys or updmap-user. ("These scripts work in one of two modes: user or sys(tem) mode. If no mode is specified, a warning is printed. (This is as of TeX Live 2017, when the -user variants were created; before that, the script name without a suffix was the user variant.)" http://tug.org/texlive/scripts-sys-user.html) How can I get otftotfm -a to call that?

otftotfm -a -e texnansx --typeface "adobetext" --vendor "adobe" "AdobeTextPro-Regular.otf" -flnum -fkern -fliga  LY1-AdobeTextPro-Regular-lnum-kern-liga
I had to round some heights by 19.0000000 units.
I had to round some depths by 5.0000000 units.
I had to round some heights by 19.0000000 units.
I had to round some depths by 5.0000000 units.
otftotfm: warning: 'updmap --nomkmap --enable Map adobe.map >/dev/null 2>&1; updmap >/dev/null 2>&1' exited with status 1;
otftotfm: warning: run it manually to check for errors
texhash: /opt/local/etc/texmf: directory not writable. Skipping...
texhash: /opt/local/share/texmf: directory not writable. Skipping...
texhash: /opt/local/share/texmf-local: directory not writable. Skipping...
texhash: /opt/local/share/texmf-texlive: directory not writable. Skipping...
texhash: /opt/local/var/db/texmf: directory not writable. Skipping...
texhash: Done.
updmap [ERROR]: Either -sys or -user mode is required.
updmap [ERROR]: In nearly all cases you should use updmap -sys.
updmap [ERROR]: For special cases see http://tug.org/texlive/scripts-sys-user.html
kohler commented 5 years ago

It should now default to updmap-sys, thanks for the report.