Skip to content
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

Fonts manually upload from backend do not show in frontend #60420

Closed
bogao opened this issue Apr 3, 2024 · 3 comments
Closed

Fonts manually upload from backend do not show in frontend #60420

bogao opened this issue Apr 3, 2024 · 3 comments
Labels
[Feature] Font Library [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.

Comments

@bogao
Copy link

bogao commented Apr 3, 2024

WP Version: 6.5
Action: Uploading font files from backend (FTP, etc.).
Expected: Fonts shown in the frontend (Font manager UI from Style panel)
Actual: Not shown.

@bogao bogao added the [Type] Enhancement A suggestion for improvement. label Apr 3, 2024
@creativecoder
Copy link
Contributor

This was discussed a bit here: #59417 (comment)

Fonts files use metadata attached to them to generate the css @font-face declaration, everything from accent-override to unicode-range, but at a minimum the font-family name that should be used. So for a direct upload to work, there would probably need to be a json file or similar included with the font file(s) that defines its font-face properties. This would match how fonts are included in themes, with a font file and theme fontFamilies and fontFace properties defined in theme.json.

@bogao Is there a particular use case you're thinking of for being able to install fonts directly through the file system?

@creativecoder
Copy link
Contributor

I think this is a duplicate of #59102

@skorasaurus skorasaurus added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Apr 5, 2024
@skorasaurus
Copy link
Member

Thanks for reporting; this is a duplicate of #59102 where you can follow its progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Font Library [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants