[GEM-dev] wolfram mathematica fonts support
IOhannes m zmoelnig
zmoelnig at iem.at
Thu Sep 13 11:39:45 CEST 2007
Patrice Colet wrote:
> Hello,
> I hope I am adressing this mail to the right mailing-list.
>
> I've got problems with finding FTGL compatible math fonts, could you
> help me for adding mathematica fonts support or any other efficient font
> for writing in gemwin the famous Maxwell equations?
hmm, i don't think i can directly help you here (but read on), as Gem
uses specialized libraries to do the font rendering (FTGL), which
currently supports truetype fonts only.
so if you want native support for other fonts, you should do a feature
report at FTGL (so all programs that use this great font rendering
library will benefit from it).
however, you do not necessarily need native support, as you could simply
convert the mathematica fonts into truetype fonts.
afaik (doing a quick google search), mathematica uses PostScript Type1
fonts (.pfa, .pfb).
there are great and free tools out there that can do this, i personally
use fontforge[1].
hint: i had better success in copying the matlab glyphs into the lower
range of an existing font, instead of directly converting the matlab pfa
font into a ttf one (in the latter case, the glyphs will be indexed
according to unicode, which puts them in the range of 65540+; there seem
to be some remaining problems with full unicode support in Gem...)
fmga.sdr
IOhannes
[1] http://fontforge.sourceforge.net/
More information about the GEM-dev
mailing list