[Cairo] Re: [xsvg] cairo_text_extents ?

John Ellson ellson at research.att.com
Tue Dec 2 17:00:24 PST 2003


Bill Spitzak wrote:

>On Wednesday 26 November 2003 11:41 pm, Christof Petig wrote:
>  
>
>>Bill Spitzak schrieb:
>>    
>>
>>>I have gotten zero response to my proposal that there be two matricies,
>>>so that the y_advance can be defined as zero, and the user can choose
>>>exaclty what coordinate system the metricies are returned in. Has anybody
>>>read it? Is it a stupid idea, or why isn't anybody saying anything?
>>>      
>>>
>>I had some difficulties understanding your exact proposal.
>>    
>>
>
>There are two 2x2 matricies: the text_matrix, and the font_matrix. Font 
>glyphs are transformed by the concatenation of these matrices before being 
>drawn.
>  
>

Bill, your proposal for two matrixes sounds quite reasonable.  The part I'm
having trouble understanding is how your proposal differs from the code
currently in Cairo.   From my recent reading of the code to implement
text_extents, there are already two matricies.

John





More information about the cairo mailing list