That being the case, it would be nice if the fontStyles function worked. Currently, no matter what font you input it always shows the same result, even if the font does not have the variant:

plain
bold
italic
bold-italic

I did file a bug report almost a year ago - Bug 10650

Marty Knapp
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.




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

Reply via email to