fontSizes bust in 6.0

Jacques Hausser Jacques.Hausser at unil.ch
Tue Apr 16 15:44:18 EDT 2013


Hi Pete,

For ages I was also frustrated by the poor choice of sizes proposed by the text formating inspector, and used the more flexible Text menu… before discovering that if you type a value instead of selecting it, the inspector takes the typed value.
(By the way, the "other…" size in Text menu is broken in 6, but it should be fixed in the next update).

As for the backward compatibility, I'm not absolutely sure (I'm not a collector of old versions), but I suspect that the 9-72 list of sizes was something rather recent. In older versions, as far as I remember, it behaved as described in the dictionary.

Jacques


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

> Hi Jacques,
> Thanks for checking this out.  It might be more logical but it's not
> backward compatible and it's not mentioned anywhere in the release notes
> that I could find - not a good combination!
> 
> I also notice that, for Verdana, the Inspector Text Formatting tab returns
> the "6,8,12,18,24" in both 5.5.4 and 6.0.  Presumably this because the menu
> is scripted to return this set of values for scalable fonts.
> 
> 
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> 
> 
> On Tue, Apr 16, 2013 at 12:58 AM, Jacques Hausser
> <jacques.hausser at unil.ch>wrote:
> 
>> 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
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 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
>> 
> _______________________________________________
> 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

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************





More information about the use-livecode mailing list