textStyle and Italic

J. Landman Gay jacque at hyperactivesw.com
Fri Dec 12 13:24:53 EST 2014


On 12/12/2014, 8:12 AM, Terence Heaford wrote:
> LC Community 6.7.1 (RC3) OSX Yosemite
>
> Created a new project to test and placed a text entry field on it.
>
> Changed textFormat to Lucida Grande, 14, Italic.
>
> Entered text and it was not Italic despite the property inspector
> saying it was Italic.
>
> Is there a bug?

No, it's a change in how fonts are rendered. See the release notes for 
version 6.7:

It's worth noting that the previous OS X routines used synthesised font 
styles. That is, bold and italic styles were emulated (by slanting or 
thickening) if the font being rendered was not bold or italic. This is 
not the case for the new routines. If there is not a font present on the 
system with the given style, the plain alternative will be used.
The is the case with the default font - Lucida Grande. By default, 
systems only come with the bold variant. Thus, if you have a field with 
the default font and italic style, it will be rendered in plain style.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list