Skip to content

Commit

Permalink
Added variable font version
Browse files Browse the repository at this point in the history
  • Loading branch information
hiz8 committed Mar 6, 2022
1 parent 80dba6c commit 5719379
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 11 deletions.
28 changes: 17 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ This is Subset of the [Noto Sans CJK JP](http://www.google.com/get/noto/help/cjk
- Medium
- Bold
- Black
- Variable
- Mono-Regular
- Mono-Bold
- Mono-Variable

## Format

Expand All @@ -24,17 +26,19 @@ This is Subset of the [Noto Sans CJK JP](http://www.google.com/get/noto/help/cjk

## Size

| Weight | otf (Original) | ttf | woff2 |
| :----------- | :------------- | :------- | :------- |
| Thin | `14.2 MB` | `950 KB` | `635 KB` |
| Light | `15.6 MB` | `991 KB` | `679 KB` |
| DemiLight | `15.6 MB` | `983 KB` | `690 KB` |
| Regular | `15.7 MB` | `980 KB` | `694 KB` |
| Medium | `15.7 MB` | `976 KB` | `699 KB` |
| Bold | `16.2 MB` | `983 KB` | `706 KB` |
| Black | `17.0 MB` | `990 KB` | `692 KB` |
| Mono-Regular | `15.6 MB` | `990 KB` | `693 KB` |
| Mono-Bold | `16.2 MB` | `994 KB` | `704 KB` |
| Weight | otf (Original) | ttf | woff2 |
| :------------ | :------------- | :------- -| :-------- |
| Thin | `14.2 MB` | `950 KB` | `635 KB` |
| Light | `15.6 MB` | `991 KB` | `679 KB` |
| DemiLight | `15.6 MB` | `983 KB` | `690 KB` |
| Regular | `15.7 MB` | `980 KB` | `694 KB` |
| Medium | `15.7 MB` | `976 KB` | `699 KB` |
| Bold | `16.2 MB` | `983 KB` | `706 KB` |
| Black | `17.0 MB` | `990 KB` | `692 KB` |
| Variable | `29.3 MB` | `1.96 MB` | `1.08 MB` |
| Mono-Regular | `15.6 MB` | `990 KB` | `693 KB` |
| Mono-Bold | `16.2 MB` | `994 KB` | `704 KB` |
| Mono-Variable | `28.8 MB` | `1.94 MB` | `1.08 MB` |

## Packaging Letters

Expand Down Expand Up @@ -87,3 +91,5 @@ This is Subset of the [Noto Sans CJK JP](http://www.google.com/get/noto/help/cjk
- Opera
- iOS 4.3+
- Android 2.2+

Variable fonts feature is available in [supported browsers](https://caniuse.com/variable-fonts).
Binary file added docs/Fonts/NotoSansCJKjp/NotoSansCJKjp-VF.min.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 9 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@ <h1 class="headline noto +500">Noto Sans CJK JP minとは</h1>
<dd class="demo__text noto +mono +700" contenteditable="true">
あのイーハトーヴォのすきとおった風、夏でも底に冷たさをもつ青いそら、うつくしい森で飾られたモリーオ市、郊外のぎらぎらひかる草の波。
</dd>
<dt class="demo__title">Variable</dt>
<dd class="demo__text noto +vf" contenteditable="true">
あのイーハトーヴォのすきとおった風、夏でも底に冷たさをもつ青いそら、うつくしい森で飾られたモリーオ市、郊外のぎらぎらひかる草の波。
</dd>
<dt class="demo__title">Mono-Variable</dt>
<dd class="demo__text noto +vf +mono" contenteditable="true">
あのイーハトーヴォのすきとおった風、夏でも底に冷たさをもつ青いそら、うつくしい森で飾られたモリーオ市、郊外のぎらぎらひかる草の波。
</dd>
</dl>
</div>
</div>
Expand Down Expand Up @@ -170,6 +178,7 @@ <h1 class="headline noto +500">サポートブラウザ</h1>
<li>Android 2.2+</li>
<li>iOS 4.3+</li>
</ul>
<p>Variable fonts は<a href="https://caniuse.com/variable-fonts" target="_blank">サポートブラウザ</a>でのみ使用できます。</p>
</section>
<section class="inner">
<h1 class="headline noto +500">ダウンロード</h1>
Expand Down

0 comments on commit 5719379

Please sign in to comment.