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
- 44 Introductions
- 3.8K Typeface Design
- 817 Font Technology
- 1.1K Technique and Theory
- 635 Type Business
- 451 Type Design Critiques
- 549 Type Design Software
- 30 Punchcutting
- 139 Lettering and Calligraphy
- 86 Technique and Theory
- 53 Lettering Critiques
- 500 Typography
- 309 History of Typography
- 117 Education
- 74 Resources
- 520 Announcements
- 84 Events
- 107 Job Postings
- 160 Type Releases
- 168 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports