8000 Default font loaded does not populate links & more from getActiveFont() · Issue #3 · samuelmeuli/font-manager · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Default font loaded does not populate links & more from getActiveFont() #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bjorngyles opened this issue Apr 28, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@bjorngyles
Copy link

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?

image

font-picker is golden btw!

Regards
Bjørn

@samuelmeuli
Copy link
Owner

Thanks for opening the issue!

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 samuelmeuli transferred this issue from samuelmeuli/font-picker Apr 29, 2020
@samuelmeuli samuelmeuli added the enhancement New feature or request label Apr 29, 2020
@mrkaluzny
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
0