Re: CVS: commit msevior abi/src/af/gr/unix gr_UnixPangoGraphics.cpp gr_UnixPangoGraphics.h

From: <msevior_at_physics.unimelb.edu.au>
Date: Wed Jan 03 2007 - 10:50:17 CET

>
>> --- gr_UnixPangoGraphics.h 29 Dec 2006 21:09:28 -0000 1.35
>> +++ gr_UnixPangoGraphics.h 1 Jan 2007 10:54:09 -0000 1.36
>> @@ -460,7 +460,10 @@
>> virtual UT_uint32 getFontAscent(GR_Font *);
>> virtual UT_uint32 getFontDescent(GR_Font *);
>> virtual UT_uint32 getFontHeight(GR_Font *);
>> -
>> + double getResolutionRatio(void)
>> + {
>> + return m_dResRatio;
>> + }
>
> Martin, why was this public method added ?
>

Hi Tomas,
         I needed this to get glyphBox to calculate the correct size font.
It makes AbiMAthView print correctly.

Cheers

Martin

> Tomas
>
>
Received on Wed Jan 3 10:50:34 2007

This archive was generated by hypermail 2.1.8 : Wed Jan 03 2007 - 10:50:34 CET