fontSizes bust in 6.0

Jacques Hausser jacques.hausser at unil.ch
Tue Apr 16 03:58:56 EDT 2013


Hi Peter,

I just compared the fontSizes in 5.5.4 and 6.0.0. 
In 5.5.4, the Fontsizes returns every numbers from 9 to 72, one number per line, for any scalable font. For bitmap fonts, it returns the installed sizes only.
In 6.0.0, the fontSizes returns 0. For bitmap fonts, it returns the installed sizes only.
Now, in BOTH versions, you can very well set the textSize to any other number, say, 128, and the scalable fonts display perfectly well. (the bitmap fonts display an ugly magnified version).
So I think that, since the scalable fonts can be displayed in any size, the 0 is more logical than a truncated size list.

Jacques

Le 16 avr. 2013 à 06:45, Peter Haworth <pete at lcsql.com> a écrit :

> Build 1511 for me.
> 
> Just entered QCC bug#10852
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> 
> 
> On Mon, Apr 15, 2013 at 8:07 PM, stephen barncard <
> stephenREVOLUTION2 at barncard.com> wrote:
> 
>> yes I just saw this on a stack I was working on that worked before..
>> 
>> 6.0 RC-6 Build 1509    -- latest?
>> 
>> this is wrong
>> 
>> 
>> On Mon, Apr 15, 2013 at 5:44 PM, Peter Haworth <pete at lcsql.com> wrote:
>> 
>>> Right, but the exact same command in LC 5.5.x returns a list of font
>> sizes
>>> so one or other is worng.
>>> 
>>> Pete
>>> lcSQL Software <http://www.lcsql.com>
>>> 
>>> 
>>> On Mon, Apr 15, 2013 at 4:29 PM, Jacques Hausser <
>> jacques.hausser at unil.ch
>>>> wrote:
>>> 
>>>> Hy Peter:
>>>> 
>>>> from the dictionary:
>>>> 
>>>> Comments:
>>>> If zero appears in the list returned by the fontSizes function, the
>> font
>>>> is scalable, meaning that it can be displayed at any size supported by
>>> the
>>>> operating system.
>>>> 
>>>> 
>>>> Le 16 avr. 2013 à 01:14, Peter Haworth <pete at lcsql.com> a écrit :
>>>> 
>>>>> OSX 10.7.4, LC 6.0 Commercial or Community.  The fontsizes of a font
>>>> always
>>>>> returns zero.  Anyone else seeing this?
>>>>> Pete
>>>>> lcSQL Software <http://www.lcsql.com>
>>>>> _______________________________________________
>> 
>> Stephen Barncard
>> San Francisco Ca. USA

> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode







More information about the use-livecode mailing list