Skip to main content
Question

For some fonts, when presenting, underline decorator only shows when there are letters with descent, like "p"

  • April 19, 2024
  • 2 replies
  • 237 views

AntonioB

In my case I’m using Manrope, the latest version, replacing the one in the system font folder.

I know there is another related issue (currently closed) referring to that is a font problem, due the lack of stroke weight definition of this decorator in the font itself.

Even being that truth, it doesn’t change the fact that underline is showing when a letter has descent and it only happens with rendering while presenting, so it must be related to the renderer, which probably is copying the smaller surface rectangle as possible, causing the decorator disappear unless there is something drawn below the baseline, like the descent in a “p” for example.

Please take a look at this, because even if it could be solved by new versions of the font, the truth is that Figma comes with a bunch of fonts ready to be use and they should guarantee that are able to show a underline style. It is such a common thing in any design system or prototype, just think on a link.

Thanks in advance and regards.

2 replies

y_toku
Figmate
  • Community Support
  • 2317 replies
  • April 22, 2024

Thanks for the feedback.

I think you’ve already tried, but please let me share the common font issue and trouble shooting links.

You’ll see this missing font warning when you need to manage missing fonts:

Figma Learn - Help Center

The most common reasons for missing fonts are:

  • Missing installed fonts: collaborators are using a local font, which you don’t have installed.
  • Conflicting versions: collaborators are using a different (older or newer) version of the font.
  • Missing font styles: Either the style was missing from a download, or you are using a different version of the font which doesn’t include that weight or style.

If you have this font already installed on your computer, you’ll need to either use our Desktop App or follow the instructions to Access local fonts on your computer to use local fonts in the browser.

If you’ve followed these instructions and are using the Desktop App, or seeing the notification that Local Fonts are enabled on your Figma account settings in the browser, then it’s possible that the font you have installed is not the same version as the one used in the File. To resolve this, we suggest you ask the File’s creator to send over the Font version used to create the File. Once you install this version, you’ll need to restart Figma to serve that version.

Alternately, if you want to use the version stored on your computer you can to select the correct weight in the toggle of that Missing Fonts warning menu. Please note this changes the font version for all editors on the File and so can generate the same error for any other editors who have a different version installed.

If you keep seeing the font issue, could you reach out directly to the support team with a copy of your file:
https://help.figma.com/hc/en-us/requests/new

Please make sure you use the email associated with your Figma account, include links to the file in question, and share access with support-share@figma.com. Don’t worry, inviting us to view your file won’t impact your billing.

Thanks,
Toku


AntonioB
  • Author
  • 5 replies
  • April 23, 2024

Hi Toku,

Thanks for your kindly answer.

In my case I finally solved the issue by installing the font, Manrope, from the designers’ website instead of get it from Google Fonts. But this is not exactly my point anyway.

Figma as a product comes with a bunch of free fonts, and Figma also allow to set a decoration, in that case, underline, to those fonts. Being it is true that the main cause of the issue is due to the font itself, it is also true that is part of Figma responsibility to provide a robust system that can take into consideration the “faults” of the provided fonts, because at the end the underline is there, is drawn, so the feature works, even on fonts that lack of an specification on how the underline decorator must be shown (I don’t know, probably by setting a height for the underline stroke).

The exactly problem comes when you add an interaction, like hovering, to a text without any decorator using a faulty font, if that text doesn’t have any letter with a descent (like a “p”) then the hovering state (with the underline decorator) doesn’t show, so looks like Figma cut out somehow the interactive area of the text without taking into consideration the full height of the text (with the descent), since the decorator is painted below the baseline, unless there is a letter with a descent (which force Figma to get which is painted below the baseline), no underline decorator is shown.

Basically, what I mean is; to avoid that kind of problem, Figma could take into consideration that some fonts they provide come with a lack of underline specification, and consequently provide a more robust handling of those fonts, like, in that case, considering to just revisit the way that cut out of surfaces on text rendering for presentation mode works.

Thanks again.


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