Casterlabs / caffeinated

The code for Caffeinated.
https://casterlabs.co?ref=github_caffeinated
Other
17 stars 0 forks source link

Improved Font Loader / Support for Local Fonts #38

Closed ka11zer closed 7 months ago

ka11zer commented 8 months ago

Not all system fonts and font weights are supported at the moment for things like Labels and Alerts, While Google Fonts work perfectly fine the Local fonts struggle with loading in or the font weight is not the desired one and there is no setting to change it as of now.

Example 1: The Label with a Google Font works flawlessly, albeit can't adjust the font weight but something is better than nothing image

Example 2: The Label with a Locally Installed Font works flawlessly but no font weight options. and does not appear in the search box unlike with google fonts. image

The Font name on Windows image

Example 3: The Label with a Locally Installed Font same type as the previous one, does not work image

e3ndr commented 7 months ago

I think this is fixed, can you verify @ka11zer?

ka11zer commented 7 months ago

image

Indeed, it has been fixed, just have to make sure to select the correct font family in the "FONT" section. Font weight automatically correspond to the installed variations, the slider is helpful!