Skip to main content
Participant
January 21, 2021
Question

Bug: Text box height differs depending on descenders

  • January 21, 2021
  • 1 reply
  • 544 views

I have some auto width text boxes and I noticed that the height of the box changed depending on what letters where in it. In the attached picture you can see this is a problem since the buttons share exactly the same type face, type size, leading and padding but still get different heights. The characters used should not impact the height of the box.

So far I have only encountered it with lower case j in the font Barlow so maybe it is the font file that is corrupted.

 

 

This topic has been closed for replies.

1 reply

Participant
January 21, 2021

On further investigation it seems this only happens at a certain font-size: 17px. The font used is Barlow downloaded from Google Fonts

 

HARSHIKA_VERMA
Community Manager
Community Manager
January 21, 2021

Hi Viktor,

 

Thank you for reporting the issue and sharing your investigation. I would request you to please try with other fonts and see if it's happening with other fonts as well.

 

We will try our best to help you.

 

Thanks,

Harshika

Participant
January 22, 2021

I haven't seen it in any other typeface or size. But it also only happens when the text box is set to auto width.

So the specifics are:

  1. Barlow typeface
  2. Size 17px
  3. Auto width text box
  4. Only for the j charachter

 

It may be an error in the font but I wanted to let you know that this problem can occur.