Default font loaded does not populate links & more from getActiveFont() · Issue #3 · samuelmeuli/font-manager · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my project I need to fetch the font file / link from the active font and pass it along to a database after I click submit. But the default loaded font only shows family and id for the font. You can see the image below where I fetched activefont for the default font and after the information from a font selected afterwards.
Is there an easier way to do this, or a way to add this information for the default font as well?
font-picker is golden btw!
Regards
Bjørn
The text was updated successfully, but these errors were encountered:
This information isn't available when the font picker is initialized, it's provided by Google Fonts. The Font Manager could be modified so once the font list has been fetched, the additional information is added to the default font.
@samuelmeuli Can you make it a default behaviour? Font manager is a good package, but some design decisions make it impossible to extend.
There's no way to load all variants of a font, and removing details from active font prevents from implementing more robust behaviour for font management
For my project I need to fetch the font file / link from the active font and pass it along to a database after I click submit. But the default loaded font only shows family and id for the font. You can see the image below where I fetched activefont for the default font and after the information from a font selected afterwards.
Is there an easier way to do this, or a way to add this information for the default font as well?
font-picker is golden btw!
Regards
Bjørn
The text was updated successfully, but these errors were encountered: