[texhax] Conversion otf -> tfm

Rodolfo Medina rodolfo.medina at gmail.com
Mon Aug 20 13:13:10 CEST 2018


Bob Tennent <rdtennent at gmail.com> writes:

>> autoinst VectoraLTPro-Roman.otf
>> I got the following output...  What now...?
>>
>
> The "I had to round ... " messages are normal.
>
>> otftotfm: warning: `updmap ...  exited with status 1;
>
> updmap should be updmap-sys if you have su privilege or
> updmap-user if you don't. Are you up-to-date with all your
> packages?
>
> Do
>
>   kpsewhich VectoraLTPro.map
>
> and if that file has in fact been installed somewhere, use
> updmap-user or updmap-sys manually with argument
>
>   --enable Map VectoraLTPro.map
>
> I strongly advise you to read the documentation for
> autoinst before using it without any understanding of the
> consequences. I never use it without options -target and
> -noupdmap.


Thanks...  I used it as normal user so that no damage can occur...  kpsewhich
found the file:

$ kpsewhich VectoraLTPro.map
/home/rodolfo/texmf/fonts/map/dvips/VectoraLTPro/VectoraLTPro.map

Then updmap installed more files:

$ updmap-user --enable Map VectoraLTPro.map
updmap will read the following updmap.cfg files (in precedence order):
  /usr/share/texmf/web2c/updmap.cfg
  /usr/share/texlive/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
  /home/rodolfo/.texlive2018/texmf-config/web2c/updmap.cfg
Creating new config file /home/rodolfo/.texlive2018/texmf-config/web2c/updmap.cfg
dvips output dir: "/home/rodolfo/.texlive2018/texmf-var/fonts/map/dvips/updmap"
pdftex output dir: "/home/rodolfo/.texlive2018/texmf-var/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/home/rodolfo/.texlive2018/texmf-var/fonts/map/dvipdfmx/updmap"

updmap is creating new map files
using the following configuration:
  LW35 font names                  : URWkb (default)
  prefer outlines                  : true (default)
  texhash enabled                  : true
  download standard fonts (dvips)  : true (default)
  download standard fonts (pdftex) : true (default)
  jaEmbed replacement string       : noEmbed (default)
  jaVariant replacement string     : <empty> (default)
  scEmbed replacement string       : noEmbed (default)
  tcEmbed replacement string       : noEmbed (default)
  koEmbed replacement string       : noEmbed (default)
  create a mapfile for pxdvi       : false (default)

Scanning for LW35 support files  [  3 files]
Scanning for MixedMap entries    [ 23 files]
Scanning for KanjiMap entries    [  0 files]
Scanning for Map entries         [232 files]

Generating output for dvipdfmx...
Generating output for ps2pk...
Generating output for dvips...
Generating output for pdftex...

Files generated:
  /home/rodolfo/.texlive2018/texmf-var/fonts/map/dvips/updmap:
       15802 2018-08-18 14:22:01 builtin35.map
       21275 2018-08-18 14:22:01 download35.map
     2530336 2018-08-18 14:22:04 psfonts_pk.map
     2550844 2018-08-18 14:22:03 psfonts_t1.map
     2550839 2018-08-18 14:22:01 ps2pk.map
          14 2018-08-18 14:22:08 psfonts.map -> psfonts_t1.map
  /home/rodolfo/.texlive2018/texmf-var/fonts/map/pdftex/updmap:
     2550846 2018-08-18 14:22:08 pdftex_dl14.map
     2549181 2018-08-18 14:22:06 pdftex_ndl14.map
          15 2018-08-18 14:22:08 pdftex.map -> pdftex_dl14.map
  /home/rodolfo/.texlive2018/texmf-var/fonts/map/dvipdfmx/updmap:
         325 2018-08-18 14:21:59 kanjix.map

*************************************************************
*                                                           *
* WARNING: you are switching to updmap's per-user mappings. *
*            Please read the following explanations.        *
*                                                           *
*************************************************************

You have run updmap-user (as opposed to updmap-sys) for the first time; this
has created configuration files which are local to your personal account.

Any changes in system map files will *not* be automatically reflected in
your files; furthermore, running updmap-sys will no longer have any
effect for you.  As a consequence, you have to rerun updmap-user yourself
after any change in the system directories; for example, if a new font
package is added.

See http://tug.org/texlive/scripts-sys-user.html for details.

If you want to undo this, remove the files mentioned above.

(Run updmap --help for full documentation of updmap.)

Transcript written on "/home/rodolfo/.texlive2018/texmf-var/web2c/updmap.log".
updmap: Updating ls-R files.


Then I ran autoinst once again:


$ autoinst VectoraLTPro-Roman.otf 
I had to round some heights by 0.0030003 units.
I had to round some heights by 0.0075006 units.
I had to round some depths by 0.0015001 units.
I had to round some heights by 0.0075006 units.
I had to round some depths by 0.0010004 units.
I had to round some heights by 0.0150003 units.
I had to round some depths by 0.0025005 units.
I had to round some heights by 0.0150003 units.
I had to round some depths by 0.0025005 units.
I had to round some heights by 0.0030003 units.
I had to round some heights by 0.0030003 units.
I had to round some heights by 0.0075006 units.
I had to round some depths by 0.0015001 units.
I had to round some heights by 0.0075006 units.
I had to round some depths by 0.0010004 units.
I had to round some heights by 0.0150003 units.
I had to round some depths by 0.0025005 units.
I had to round some heights by 0.0150003 units.
I had to round some depths by 0.0025005 units.
I had to round some heights by 0.0075006 units.
I had to round some depths by 0.0015001 units.
I had to round some heights by 0.0075006 units.
I had to round some depths by 0.0010004 units.
I had to round some heights by 0.0030003 units.
I had to round some heights by 0.0075006 units.
I had to round some depths by 0.0015001 units.
I had to round some heights by 0.0075006 units.
I had to round some depths by 0.0010004 units.
I had to round some heights by 0.0150003 units.
I had to round some depths by 0.0025005 units.
I had to round some heights by 0.0150003 units.
I had to round some depths by 0.0025005 units.
otftotfm: warning: ‘updmap --nomkmap --enable Map VectoraLTPro.map >/dev/null 2>
otftotfm: warning: run it manually to check for errors


Finally,

$ tex test
This is TeX, Version 3.14159265 (TeX Live 2019/dev/Debian) (preloaded format=tex
(./test.tex [1] )
Output written on test.dvi (1 page, 280 bytes).
Transcript written on test.log.


$ xdvi test
xdvi.bin: Warning: Checksum mismatch (dvi = 3098173206, vf = 2401169051) in fontman.vf

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 VectoraL
mktexpk: don't know how to create bitmap font for VectoraLTPro-Roman--base.
mktexpk: perhaps VectoraLTPro-Roman--base is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
xdvi: Can't find pixel font VectoraLTPro-Roman--base; using cmr10 instead at 600


What now...?

Thanks,

Rodolfo



More information about the texhax mailing list