formattedwidth/height does not work with some fonts

Klaus major-k klaus at major-k.de
Wed Oct 7 11:28:01 EDT 2020


Hi Jaqueline,

> Am 07.10.2020 um 16:55 schrieb J. Landman Gay via use-livecode <use-livecode at lists.runrev.com>:
> 
> I see this when the margins are too small to accommodate the ascenders of the font.
> What happens if you set the margins larger?

thanks for the hint, setting a quite high margin is what we use as a workaround currently.

> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On October 7, 2020 9:05:25 AM Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
>> Hi all,
>> 
>> looks like formattedheight/formattedwidth does not work with some fonts!?
>> 
>> See screenshot, I even added a little generous offset to make sure the text does not
>> get cut off, but e.g. "Damascus Light" (and others) do not respect formattedXXX?
>> <https://www.dropbox.com/s/zsaqynbgiyrvabm/formattedheight-witdh.jpg?dl=0>
>> 
>> Any hints and workarounds very welcome!

Best

Klaus

--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list