William L. Hartzell wrote:
> 
> I always wonder about this.  What is needed that GpiQueryFontMetrics
> does not provide?  It is true that you must get the information in the
> context of a presentation device and the desired point size.  The system
> then should return the fontmetrics structure with the information, no?

You can query the average or maximum size of the characters in a font,
but MathML needs to know the specific dimensions of each
character/symbol to lay out a mathematical expression or formula
properly. It would take something like a GpiQueryFontCharacter(font,
pointsize, character) that returned a (or pointer to a) fontmetrics-like
struct containing the values for the specified character. 

h~

Reply via email to