Skip to content

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

Merged
squidfunk merged 3 commits intosquidfunk:masterfrom
icebreakerone:master
May 16, 2023
Merged

Select the correct font variant where there are options in social plugin#5518
squidfunk merged 3 commits intosquidfunk:masterfrom
icebreakerone:master

Conversation

@croesus
Copy link
Copy Markdown
Contributor

@croesus croesus commented May 15, 2023

@squidfunk
Copy link
Copy Markdown
Owner

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

@croesus
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants