Is there a way to set font_family of social card dynamically depending on the language of content? #5704
Unanswered
JinIgarashi
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I just found my commiting QField has likely access to your insider version of module. I think OpenGIS.ch is your regular sponsor. https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#typography I am asking OpenGIS.ch to try this customization feature in their issue since I don't have access to insiders. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found the following solution to set font_family in social card for specific language
https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#choosing-a-font
There is an issue of font of social card in QField documentation which has multiple languages' contents.
opengisch/QField-docs#355
Default roboto font does not work for Chinese and Japanese. If we select
Noto Sans JP
, it does not work for Chinese.Noto Sans SC
also does not work for Japanese.This QField plugin uses
i18n
plugin to implement internationalisation. Is there a way to dynamically change font_family of social plugin depending on the language of contents? Do you have any advice for this issue?Beta Was this translation helpful? Give feedback.
All reactions