Re: How to calculate the font size?



On 04/14/2010 09:57 PM, Magicloud Magiclouds wrote:
> Hi, could someone help me? Pango's maillist seems inactive. Thank you.
> 
> On Wed, Apr 14, 2010 at 3:31 PM, Magicloud Magiclouds
> <magicloud magiclouds gmail com> wrote:
>> Hi, I am not quite familiar with the font thing. Now I have a simple
>> request, I do not know how to meet it:
>> Say I have a background (i.e. a cairo surface) which size was not
>> certain when the function was made, I have to write a "0" at (1%, 3%)
>> with the size of 5%, all % means the size of the actual background.
>> How to do it? Thanks.

Calculate the 5%, use it as your font size?  Make sure you set the absolute
font size.

behdad


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