Cross-platform font handling, and why you don't want to do it
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Sep 7 11:50:02 EDT 2022
After I start using the font files I added a line to wait 10 ticks with messages. Same thing. I came up with a workaround though. If I set the rect of an object to it's current rect it forces a redraw. Curiously, if I set the rect of the entire stack to it's current rect it does NOT force a redraw.
Bob S
> On Sep 6, 2022, at 16:32 , Neville Smythe via use-livecode <use-livecode at lists.runrev.com> wrote:
>
>
> Bob Sneider wrote:
>> The fonts do not get included in a MacOS standalone
>
>
> embedding fonts in a Mac standalone worked fine for me. Have you checked that the fonts are actually in <yourApp>/Contents/Resources/_MacOS/ and your file path when loading is correct
>
> On the IDE problem
>> when I quit Livecode, then relaunch it and open the stack, all the text of the labels appear out of alignment!
>
> sounds like a timing problem about what resources are available when LiveCode launches and your stack gets to do its font loading (in a pre-open stack handler?) and that the timing on Windows launch is just different.
>
> Neville Smythe
>
>
>
>
> _______________________________________________
> 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