[OS X TeX] (OT) converting old ps to pdf
Bruno Voisin
bvoisin at mac.com
Thu Dec 21 08:34:19 EST 2006
Le 21 déc. 06 à 12:50, Victor Ivrii a écrit :
> I made an experiment few years ago when our main sever had an "old"
> dvips (dated 1998). If in the chain
>
> tex -> dvi -> ps -> pdf
>
> "old" dvips was used then the completely messed up text layer
> appeared. No matter if I used up-to-date tex or ps2pdf on my Mac.
>
> However if I used dvips on my Mac, then even if I used outdated latex
> or ps2pdf on the server, the result was perfect.
I think this was simply a configuration problem, not a version problem.
In teTeX and TeXLive the use of PS fonts is activated by the switch
dvipsPreferOutline when running updmap; this selects the appropriate
set of map files, referring either to PK fonts or to PS fonts. From /
usr/local/TeXLive/texmf.local/web2c/updmap.cfg:
> # dvipsPreferOutline
> #
> # Should dvips (by default) prefer bitmap fonts or outline fonts
> # if both are available? Independent of this setting, outlines
> # can be forced by putting "p psfonts_t1.map" into a config file
> # that dvips reads. Bitmaps (for the fonts in question) can
> # be forced by putting "p psfonts_pk.map" into a config file.
> # We provide such config files which can be enabled via
> # dvips -Poutline ... resp. dvips -Ppk ...
> #
> # Valid settings for dvipsPreferOutline are true / false:
> dvipsPreferOutline true
and then from /usr/local/TeXLive/bin/powerpc-apple-darwin-current/
updmap:
> ######################################################################
> #########
> # setupSymlinks()
> # set symlink for psfonts.map according to dvipsPreferOutline
> variable
> ######################################################################
> #########
> setupSymlinks()
> {
> rm -f "$dvipsoutputdir/psfonts.map"
> if test "x$dvipsPreferOutline" = xtrue; then
> ln -s psfonts_t1.map "$dvipsoutputdir/psfonts.map"
> else
> ln -s psfonts_pk.map "$dvipsoutputdir/psfonts.map"
> fi
>
> rm -f "$pdftexoutputdir/pdftex.map"
> if test "x$pdftexDownloadBase14" = xtrue; then
> ln -s pdftex_dl14.map "$pdftexoutputdir/pdftex.map"
> else
> ln -s pdftex_ndl14.map "$pdftexoutputdir/pdftex.map"
> fi
> rm -f "$dvipdfmoutputdir/dvipdfm.map"
> if test "x$dvipdfmDownloadBase14" = xtrue; then
> ln -s dvipdfm_dl14.map "$dvipdfmoutputdir/dvipdfm.map"
> else
> ln -s dvipdfm_ndl14.map "$dvipdfmoutputdir/dvipdfm.map"
> fi
> }
In 1998 there was maybe no teTeX yet (I don't know), but the computer
with this 1998 dvips may simply have been configured to prefer PK
fonts, or did not have the PS fonts installed. I'm not even sure the
CM/PS fonts had been made public domain yet; I think that was around
1997, but I'm m not sure.
Bruno
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list