[OS X TeX] [tetex] Howto enable Type1 fonts for pdftex?
Martin Buchmann
Martin.Buchmann at uni-jena.de
Tue Oct 26 10:56:57 CEST 2004
Gerben,
thanks for bringing light in the MixedMap
darkness ;-) I'll try to give more informations
on what i did this time. First, here's a minimal
example showing what i did so far in LaTeX:
<--- fonts-test.tex --->
\documentclass{article}
\usepackage[applemac]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\renewcommand{\familydefault}{bsb}\normalfont
\begin{document}
Test ÄÖÜß
\end{document}
<--- eof --->
This leads to the following output on the iTeXMac console:
<--- LaTeX.pMacTeX --->
#
#
################## - Compiling fonts-test
# CUSTOM
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
output format initialized to PDF
entering extended mode
(./fonts-test.tex
LaTeX2e <2003/12/01>
Babel <v3.8c> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/inputenc.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/applemac.def))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/fontenc.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/t1enc.def))
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.sty
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/germanb.ldf
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.def)))
(/Users/Martin/Library/texmf/tex/latex/Sabon/t1bsb.fd) (./fonts-test.aux)
[1{/usr/local/teTeX/share/texmf.local/fonts/map/dvips/config/pdftex.map}]
(./fonts-test.aux)kpathsea: Running mktexpk
--mfmode / --bdpi 600 --mag 1+0/600 --dpi 600
bsbr0
mktexpk: don't know how to create bitmap font for bsbr0.
kpathsea: Appending font creation commands to missfont.log.
)
Warning: pdflatex (file bsbr0): Font bsbr0 at 600 not found
Output written on fonts-test.pdf (1 page, 1028 bytes).
Transcript written on fonts-test.log.
# compileMaker OK
<--- eof --->
The output of the updmap run is:
metallw08:~ Martin$ sudo updmap --enable Map bsb.map
using config file /sw/var/lib/texmf/web2c/updmap.cfg
using output directory /sw/var/lib/texmf/dvips/config
updmap is creating new map files using the following configuration:
prefer outlines: true
texhash enabled: true
download standard fonts (dvips): false
download standard fonts (pdftex): false
download standard fonts (dvipdfm): false
Scanning for LW35 support files
using map file `/sw/share/texmf/dvips/tetex/dvips35.map'
using map file `/sw/share/texmf/dvips/tetex/pdftex35.map'
using map file `/sw/share/texmf/dvips/tetex/dvipdfm35.map'
using map file `/sw/share/texmf/dvips/tetex/ps2pk35.map'
Scanning for MixedMap entries:
using map file `/Users/Martin/Library/texmf/dvips/config/bfr.map'
using map file `/Users/Martin/Library/texmf/dvips/config/bgs.map'
using map file `/sw/share/texmf/dvips/tetex/bsr-interpolated.map'
using map file `/sw/share/texmf/dvips/tetex/bsr.map'
using map file `/sw/share/texmf/dvips/cc-pl/ccpl.map'
updmap: map file `cm-super-t1.map' not found.
updmap: map file `cm-super-t2a.map' not found.
updmap: map file `cm-super-t2b.map' not found.
updmap: map file `cm-super-ts1.map' not found.
using map file `/sw/share/texmf/dvips/misc/cs.map'
using map file `/sw/share/texmf/dvips/misc/eurosym.map'
using map file `/sw/share/texmf/dvips/tetex/hoekwater.map'
using map file `/sw/share/texmf/dvips/pl/pl.map'
using map file `/sw/share/texmf/dvips/tetex/ttcmex.map'
using map file `/Users/Martin/Library/texmf/dvips/config/ul9.map'
Scanning for Map entries:
using map file `/sw/share/texmf/dvips/antp/antp.map'
using map file `/sw/share/texmf/dvips/antt/antt.map'
using map file `/Users/Martin/Library/texmf/dvips/config/bsb.map'
using map file `/sw/share/texmf/dvips/psnfss/charter.map'
using map file `/sw/share/texmf/dvips/misc/cmcyr.map'
using map file `/sw/share/texmf/dvips/config/context.map'
using map file `/sw/share/texmf/dvips/tetex/lucidabr-o.map'
using map file `/sw/share/texmf/dvips/lucida/lucidabr.map'
using map file `/sw/share/texmf/dvips/tetex/lumath-o.map'
using map file `/sw/share/texmf/dvips/lucida/lumath.map'
using map file `/sw/share/texmf/dvips/misc/marvosym.map'
using map file `/sw/share/texmf/dvips/misc/mathpi.map'
using map file `/sw/share/texmf/dvips/tetex/mathpple.map'
using map file `/sw/share/texmf/dvips/tetex/mt-plus.map'
using map file `/sw/share/texmf/dvips/tetex/mt-yy.map'
using map file `/sw/share/texmf/dvips/omega/omega.map'
using map file `/sw/share/texmf/dvips/psnfss/pazo.map'
using map file `/sw/share/texmf/dvips/tetex/pxfonts.map'
using map file `/sw/share/texmf/dvips/qfonts/qbk.map'
using map file `/sw/share/texmf/dvips/qfonts/qcr.map'
using map file `/sw/share/texmf/dvips/qfonts/qhv.map'
using map file `/sw/share/texmf/dvips/qfonts/qpl.map'
using map file `/sw/share/texmf/dvips/qfonts/qtm.map'
using map file `/sw/share/texmf/dvips/qfonts/qzc.map'
using map file `/sw/share/texmf/dvips/tetex/txfonts.map'
using map file `/sw/share/texmf/dvips/xypic/xypic.map'
texhash: Updating /Users/Martin/Library/texmf/ls-R...
texhash: Updating /sw/share/texmf-local/ls-R...
texhash: Updating /sw/var/lib/texmf/ls-R...
texhash: Updating /sw/share/texmf/ls-R...
texhash: Done.
Files generated in /sw/var/lib/texmf/dvips/config:
-rw-r--r-- 1 root admin 8985 26 Okt 10:23 builtin35.map
-rw-r--r-- 1 root admin 13102 26 Okt 10:23 download35.map
lrwxr-xr-x 1 root admin 17 26 Okt 10:23 dvipdfm.map -> dvipdfm_ndl14.map
-rw-r--r-- 1 root admin 15576 26 Okt 10:23 dvipdfm_dl14.map
-rw-r--r-- 1 root admin 16203 26 Okt 10:23 dvipdfm_ndl14.map
lrwxr-xr-x 1 root admin 16 26 Okt 10:23 pdftex.map -> pdftex_ndl14.map
-rw-r--r-- 1 root admin 49796 26 Okt 10:23 pdftex_dl14.map
-rw-r--r-- 1 root admin 48222 26 Okt 10:23 pdftex_ndl14.map
-rw-r--r-- 1 root admin 50945 26 Okt 10:23 ps2pk.map
lrwxr-xr-x 1 root admin 14 26 Okt 10:23 psfonts.map -> psfonts_t1.map
-rw-r--r-- 1 root admin 28348 26 Okt 10:23 psfonts_pk.map
-rw-r--r-- 1 root admin 46834 26 Okt 10:23 psfonts_t1.map
As you can see the map file
`/Users/Martin/Library/texmf/dvips/config/bsb.map'
is found and scanned. I'm wondering now what kind
of syntax a map file has to have to be scanned
correctly. I just copied the map file from CTAN
to my local texmf tree. If i run latex and dvips
manually everything's fine, that means that the
right fonts are embedded in the ps file:
metallw08:~/Documents Martin$ dvips fonts-test.dvi -o fonts-test.ps
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2004.10.26:1042' -> fonts-test.ps
<texc.pro><texps.pro>. <bsbr.pfb>[1]
The map file looks like this:
<--- bsb.map --->
bsbr0 ClassicalGaramondBT-Roman <bsbr.pfb
bsbro0 ClassicalGaramondBT-Roman " .167 SlantFont " <bsbr.pfb
bsbri0 ClassicalGaramondBT-Italic <bsbri.pfb
bsbb0 ClassicalGaramondBT-Bold <bsbb.pfb
bsbbo0 ClassicalGaramondBT-Bold " .167 SlantFont " <bsbb.pfb
bsbbi0 ClassicalGaramondBT-BoldItalic <bsbbi.pfb
<--- eof --->
So, what do i have to do to make updmap doing its
job? I'm using the expert TL2004 installation
from i-Installer now but nothing has changed
compared with the old installation.
Best regards
Martin
--
The best part about hating people is that i never run out of great ideas.
-- Dogbert -> http://www.dilbert.com
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list