Skip to main content
Question

Why does the baseline of a custom font with regular weight vs. semibold differ with 1 px?


Rick

When trying to align the text horizontally, they seem to differ in baseline… When I place them within the same textbox, there’s no shift in baseline, but with 2 separate text boxes, it does have a baseline shift.

How can I fix this?

5 replies

Gleb
  • Power Member
  • 4707 replies
  • May 12, 2021

Looks like an issue with the font itself, or maybe you have different line heights set on these boxes.


Rick
  • Author
  • 3 replies
  • May 12, 2021

Both text boxes have the same line-height of 24px, and I checked the same font in different tools such as Word and (sorry) Sketch and there it doesn’t have this issue… So it can’t be the font itself right?


Gleb
  • Power Member
  • 4707 replies
  • May 12, 2021

Does it only happen with this font? Which one is it?


Rick
  • Author
  • 3 replies
  • May 12, 2021

Only for this font indeed:
Proxima Nova


Gleb
  • Power Member
  • 4707 replies
  • May 12, 2021

Do you have this font in another format? E.g. TTF instead of OFT or vice versa. Try removing the current one and installing a different one instead.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings