Compare two lists (comparing fontName before/after)

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Compare two lists (comparing fontName before/after)

Post by jacque » Fri Mar 30, 2018 8:50 pm

On a second look, Brian's dictionary does sort of work. It takes about 10 seconds to load on my old-ish tablet but that's still faster than the LC web page. The associations pane is one line high but otherwise most of it is there. Here is what I see:
Attachments
Screenshot_20180330-144624.png
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Compare two lists (comparing fontName before/after)

Post by bogs » Sat Mar 31, 2018 7:09 pm

And of course, when I looked at it on the tablet I borrowed, I was holding the tablet width wise :mrgreen:
The main things I noticed during that brief test (no pictures) was that it displayed all the fields, but you could not get the divider to move, and I *think* I could not get the bottom field to scroll.

I do remember it took less time to access on the tablet than the Lc page dictionary takes to access on my main development system, but I don't think I would want to access any pages like that on a regular basis. More power to you tablet and phone users browsing the web, it sure isn't my cup of tea.
Image

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Compare two lists (comparing fontName before/after)

Post by jacque » Sat Mar 31, 2018 7:24 pm

bogs wrote:
Sat Mar 31, 2018 7:09 pm
And of course, when I looked at it on the tablet I borrowed, I was holding the tablet width wise
I did turn the tablet to landscape but got the same display, only it was narrow and didn't fill the screen. It might have been wider if I'd initially opened the page in landscape. The bottom field did scroll for me in either orientation. It's useable as-is though.

There is an Android app in the Play Store that displays the LC dictionary and I use that more often. It has its own issues (it needs to employ native controls and scrollers) but is very fast to load. The disadvantage is that it needs to be updated whenever new dictionary terms are added, but for the most part it's fairly complete and the fastest solution for me so far.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Compare two lists (comparing fontName before/after)

Post by bogs » Sat Mar 31, 2018 7:33 pm

That sounds pretty neat for other tablet users to know about.
Image

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Compare two lists (comparing fontName before/after)

Post by jacque » Sat Mar 31, 2018 7:48 pm

Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Re: Compare two lists (comparing fontName before/after)

Post by jameshale » Sun Apr 01, 2018 12:05 am

How does this compare to Lovelydocs https://play.google.com/store/apps/deta ... lovelydocs which can read the Dash Docset you can create (or download)for Livecode?
I ask as i don’t have a ‘droid device.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Compare two lists (comparing fontName before/after)

Post by jacque » Sun Apr 01, 2018 12:48 am

jameshale wrote:
Sun Apr 01, 2018 12:05 am
How does this compare to Lovelydocs https://play.google.com/store/apps/deta ... lovelydocs which can read the Dash Docset you can create (or download)for Livecode?
I ask as i don’t have a ‘droid device.
I'm not sure, I haven't tried docsets. Now that I have a link I might, it has a nice presentation though it also has mixed reviews. I'll have to hunt down the docset.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Re: Compare two lists (comparing fontName before/after)

Post by jameshale » Sun Apr 01, 2018 12:54 am

Make your own.
Make docset stack on livecodeshare.
Otherwise the current docset sits in the user contributions website.
Getting it to load is a bit od a wiggle though i think.
Mark worked out how, detailed here http://forums.livecode.com/viewtopic.php?f=16&t=29745

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Compare two lists (comparing fontName before/after)

Post by jacque » Sun Apr 01, 2018 1:05 am

Well, it's moot. LovelyDocs has no ability to import user contributions.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Re: Compare two lists (comparing fontName before/after)

Post by jameshale » Sun Apr 01, 2018 1:32 am

Oh. Sorry about that. As i said i don’t have an Android devoce so I couldn’t check.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7227
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Compare two lists (comparing fontName before/after)

Post by jacque » Sun Apr 01, 2018 2:31 am

No worries, I'm sorry too but it was worth a look. Definitely not your fault, and I may try later to see if I can find a workaround.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 346
Joined: Mon Mar 01, 2010 7:13 pm
Location: London, UK
Contact:

Re: Compare two lists (comparing fontName before/after)

Post by thatkeith » Tue Apr 03, 2018 9:59 am

I feel like I'm risking getting a slap now, but it does seem to me that a mobile (iOS and Android) app of the Dictionary would be a great thing for the LC team to produce! I'd have it on the home screen of my iPhone and iPad and I'd probably spend as much time in it as in any other app, including social media.
[ducks]
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist

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

Re: Compare two lists (comparing fontName before/after)

Post by bogs » Tue Apr 03, 2018 4:56 pm

~*SLAP*~
:twisted:
Image

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Compare two lists (comparing fontName before/after)

Post by FourthWorld » Tue Apr 03, 2018 5:09 pm

They already have a web implementation. All they need to do now is fix the CSS so it works the way it's supposed to, across all devices.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1207
Joined: Thu Apr 11, 2013 11:27 am

Re: Compare two lists (comparing fontName before/after)

Post by LCMark » Tue Apr 03, 2018 5:31 pm

Just to comment on revFontLoad and the font-related aspects of this thread...

revFontLoad is deprecated, old, and no longer exists (I think its removed from 9 - having been deprecated for a long time).

Start using font file does exactly the same thing but better - in particular, it causes all font references in the engine to be refreshed after use - so if you have a textFont of a char chunk in a field set to "MySpecialFont", and that font isn't loaded when the stackfile is loaded, it will get updated as soon as 'MySpecialFont' is loaded via start using font file.

In terms of getting info about 'whats in a font' (including the various names - there can be many - localized versions included!) then whilst there isn't any direct engine support for it, you could try using shell() with a command-line too like 'otfinfo' - https://www.lcdf.org/type/.

Post Reply

Return to “Talking LiveCode”