[OS X TeX] Two problems with Lucida Bright fonts on Mac Tex

Bruno Voisin bvoisin at mac.com
Wed Sep 19 18:59:12 EDT 2007

Le 19 sept. 07 à 23:53, Gordon Sick a écrit :

> I've the Y&Y lucida bright fonts. I reinstalled the OS on a new  
> drive on my machine, which means I wiped out all my old usr  
> directories of Tex and Latex.
> [...] I followed his steps 2 and 3, installing the fonts to my  
> local texmf, which is ~/Library/texmf/tex/latex/
> I've installed TexLive from the dmg file and I used Gerben's i- 
> Installer to reinstall gwTex. Here are my problems:
> 1.	Switching to TexLive with the System control panel, I can  
> typeset the sample document lucida-sample.tex, which is in the CTAN  
> documentation folder for lucida. The only problem is that it does  
> not give me the small caps examples. They are plain roman text,  
> instead. The pdf file with the CTAN distribution clearly shows  
> small caps and I do have the pfm files for small caps in
> ~/Library/texmf/fonts/type1/bh/lucida/lbrsc.pfm
> ~/Library/texmf/fonts/type1/bh/lucida/lbrsc.pfb

Things sound like you did not use updmap with the correct invocation.  
Given the fonts are installed in your home directory, and given you  
use gwTeX whose default is to create global map files system-wide  
(since by default gwTeX makes updmap equivalent to updmap-sys by  
setting GWTEXVAR to VARTEXMF in /usr/local/gwTeX/texmf.cnf), then I  
think the correct invocation is "sudo updmap-sys", yielding:

sudo updmap-sys --nomkmap --syncwithtrees
sudo updmap-sys --nomkmap --enable Map lucida.map
sudo updmap-sys --nomkmap --enable Map lucidabr-o.map
sudo updmap-sys --nomkmap --enable Map lumath-o.map
sudo updmap-sys

Since you have experimented a bit and may have created a malformed  
updmap.cfg file in the process, you may meet, after any of the above  
instruction, a message telling no map file has been recreated since  
updmap.cfg has not changed. This would arise for example when running

sudo updmap-sys --enable Map lucida.map

and failing because updmap.cfg would include already the line  

Map lucida.map

but for some reason this line would not have been taken into account  
when creating psfonts.map.

In that case, first run updmap with the disable option, to comment  
out the line

Map lucida.map

in updmap.cfg, and then enable the font again so that (1) updmap.cfg  
is updated and (2) the updated updmap.cfg is taken into account when  
creating immediately afterwards global map files such as psfonts.map.

In the above example that would mean:

sudo updmap-sys --disable lucida.map
sudo updmap-sys --enable Map lucida.map

Hope this helps,

Bruno Voisin
------------------------- 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