[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSAttributedString size
From: |
Stéphane Goujet |
Subject: |
Re: NSAttributedString size |
Date: |
Wed, 20 Apr 2005 13:33:59 +0300 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Jonathan Isom a écrit :
>>1st, without attributes ;
>>2nd, with a font attribute, which should be the same as the default
>> one used in the 1st case ;
>>3rd, with a font attribute, the size of which is twice as big.
>>----------------- Linux-ppc/GNUstep results ----------------------
>>astr size: w=16564.000000, h=14.000000
>>astra H12 size: w=16564.000000, h=14.000000
>>astra H24 size: w=5666.000000, h=27.000000
>>------------------------- Cocoa results --------------------------
>>astr size: w=56.000000, h=15.000000
>>astra H12 size: w=56.000000, h=15.000000
>>astra H24 size: w=112.030998, h=30.000000
> What version of gnustep are you using?
The versions I use :
make 1.10.0
base 1.10.1
gui 0.9.4
back 0.9.4
But I tried at home, on a computer that has the same GNUstep
versions, and got good results :
----------------- Linux-x86/GNUstep ---------------
astr size: w=57.000000, h=14.000000
astra H12 size: w=57.000000, h=14.000000
astra H24 size: w=118.000000, h=27.000000
So, could it be that I am missing fonts (on my Linux-ppc setup) or
something like that ?
> here is what i get on 5 day cvs:
> --------------------------
> astr size: w=61.000000, h=14.000000
> astra H12 size: w=56.000000, h=18.000000
> astra H24 size: w=112.000000, h=36.000000
> --------------------------
It is better than my Linux-ppc results, but there is something
strange in your results too : lines 1 and 2 should display same results
because Helvetica 12 points is the default font.
Goodbye,
Stéphane.