Re: Stylistic question.

2022-09-05 Thread Geoff Canyon via use-livecode
On Thu, Sep 1, 2022 at 10:32 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I will however ask for just one enhancement: If I am filtering the list and have an item or items selected, and then I clear the filter, it also clears the selection. It would be great if the sele

Re: Standardize Font Appearance

2022-09-05 Thread Neville Smythe via use-livecode
I agree Quentin, trying to make text appear exactly the same on all platforms is a fools errand. That however is not the main point of the exercise, at least for me. When designing an apps interface, it would be good to know that (at least static) text items will (probably) appear in the same f

Re: Cross-platform font handling, and why you don't want to do it

2022-09-05 Thread Bob Sneidar via use-livecode
Well, I am not aiming for *exact* visual match. What I WOULD expect is that if Livecode thinks the name of a font on the MacOS is “Aclonica Regular” then it would think the same thing on a Windows system. I’m talking about an embedded font file here. That “Aclonica” without the “regular” works o

RE: Cross-platform font handling, and why you don't want to do it

2022-09-05 Thread Ralph DiMola via use-livecode
Solutions before I tell my tales of woe. Measuretext is a great high speed tool using a field's properties to calculate the width in pixels that the string will occupy when rendered. This can solve many kerning issues. The font size can be adjusted as needed to fit the text into a field without

Re: Cross-platform font handling, and why you don't want to do it

2022-09-05 Thread Mike Kerner via use-livecode
Other tools that we use have implemented CSS to manage this, but that does not make it easier. fonts have been a menace since we first had x-platform dev tools and meaningful WYSIWYG rendering (Win 95?). at the time, dpi differences made the issue impossible to resolve for smaller fonts, especially

Re: Cross-platform font handling, and why you don't want to do it

2022-09-05 Thread Tom Glod via use-livecode
It seems like you have an approach that can work well, despite being more work. Mainly shipping the fonts, which cancels out most of the issues, but requires handling each case. I don't know if any multi-platform dev tool deals with fonts without any extra hoops. If I recall correctly, flutter did

Cross-platform font handling, and why you don't want to do it

2022-09-05 Thread Quentin Long via use-livecode
Cross-platform font compatibility is a hellacious rat's nest of mismatches. It may or may not be worse than handling time (Daylight Savings Time? leap years? leap *seconds*? etc, ad nauseum), but it's plenty bad enough on its own merits, or lack thereof. * You can't be 100% confident that your u