Figma and CSS weight class
Andrea T.
Posts: 44
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.9K Typeface Design
- 488 Type Design Critiques
- 571 Type Design Software
- 1.1K Type Design Technique & Theory
- 658 Type Business
- 869 Font Technology
- 29 Punchcutting
- 528 Typography
- 121 Type Education
- 327 Type History
- 80 Type Resources
- 111 Lettering and Calligraphy
- 32 Lettering Critiques
- 79 Lettering Technique & Theory
- 560 Announcements
- 95 Events
- 116 Job Postings
- 169 Type Releases
- 179 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 114 Suggestions and Bug Reports
