Table Text Livecode vs .....
Terence Heaford
theaford at btinternet.com
Wed Dec 18 03:00:17 EST 2019
The setAllowsFontSmoothing function states
"Font are smoothed if they are antialiased when drawn and if font smoothing is both allowed and enabled. For information on how to enable font smoothing, see the setShouldSmoothFonts(_:) <https://developer.apple.com/documentation/coregraphics/cgcontext/1455816-setshouldsmoothfonts> function. It is not usually necessary to make changes to both parameters at the same time; either can be used to disable font smoothing.”
I have the "use font smoothing when available" checkbox ticked in the General Preferences. The above suggests that LC does not have these settings enabled.
As I said previously a user function to set this would be beneficial I believe.
What about it mothership?
I wonder if there would be a performance hit for providing this functionality?
Thanks
Terry
> On 18 Dec 2019, at 03:39, Pi Digital via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> This to do with the sharpness setting for the fonts. If you have Photoshop you have the ability to set the levels of this in the character parameters. The same principle is available to Mac developers in font smoothing. This adds levels of clarity to the fill of the typeface. Here’s Apples guide:
>
> https://developer.apple.com/documentation/coregraphics/cgcontext/1454767-setallowsfontsmoothing
>
> There’s listed there other parameters that play a part like quantisation and smoothing.
>
> So LC and FM just use differing methods. But they’re not far off each other.
>
> I’m currently upgrading a stack from 5.0.2 up to 9.5 and the text difference is far more distinct. I’m assuming this is to do with Unicode. So be thankful your issue is not nearly as tiresome requiring the reformatting of every card in a humungous stack like the one I’m dealing with!
>
> All the best.
>
> Sean Cole
> Pi Digital Prod Ltd
>
>> On 17 Dec 2019, at 19:23, Terence Heaford via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> Firstly I have an iMac, none retina.
>>
>> 1. Just checked Pages & Numbers and they both appear similar to LC.
>>
>> 2. Then checked TextEdit and that appears the same as Filemaker.
>>
>> The rendering of the text in Filemaker & TextEdit appears to my poor eyesight to be more black (if that is possible).
>> My poor eyesight is the reason I notice this in the first place, because I have the same database in both LC & Filemaker.
>> I prefer the scripting of LC to Filemaker but the display of the same table is much clearer in Filemaker for the same font (more blackness).
>>
>> Perhaps there is an anti alias setting or such like, that has not been implemented in LC.
>>
>> If so it would be good to get that option?
>>
>> There used to be (not sure if it’s there now) a terminal command
>>
>> defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
>>
>> and probably others for this sort of thing. Perhaps they have to be implemented in app.
>>
>>
>>
>> Thanks
>>
>> Terry
>>
>>
>>
>>> On 17 Dec 2019, at 17:54, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>
>>> 9.5.1 RC1
>>>
>>>>> On Dec 17, 2019, at 09:14 , Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>>
>>>> What version of LiveCode are you using.
>>>>
>>>> Older releases did not support the Retina display, but newer releases do.
>>>
>>>
>>> _______________________________________________
>>> 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
More information about the use-livecode
mailing list