lineHeight different Mac vs. Windows
bogdanoff at me.com
Mon Jan 1 18:54:44 EST 2018
Yes, I am actually adjusting the field width individually for each “page.” But it doesn’t solve the problem of occasional “widows” at the bottom. Thus the thought about other formatting work arounds.
> On Jan 1, 2018, at 3:39 PM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> I wonder if you could figure out a general ratio for the size difference and adjust the width of the field to correct the text wrap on Windows. That's about all I can think of.
> On 1/1/18 5:04 PM, Peter Bogdanoff via use-livecode wrote:
>> I think that the size difference is related to the specific font used. Georgia is displaying slightly wider in Windows than Mac. Helvetica seems pretty consistent. A Chinese font I use is much smaller in Windows.
>> Changing Georgia from 16 to 15 is too drastic a change for me, so I need to keep the font size the same.
>> I can’t set the textHeight since I have to set fixedLineHeight to false so I can display thumbnail images within the text.
>> I suspect that the space between lines when fixedLineHeight is false is determined by the specific font metrics, something LiveCode can’t or doesn’t want to override. I haven’t done a test of various fonts comparing the Windows vs. Mac “free” line spacing. Maybe there is a constant among them all…
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode