CJK Glyphs
Test post for CJK Glyphs.
In a GitHub issue, @luobo202254 raised that the browser’s default font for Chinese characters didn’t play well with Computer Modern
. We tried some variations and chose FandolKai-Regular
to be the default1 for heyo, the font was obtained from CTAN, and is under the GNU GPL license.
Samples2
Choose your own fonts
In config.toml
, under [params]
, there’s customCss
, on that param you can point to a CSS file that will override the defaults.
For example, let’s say you have customCSS = ['customCss/my-font-family.css']
in config.toml
and you create a file at exampleSite/static/customCss/my-font-family.css
with the following:
* {
font-family: 'sans serif';
}
Your site should look something like this now:
-
Note that it’s pretty easy to change the defaults, just follow these instructions. ↩︎
-
All the samples text were generated at https://generator.lorem-ipsum.info. ↩︎