True Text Justification

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

True Text Justification

Post by ValiantCuriosity » Wed Apr 03, 2019 11:34 pm

True text justification has been a requested feature since at least 2014. (I saw one dead link that related to 2007)
https://forums.livecode.com/viewtopic.p ... on#p102517

I've tried using HTML5 and an inline style for text justification. That doesn't seem to work in LC. Maybe I'm missing something as usual, but I am having a hard time understanding what would keep a justification feature out of the text "A" tab of LC.

I've seen the stack example from 2014 as a solution of a way to justify text. It makes my brain hurt. :shock:

Please, LC developers, consider adding this feature to LC. I know that you are busy, but is this feature really that hard to implement? Even if you could just implement it in html5/css.

Thank you again for your consideration,
-Rachel
May I never be cured of my curiosity! :D

capellan
Posts: 609
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: True Text Justification

Post by capellan » Thu Apr 04, 2019 2:29 am

Hi Rachel,

The Skia Graphics Engine used by LiveCode
does not support natively text justification:
https://docs.microsoft.com/en-us/dotnet ... arp-1.68.0
https://skia.org/user/tips#kerning

but, Google has plans to include this feature and
many others in future releases:
https://groups.google.com/forum/#!topic ... RARbUW2qhw

By the way, Dave Kilroy's stack works fine on Mac,
if we make the fields a bit wider.

Al

ValiantCuriosity
Posts: 128
Joined: Thu Jun 30, 2016 3:08 am

Re: True Text Justification

Post by ValiantCuriosity » Thu Apr 04, 2019 2:46 am

Thanks for the reply Al. @capellan

That is interesting about the LC engine. I'm actually looking at text justification to go with iOS and Android. I like the look of it in my App's description area. Just seems cleaner for my purposes. I guess, for now, I'll just go with the ragged edges. I'm really just learning and trying things out anyway.

Would this LC engine issue also preclude using the Html/css styling feature of text align? I'm just curious and post questions that probably don't have a lot to do with what most people want or need. Fun to learn things though.

-Rachel
May I never be cured of my curiosity! :D

bogs
Posts: 3710
Joined: Sat Feb 25, 2017 10:45 pm

Re: True Text Justification

Post by bogs » Thu Apr 04, 2019 12:50 pm

Heya Rachel,

I asked you this before, and since I'm pretty sure your using the newer versions of Lc, I'll ask again.

For what your describing, why not use the browser widget? I am pretty sure it works on mobile (doesn't it? Maybe someone else knows for sure).

You could put anything you want that is html in it, and it will display just like what you are asking about.
Selection_001.png
Old sckool html 4 baby!
Image

Post Reply

Return to “Feature Requests”