AW: What has changed in MacOS 10.12 in handling code pages?
Tiemo Hollmann TB
toolbook at kestner.de
Wed Jan 18 02:58:53 EST 2017
Hi Kay C,
Good guess, but it's a stack with the old standard LC font Tahoma, which was
installed on my machine with OS X 10.11 and still is installed in 10.12. The
issue also occurs in answer dialogs, where I havn't (can't) explicitely set
the font.
And the problem only occurs in standalones of <= 2013. The same program
compilied with one of the next versions of >= 2014 looks fine, without
having changed anything with fonts. So the issue is solved for my current
development, but is a great annoyance for all my customers out there with
old versions, because this bug makes my program unusable for all of them.
Tiemo
-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von Kay C Lan via use-livecode
Gesendet: Mittwoch, 18. Januar 2017 06:25
An: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: Kay C Lan <lan.kc.macmail at gmail.com>
Betreff: Re: What has changed in MacOS 10.12 in handling code pages?
I was thinking that this might have something to do with the installed fonts
you have and maybe some sort of substitution if the font you used with your
pre-10.12 install is not available with your new install.
Interestingly I've just done a test and got a rather unusual result when
trying to test this theory.
In LC 6.6.5 on OS X 10.11.6 I created a new stack, dragged a field onto it
(i.e. no font specified for the field) and then in the msg
box:
put the effective textFont of field 1
--the result is 'Lucidia Grande'
In LC 9.0.0 dp4 on the same machine if I do the same thing the result is
'(Text)'
If I go into the LC 9 Object Inspector to set the Font of the newly created
field there are a bunch of entries at the top, which you don't get in 6.6.5,
like:
(Default)
(System)
(Text)
(Styled Text)
If I choose a specific font then understandably doing:
put the effective textFont of field 1
-- result is whatever specific font I've chosen.
In the Dictionary the LC6 entry differs from the LC9 entry but both contain
this statement:
On Mac OS systems, if the specified font isn't available, the system font
(which is set in the Appearance control panel and specifies the font used
for menus) is used.
I think that is an old reference to the Classic OS as there is no such thing
as an Appearance Control Panel anymore and you can't set the font of menus.
I'm still leaning towards what fonts you have installed, maybe 10.12 handles
substitution differently than 10.11 and earlier. And somewhere along the way
LC has changed the way it handles and reports situations where no font is
specified - as there are obviously now more default possibilities and the
Dictionary doesn't explain how you might end up with (Default) as opposed to
(Text)
_______________________________________________
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