Figma and CSS weight class

Andrea T.
Posts: 40
Hello there,
I wonder if anyone has a clue as to how to solve this issue. If I try to use one of my fonts on Figma, it assigns the same weight class for different styles (e.g., thin 300; light 300); as a result, when you try to export the code, some styles do not appear due to the same weight class value (I suppose). The same happens if I use Gotham or Futura Now, whereas if I use Roboto everything is set properly. Which kind of table have they compiled for weight class value to obtain such a result?
I wonder if anyone has a clue as to how to solve this issue. If I try to use one of my fonts on Figma, it assigns the same weight class for different styles (e.g., thin 300; light 300); as a result, when you try to export the code, some styles do not appear due to the same weight class value (I suppose). The same happens if I use Gotham or Futura Now, whereas if I use Roboto everything is set properly. Which kind of table have they compiled for weight class value to obtain such a result?
Tagged:
0
Comments
-
There are two different parts to this problem:
- what data is in the font?
- what is Figma doing with that data, or is it making assumptions based on names, or...?0 -
I exported the file from Glyphs adding just the weightclass custom parameter and left everything to the make otf application. But I also tried without a custom parameter and nothing has changed...Comparing opentype tables using OTmasters between Roboto and my fonts seems that they have the same value (for example in OS/2 tables). Regarding Figma I sent an information request to the support center. None has answered yet0
Categories
- All Categories
- 46 Introductions
- 3.8K Typeface Design
- 476 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 830 Font Technology
- 29 Punchcutting
- 507 Typography
- 120 Type Education
- 313 Type History
- 74 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 530 Announcements
- 84 Events
- 110 Job Postings
- 166 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports