Unix TeX fonts for jsMath
The first thing to try is the following:
(The above procedure was suggest by Richard Gill.)
- Create a directory called
.fontsin your home directory (if you don't already have one).- Place the TTF versions of the TeX fonts in this folder.
- Restart your browser
If that doesn't work, you may be able to get the TTF versions of the TeX fonts to work for you using the following approach:
- Move the
.ttffiles to/usr/X11R6/lib/X11/fonts/TTF- CD to that directory and run '
mkfontscale' and then 'mkfontdir'- Run '
fc-cache' to rebuild the cache- Restart the X server
Mozilla also has a page of instructions for enabling TrueType fonts that might be of some benefit. I haven't had much luck with this, however. Mozilla did find the fonts, but did not accept them since most of them used custom encoders. Perhaps newer versions of Mozilla now handle this. The
cmti10andcmbx10fonts worked OK, but these are rarely used, so don't help much, even though they looked better than the method suggested below.I had better luck using the following Type1 versions of the fonts:
unix-TeX-fonts.tar.gz(164K)You can install these using the following procedure:
- Move the
.pfband.afmfiles to/usr/X11R6/lib/X11/fonts/Type1- CD to that directory and run '
type1inst'- Run '
xset fp rehash'- Test that the fonts are installed using '
xlsfonts | grep cm'This procedure worked for Mozilla for me, but unfortunately, the
cmex10font did not display properly (the characters were all clipped so that only the top of the character showed). Sincecmex10is pretty crucial, this made it pretty worthless. It might be best just to go with the fallback fonts. On the other hand, this was a pretty old version of Mozilla (1.3), so it might work better in current versions.If you don't have write access to the system X11 directory, you can try creating a
~/.fontsdirectory in your home directory, or look in/etc/fonts/fonts.confto see where your system looks for fonts.
|
|