formattedwidth/height does not work with some fonts

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

formattedwidth/height does not work with some fonts

Ralph DiMola via use-livecode
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
[hidden email]


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: formattedwidth/height does not work with some fonts

Ralph DiMola via use-livecode
It is different symptoms from this bug
(https://quality.livecode.com/show_bug.cgi?id=22882) but it could be
related in the code?

I recommend filing a bug report and I will be happy to add a note
connecting the two bugs. The more issues found surrounding "the
formattedWhatever" functions, the more likely we may see action at
fixing them sooner rather than later.


On 10/7/2020 10:03 AM, Klaus major-k via use-livecode 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
> [hidden email]
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: formattedwidth/height does not work with some fonts

Ralph DiMola via use-livecode
Hi Paul,

> Am 07.10.2020 um 16:12 schrieb Paul Dupuis via use-livecode <[hidden email]>:
>
> It is different symptoms from this bug (https://quality.livecode.com/show_bug.cgi?id=22882) but it could be related in the code?
>
> I recommend filing a bug report and I will be happy to add a note connecting the two bugs. The more issues found surrounding "the formattedWhatever" functions, the more likely we may see action at fixing them sooner rather than later.

I added a comment and my screenshot!

> On 10/7/2020 10:03 AM, Klaus major-k via use-livecode 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
[hidden email]


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: formattedwidth/height does not work with some fonts

Ralph DiMola via use-livecode
In reply to this post by Ralph DiMola via use-livecode
I see this when the margins are too small to accommodate the ascenders of
the font. What happens if you set the margins larger?

--
Jacqueline Landman Gay | [hidden email]
HyperActive Software | http://www.hyperactivesw.com
On October 7, 2020 9:05:25 AM Klaus major-k via use-livecode
<[hidden email]> 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
> [hidden email]
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: formattedwidth/height does not work with some fonts

Ralph DiMola via use-livecode
Hi Jaqueline,

> Am 07.10.2020 um 16:55 schrieb J. Landman Gay via use-livecode <[hidden email]>:
>
> 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 | [hidden email]
> HyperActive Software | http://www.hyperactivesw.com
> On October 7, 2020 9:05:25 AM Klaus major-k via use-livecode <[hidden email]> 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
[hidden email]


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode