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

Select the correct font variant where there are options in social plugin #5518

Merged
merged 3 commits into from
May 16, 2023

Conversation

croesus
Copy link
Contributor

@croesus croesus commented May 15, 2023

@squidfunk
Copy link
Owner

Thanks! Did you test this with other fonts than Open Sans?

@croesus
Copy link
Contributor Author

croesus commented May 15, 2023

I haven't tested it exhaustively but it works with the following fonts that have different layouts in the zip:
Lobster - contains a single .ttf at the top level of the zip
Roboto - contains several ttfs at the top level of the zip
Inter - contains several ttfs in a static/ subdirectory in the zip
Open Sans - contains several versions of the font in subdirectories of the static/ subdirectory of the zip

@squidfunk
Copy link
Owner

Thanks for testing! Let's give this a try.

@squidfunk squidfunk merged commit 0f4aed3 into squidfunk:master May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants