Re: "System" font on Mac - diff between LC 8 and LC 9??

2017-04-12 Thread Bob Sneidar via use-livecode
Seems this is undesirable as a rule. What I do is set the font, size and style 
of the STACK to something, and then if I want the control to match the default 
of the stack, I set font size and style to empty.

Bob S


On Apr 11, 2017, at 20:14 , James Hale via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Could other with a Mac please give this a go to see if my observation is local 
to my machine alone?

Create a new stack in LC8 and place a field.
Open the message box and enter...
 set the htmltext of fld 1 to "this is bold and this is italic"

You should see
 this is bold and this is italic
(assuming the styles survive the emailing)
Now open the PI for the field and click on the FONT tab.
I think by default the font is called "Text" and it is one of the Lc named 
options.
Now change the font to "system".

Do the styles remain visible in the field?

Repeat the above with LC 9

For me...
With LC8 the styles disappear.
With LC9 they don't.



James

___
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


\"System\" font on Mac - diff between LC 8 and LC 9??

2017-04-12 Thread James Hale via use-livecode
So, in LC8 changes were made to the UI font themes and the System font was one 
new addition.
According to the dictionary...
 
 The list of font names includes a set of special-purpose names which
automatically select the matching font for the platform. You can use 
these to request "the font used for buttons" without having to hard-code
platform-specific font names. These fonts are:
- (Text) - the font used for fields and other controls with editable content
- (Menu) - the font used for menu items
- (Message) - the font used for buttons, labels and other communication from 
the app
- (Styled Text) - the font used by default for rich text
- (System) - the font for controls not covered by another category
- (Tooltip) - the font used for displaying tooltips
- (Default) - selects one of the UI fonts automatically based on the control 
type

Given what I am seeing is on the latest MacOS and there seems to be a 
difference between LC8 and LC9 it would seem that as the underlying OS is the 
same LC9 is picking a different font for "System" than LC8.

Judging by f/b this only occurs for MacOS 10.11 or later.

Perhaps LC9 is picking a different font than LC8 which only becomes apparent in 
these later OS's
Perhaps LC9 has a bug and is falling back on some other mechanism to allocate 
the actual font to the "System".

It would probably be good to know, one way or the other in case it reverts or 
breaks again with the next OS release.





___
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


Re: "System" font on Mac - diff between LC 8 and LC 9??

2017-04-12 Thread Richmond Mathewson via use-livecode

LC 8.1.3 (Mac OS 10.7.5):

I get the bold but NOT the italic.

LC 9.0.0 DP 4 (Mac OS 10.7.5:

exactly the same.

Best, Richmond.

On 4/12/17 6:14 am, James Hale via use-livecode wrote:

set the htmltext of fld 1 to "this is bold and this is italic"


___
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


\"System\" font on Mac - diff between LC 8 and LC 9?

2017-04-11 Thread James Hale via use-livecode
Hmm.
Seems this has been sort of noted but no mention is made of the fix.
http://quality.livecode.com/show_bug.cgi?id=17344
___
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


Re: "System" font on Mac - diff between LC 8 and LC 9??

2017-04-11 Thread Colin Holgate via use-livecode
Yes, same here. I’m on 10.12.5, but I imagine it would behave the same on older 
systems.


> On Apr 11, 2017, at 8:14 PM, James Hale via use-livecode 
>  wrote:
> 
> Could other with a Mac please give this a go to see if my observation is 
> local to my machine alone?
> 
> Create a new stack in LC8 and place a field.
> Open the message box and enter...
>set the htmltext of fld 1 to "this is bold and this is 
> italic"
> 
> You should see 
>  this is bold and this is italic
> (assuming the styles survive the emailing)
> Now open the PI for the field and click on the FONT tab.
> I think by default the font is called "Text" and it is one of the Lc named 
> options.
> Now change the font to "system".
> 
> Do the styles remain visible in the field?
> 
> Repeat the above with LC 9
> 
> For me...
> With LC8 the styles disappear.
> With LC9 they don't.
> 
> 
> 
> James
> 
> 
> 
> 
> ___
> 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


___
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

"System" font on Mac - diff between LC 8 and LC 9??

2017-04-11 Thread James Hale via use-livecode
Could other with a Mac please give this a go to see if my observation is local 
to my machine alone?

Create a new stack in LC8 and place a field.
Open the message box and enter...
 set the htmltext of fld 1 to "this is bold and this is 
italic"

You should see 
  this is bold and this is italic
(assuming the styles survive the emailing)
Now open the PI for the field and click on the FONT tab.
I think by default the font is called "Text" and it is one of the Lc named 
options.
Now change the font to "system".

Do the styles remain visible in the field?

Repeat the above with LC 9

For me...
With LC8 the styles disappear.
With LC9 they don't.



James




___
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