Skip to content

ika-musuko/kokuban-monospace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Japanese programming font
日本語のプログラミングフォント
Download from Releases
screenshot of the font

How to patch

  1. Prerequisite: fonttools
  2. Download Klee One
  3. Download LXGWWenKai
  4. Copy the following files in this directory:
    • KleeOne-Regular.ttf
    • KleeOne-SemiBold.ttf
    • LXGWWenKaiMono-Regular.ttf
    • LXGWWenKaiMono-Bold.ttf
  5. python kokuban-monospace.py KleeOne-Regular.ttf LXGWWenKaiMono-Regular.ttf; python kokuban-monospace.py KleeOne-SemiBold.ttf LXGWWenKaiMono-Bold.ttf
  6. Open demo.html for a demo

Recommended kitty settings

font_family KokubanMonospace
font_size 16

modify_font cell_width 100%
modify_font cell_height 80%
modify_font baseline 5
text_composition_strategy 3.0 10 # Adjust this based on your display

パッチする方法

  1. 前提としてfonttoolsをインストールする
  2. Klee Oneをダウンロードする
  3. LXGWWenKaiをダウンロードする
  4. 以下のファイルをこのディレクトリにコピーする
    • KleeOne-Regular.ttf
    • KleeOne-SemiBold.ttf
    • LXGWWenKaiMono-Regular.ttf
    • LXGWWenKaiMono-Bold.ttf
  5. python kokuban-monospace.py KleeOne-Regular.ttf LXGWWenKaiMono-Regular.ttf; python kokuban-monospace.py KleeOne-SemiBold.ttf LXGWWenKaiMono-Bold.ttf
  6. demo.htmlを開いて確認する

kittyのおすすめの設定

font_family KokubanMonospace
font_size 16

modify_font cell_width 100%
modify_font cell_height 80%
modify_font baseline 5
text_composition_strategy 3.0 10 # こちらがディスプレイによって要調整