2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

「UDEV Gothic」のインストール方法解説【Windows】

Last updated at Posted at 2025-05-28

UDEV Gothicは、視認性が高くプログラミングに適した日本語フォントです。
Rictyフォントの派生であり、文字の区別がつきやすいように工夫されています。

UDEV Gothicは.ttfを生成するためにビルドが必要です。
ここでは、その方法について解説していきます。

前提条件

ローカルにPython3の環境があること。

1. リポジトリをローカルに落としてくる

git cloneしたり、zipで落としてきたりしましょう。
https://github.com/yuru7/udev-gothic.git

image.png

2. Fontforgeのインストール

公式サイト からWindows用のインストーラをダウンロードして実行、インストールする。

3. fontforge_script.pyの実行

インストールが終了したら、スタートメニューからFontForge interactive consoleと検索し、起動する。
そうするとffpythonにパスが通ったコマンドプロンプトが立ち上がる。
image.png

1で落としてきたリポジトリのディレクトリのパスにcdコマンドで移動。
以下を実行する。
オプションはお好きなように。

ffpython.exe .\fontforge_script.py --jpdoc --nerd-font --liga

以下のように表示されれば成功。

=== Generate Regular ===
The glyph named heart is mapped to U+F08D0.
But its name indicates it should be mapped to U+2665.
Lookup subtable contains unused glyph uni00A0#1 making the whole subtable invalid
Lookup subtable contains unused glyph uni00A0#1 making the whole subtable invalid
=== Generate Bold ===
Lookup subtable contains unused glyph uni00A0#1 making the whole subtable invalid
Lookup subtable contains unused glyph uni00A0#1 making the whole subtable invalid
=== Generate Italic ===
Lookup subtable contains unused glyph uni00A0#1 making the whole subtable invalid
Lookup subtable contains unused glyph uni00A0#1 making the whole subtable invalid
=== Generate BoldItalic ===
Lookup subtable contains unused glyph uni00A0#1 making the whole subtable invalid
Lookup subtable contains unused glyph uni00A0#1 making the whole subtable invalid

4. ttfautohint-pyfonttoolsをインストール

普通のターミナルを開く。
image.png

1で落としてきたリポジトリのディレクトリのパスにcdコマンドで移動しておく。

以下を実行。

pip install fonttools
pip install ttfautohint-py

5. fonttools_script.pyの実行

上記のターミナルで以下を実行。ここでオプションは不要。

python .\fonttools_script.py

6. 生成された.ttfをインストール

1で落としてきたリポジトリのディレクトリ内にbuildディレクトリが生成されている。
その中の4つの.ttfをコンピュータにインストールすれば完了。
全選択して右クリック→インストールでも良いし、一つ一つインストールしてもよい。
image.png

7. おまけ:VSCodeでの指定名

UDEV Gothic JPDOCNFLGという名前で指定する。
image.png

おわり。


これからもQiitaで発信していくので、気になったらぜひいいね・フォローお願いします!

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?