We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
# 安装到 showtextdb 字体目录下 showtextdb::font_installed() # 安装字体目前存在问题 # https://github.com/yixuan/showtextdb/issues/1 showtextdb::font_install(showtextdb::google_fonts("Noto Sans"), quiet = TRUE) showtextdb::font_install(showtextdb::google_fonts("Noto Serif SC"), quiet = TRUE) # sysfonts::font_add_google 不可重复使用,重启 R 会话就会丢失 for (font in c("Noto Sans", "Noto Serif SC")) { if (!font %in% sysfonts::font_families()) { sysfonts::font_add_google(name = font) } }
比如许宝騄的「騄」字,刘思喆的「喆」就没法正常显示,还没深究是何原因。
_book/
tinytex::tlmgr_install('noto') tinytex::tlmgr_install('notocondensed') # roboto 字体目录 paste(tinytex::tinytex_root(), "texmf-dist/fonts/opentype/google/roboto", sep = "/") sysfonts::font_add("xkcd", regular = "~/Library/Fonts/xkcd.otf") roboto_dir <- paste(tinytex::tinytex_root(), "texmf-dist/fonts/opentype/google/roboto", sep = "/") list.files(path = roboto_dir)
Roboto-Black.otf Roboto-ThinItalic.otf RobotoMono-LightItalic.otf Roboto-BlackItalic.otf RobotoCondensed-Bold.otf RobotoMono-Medium.otf Roboto-Bold.otf RobotoCondensed-BoldItalic.otf RobotoMono-MediumItalic.otf Roboto-BoldItalic.otf RobotoCondensed-Italic.otf RobotoMono-Regular.otf Roboto-Italic.otf RobotoCondensed-Light.otf RobotoMono-Thin.otf Roboto-Light.otf RobotoCondensed-LightItalic.otf RobotoMono-ThinItalic.otf Roboto-LightItalic.otf RobotoCondensed-Regular.otf RobotoSlab-Bold.otf Roboto-Medium.otf RobotoMono-Bold.otf RobotoSlab-Light.otf Roboto-MediumItalic.otf RobotoMono-BoldItalic.otf RobotoSlab-Regular.otf Roboto-Regular.otf RobotoMono-Italic.otf RobotoSlab-Thin.otf Roboto-Thin.otf RobotoMono-Light.otf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. showtextdb 安装 Google 字体失败
2. 开源的 fandol 字体范围有限
比如许宝騄的「騄」字,刘思喆的「喆」就没法正常显示,还没深究是何原因。
3. bookdown 相关
_book/
目录也给删掉4. roboto 字体
The text was updated successfully, but these errors were encountered: