Open kryptot7 opened 6 years ago
Hmm, @zrispo Thoughts on this?
Consider @kryptot7's suggestion in #668 for potential Inspector UI improvements for this as well.
Whoops looks like the font loading system is only loading the normal font weight, so I guess the browser is faking bold fonts automatically - interesting!
After looking at the list of google fonts, it looks like some fonts have several weights, and some only have one! Not sure how to handle this in the GUI, any thoughts?
One approach could be similar to what Google Docs does. In Google Docs, most typefaces seem to switch between Normal (400) and Bold (700) variants when you press the Bold button. However, you can choose other weights as well. I played around with this menu and recorded its behavior.
(In the part where I select Thin, the same thing happens when I select Medium)
As for the actual UI element, you could have a drop down menu like the one that already exists for selecting the typeface. It requires fewer clicks than Google Docs' way of selecting font weights.
Example: Actual Ubuntu Bold font
What Wick displays when you choose Ubuntu font and press the Bold button:
Wick seems to put an outline around the regular variation of the font instead of retrieving "Ubuntu Bold" from Google Fonts.