lineHeight different Mac vs. Windows

Peter Bogdanoff bogdanoff at me.com
Mon Jan 1 03:39:29 EST 2018


My page layout is fixed — no user settings of font face or size. Also the card height doesn’t have room for text fields to get taller. And there was the design decision not to show scroll bars.

Text also often has “widows” at the bottom of the field when the text was formatted for Mac but is displayed in Windows. Thus my desire to adjust the Windows text to get it to flow similarly to the Mac (where it was authored).

This is an old-school desktop application with serious content! My heritage is the 1990s Voyager Company’s CD-ROM programs where titles were designed to be book-like.

Peter

> On Dec 31, 2017, at 2:36 PM, Warren Samples via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 12/31/2017 03:11 PM, Peter Bogdanoff via use-livecode wrote:
>>  text sometimes flows off the bottom of the field. Changing the font size is too extreme a change and doesn’t fix widows.
>> I’m trying to conceive of a method of somehow creating page metadata that reformats the Windows text—possibly adjusting field width, arbitrary carriage returns to move text, changing the text size of space characters, etc., all in an attempt to make the Windows version text display more of less the same as Mac. But the problem of line height difference is otherwise unfixable by me.
> 
> 
> Linux users also often face the problem where LC developers share stacks where multi-line text wraps below the bottom of fields with fixed height.
> 
> Can you set the field height to the formattedHeight and auto-show scrollbars as necessary when you load the field's contents? That ordinarily solves the problem. I would protest efforts to mess with user font selection, be it fontface or size and suggest you try to make it adaptive. Fontface and size can be elements the user has good reasons to set for himself.
> 
> 
> Warren
> 
> _______________________________________________
> 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