Cross Platform Font Layout - current workarounds

Richmond richmondmathewson at
Tue Aug 25 04:06:14 EDT 2020

Well: stew my foot and call me "Brenda" . . .

those 2 pictures look extremely similar to me.

I, frankly, never worry about fonts in things like that cross-platform
for the very, very simple reason that I set up the thing the way I want on
the platform I'm working on and import a snapshot of it, so it is exactly
the same wherever it ends up.

That is HowTF  (What do you mean exactly by "How Tin Fridge"?) ;-), I get
things done.

Best, Richmond.

On 25.08.20 0:59, Sean Cole (Pi) via use-livecode wrote:
> Hi Richmond, buddy.
> The font IS embedded. Not a problem using the font itself. It is the same
> physical font on the two platforms. That's not what I'm asking when you
> read past paragraph one.
> HowTF do you get them to show up in the same 'fin place though (ie, the
> pixel placement of the text itself, baseline, etc) from one platform to the
> next?
> Looking at the images and reading the request properly first before
> commenting always helps. ;)
> --
> Side note follow up:
> put fontstyles("Arial",0) - Put that in Windows and Mac messagebox and get
> two different results -- MIND BLOWN! It's 2020 people. This was solved back
> in the 70's, wasn't it? Who's overcomplicating this?
>  From landing page:
> Extremely Multiplatform Now with HTML5
>> Create native applications for iOS, Android, Windows, Mac, Linux, Server &
>> The Web all from the same code.
>> Code once, deploy to billions of devices. LiveCode is a truly
>> multi-platform programming tool with iOS, Android, Mac, Windows, Linux,
>> Server & HTML5 deployment options.
> 'CODE ONCE!' (With a billion workarounds to make it display the same across
> platforms).
> Not exactly what it says on the tin, is it!?!
> Sean Cole
> *Pi Digital *
> On Mon, 24 Aug 2020 at 22:38, Richmond via use-livecode <
> use-livecode at> wrote:
>> How about embedding your fonts in the standalone?
>> On 24.08.20 23:49, Sean Cole (Pi) via use-livecode wrote:
>>> Hi all,
>>> What is the current 'workaround' everyone is using when creating a
>>> cross-platform app to make sure that all text appears the same regardless
>>> of platform? Particularly between Windows and Mac for me at the moment.
>>> My client provided the font they needed in line with their tv show brand.
>>> They need the app to work both PC and Mac. It seems I have to manually go
>>> through each field, button and widget and make sure they are laid out
>>> properly. The left, right, center alignments don't always match and the
>>> vertical position certainly never matches.
>>> (This dates all the way to bug 3076!! Pretty awesome to hold onto a bug
>>> reported back in 2005 for something so basic. Kudos to LC for keeping on
>>> top of it.)
>>> Also, side note, does anyone remember why we STILL have a discrepancy
>>> between fontnames() in Mac and Windows? Not only do the windows fonts
>> show
>>> alphabetically and mac dramatically out of order, but also, the names
>>> themselves are screwed up:
>>>      1. eg, Windows: Helvetica Neue
>>>      2. Mac: Helvetica, Helvetica Bold, Helvetica Bold Oblique, Helvetica
>>>      Light, Helvetica Light Oblique, Helvetica Neue, Helvetica Neue Bold,
>>>      Helvetica Neue Bold Italic, Helvetica Neue Condensed Black,
>> Helvetica Neue
>>>      Condensed Bold, Helvetica Neue Italic, Helvetica Neue Light,
>> Helvetica Neue
>>>      Light Italic, Helvetica Neue Medium, Helvetica Neue Medium Italic,
>>>      Helvetica Neue Thin, Helvetica Neue Thin Italic, Helvetica Neue
>> UltraLight,
>>>      Helvetica Neue UltraLight Italic, Helvetica Oblique
>>>      - eg. Windows: Arial, Arial Rounded MT, Arial Unicode MS
>>>      - Mac: Arial, Arial, Arial Black, Arial Bold, Arial Bold, Arial Bold
>>>      Italic, Arial Bold Italic, Arial Hebrew, Arial Hebrew Bold, Arial
>> Hebrew
>>>      Light, Arial Hebrew Scholar, Arial Hebrew Scholar Bold, Arial Hebrew
>>>      Scholar Light, Arial Italic, Arial Italic, Arial Narrow, Arial
>> Narrow Bold,
>>>      Arial Narrow Bold Italic, Arial Narrow Italic, Arial Rounded MT
>> Bold, Arial
>>>      Unicode MS
>>> This is bonkers for a SDK that purports to make it 'Easy' to make
>>> cross-platform apps.
>>> Thanks all
>>> Sean Cole
>>> *Pi Digital *
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list