figma-html icon indicating copy to clipboard operation
figma-html copied to clipboard

Font weight doesn't seem to be imported

Open gavinmcfarland opened this issue 5 years ago • 3 comments

When I import my website, the font-weight doesn't seem to be being picked up.

This is a screenshot of the website

Screenshot 2020-03-15 at 19 27 44

And below a screenshot of the import

Screenshot 2020-03-15 at 19 30 56

Would you happen to know what might be causing this issue?

Many thanks.

gavinmcfarland avatar Mar 15 '20 19:03 gavinmcfarland

I have the same problem. Not correct read from css font-weight and html tag strong and H tags

Please fix this bug

alexshnur avatar Jun 20 '20 07:06 alexshnur

Hey all -

so the issue here is the way CSS fonts and figma fonts work have some key differences. Adding support for this will never be perfect, and I explain a strategy to partially support this by making a few assumptions over here #5

As always, open source contributions are more than welcome!

steve8708 avatar Jun 22 '20 18:06 steve8708

Ah I see, yeah I can appreciate how that would be a big job. Thanks for letting us know.

gavinmcfarland avatar Jun 26 '20 08:06 gavinmcfarland