A webfont repository for KaiXinSong, based on https://github.com/VdustR/hanamin. Supports CJK Extensions A through I.
-
Original font: http://www.guoxuedashi.com/zidian/bujian/KaiXinSong.php (version 4.1)
-
Split with font-splitter
-
Minify with clean-css-cli
cleancss --source-map -o KaiXinSong.min.css KaiXinSong.css
https://codesandbox.io/embed/kaixinsong-webfont-demo-2uit3
body {
font-family: KaiXinSong;
}
Install kaixinsong
:
npm i kaixinsong
# or install it with yarn
yarn add kaixinsong
And import it in js:
import "kaixinsong";
or in css:
@import "~kaixinsong";
jsDelivr npm:
<link
rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/npm/kaixinsong/KaiXinSong.min.css"
/>
jsDelivr GitHub:
<link
rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/gh/transfusion/kaixinsong-webfont/KaiXinSong.min.css"
/>
UNPKG:
<link rel="stylesheet" type="text/css" href="https://unpkg.com/kaixinsong" />