[OS X TeX] OML encoded virtual fonts (or: text fonts in math mode)

Peter Dyballa Peter_Dyballa at Web.DE
Sat Mar 19 10:24:21 EST 2005

Am 19.03.2005 um 12:40 schrieb Ingo Reich:

> \input fontinst.sty
> \needsfontinstversion{1.926}
> \substitutesilent{bx}{b}
> \substitutesilent{it}{sl}

That's standard, you don't need to set it.

> \setint{slant}{167}

Some fonts have have their own italic angles ...

> \transformfont{ffsr8r}{\reencodefont{8r}{\fromafm{ffsr8a}}} % roman  
> text font
> \transformfont{ffsri8r}{\reencodefont{8r}{\fromafm{ffsri8a}}} % italic  
> text font
> \transformfont{ffsb8r}{\reencodefont{8r}{\fromafm{ffsb8a}}} % bold  
> text font
> \transformfont{ffsro8r}{\slantfont{\int{slant}}\reencodefont{8r}{\froma 
> fm{ffsr8a}}}
> \transformfont{ffsbo8r}{\slantfont{\int{slant}}\reencodefont{8r}{\froma 
> fm{ffsb8a}}}

Since you have already the mtx files made from the afm files it's  
faster to


> Searching the web for helpful documentation wasn't very succesful  
> either. The only interesting reference I found was an article by  
> Thierry Bouche, "Diversity in Math Fonts", who however makes use of  
> .mtx-files he doesn't describe (e.g. zrhax.mtx) and which are not  
> present in my installation of gwtex.

zrhax.mtx can be found within the fontinst_tools-1.8, could be within  
the PSNFSS package too.

> So my question is: Is somebody out there who has some experience with  
> this kind of problem and who can point me (and others interested in  
> this problem) to a possible solution?

Read the log file!

It helps to work stepwise, for example first do the transformations,  
then read the log, then make corrections if necessary and redo, then  
make one \installfont, then read the log file -- and try to understand  
what it's mentioning. There you might find the answer why some glyphs  
are missing. The brackets you mention are in the text font, I think ...  
To check yourself you can pdfTeX the etx files! They're like the dtx  
files ...

> A follow up: If OpenType fonts are installed with the help of Eddie  
> Kohlers LCDF TypeTools, only pfb, vf, and tfm files are generated; but  
> if one wants to use such a text font in math mode, one faces the  
> problem that fontinst presupposes the existence of afm-files. This  
> raises the question whether it is possible to generate adequate  
> afm-files on the basis of LCDF-generated vf- and tfm-files.

Well, since you have the PFB (or PFA) file: why don't you simply invoke  
'printafm ${PFB}.pfb > ${PFB.afm'?!


Der Bezug einer Zeitung oder der Kauf eines Buches gibt niemand das  
Recht, an die Verfasserinnen von Artikeln oder Büchern dreiste Briefe  
zu schreiben. (Friedrich Sieburg)

--------------------- 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 MacOSX-TeX mailing list