freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Noob Unable to get glyph data for MathML fonts


From: Ken Tilton
Subject: [ft] Noob Unable to get glyph data for MathML fonts
Date: Wed, 05 Dec 2007 01:02:46 -0500
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Hi, I am trying to use glyph data to do precise arrangement of mathematical expressions. I have code that successfully gets character indexes and glyphs and character-specific data and all that for ordinary non-math fonts such as Times and Comic Sans, but when I go after something like math2___.ttf (which has the symbols I need), FT_get_char_index returns zero for all char codes I pass it. I am rendering these symbols OK, I just cannot get the metrics I need to pick out the, say, radical of the best size for the contained expression and then align that expression under the radical.

I poked around the doc quite a bit but did not see anything, but then I am a total FT noob so it might have gone right over my head.

Any help/hints appreciated.

kt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]