{"id":15028669,"url":"https://github.com/yuru7/hackgen","last_synced_at":"2026-03-02T16:44:50.125Z","repository":{"id":39625607,"uuid":"187742770","full_name":"yuru7/HackGen","owner":"yuru7","description":"Hack と源柔ゴシックを合成したプログラミングフォント 白源 (はくげん／HackGen)","archived":false,"fork":false,"pushed_at":"2024-12-29T07:14:36.000Z","size":332744,"stargazers_count":2082,"open_issues_count":2,"forks_count":28,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-02-23T02:51:44.245Z","etag":null,"topics":["font","hackgen"],"latest_commit_sha":null,"homepage":"https://qiita.com/tawara_/items/374f3ca0a386fab8b305","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuru7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-21T01:56:16.000Z","updated_at":"2025-02-22T01:35:57.000Z","dependencies_parsed_at":"2024-01-06T13:19:36.730Z","dependency_job_id":"e889519a-54b9-409f-a0e3-ab0f0e0e3e8a","html_url":"https://github.com/yuru7/HackGen","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuru7%2FHackGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuru7%2FHackGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuru7%2FHackGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuru7%2FHackGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuru7","download_url":"https://codeload.github.com/yuru7/HackGen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240980776,"owners_count":19888336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["font","hackgen"],"created_at":"2024-09-24T20:08:51.186Z","updated_at":"2026-03-02T16:44:50.084Z","avatar_url":"https://github.com/yuru7.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# プログラミングフォント 白源 (はくげん／HackGen)\n\nHackGen is a composite font of Hack and GenJyuu-Gothic.\n\n白源 (はくげん／HackGen) は、プログラミング向け英文フォント Hack と、源ノ角ゴシックの派生フォント源柔ゴシックを合成したプログラミングフォントです。  \n\n![image](https://github.com/yuru7/HackGen/assets/13458509/ea0c0dae-58ea-4712-8ed2-570274b87039)\n\n2つのフォントをただ合成しただけではなく、一部の独自改変により更なる視認性向上を図っています。\n\n* 文字幅 半角1:全角2 の正統派な等幅フォント (文字幅 半角3:全角5 バージョンも同梱)\n* Hack 由来の読みやすく、しっとりとした印象の英字\n* 源柔ゴシック由来の引き締まりつつ、丸ゴシックの風合いのあるカナ文字・漢字 (第一～第四水準漢字まで対応)\n* 全角スペースの可視化、パイプ記号 `|` の破断線化 (Ricty Discord インスパイア)\n* 英字部分にはヒンティングを付与することで明瞭な表示\n* Powerline 記号の表示\n* その他、判読性の向上\n  * 濁点、半濁点を通常より大きくし、表示サイズが小さい場合でも区別しやすくした\n  * 長音記号 `ー` と漢数字の1 `一` にアクセントを付け区別しやすくした\n  * カタカナ `ヘ` にアクセントを付け、ひらがなと区別しやすくした\n\n\u003e 💡 その他、公開中のプログラミングフォント\n\u003e - 日本語文字に IBM Plex Sans JP、英数字部分に IBM Plex Mono を使った [**PlemolJP (プレモル ジェイピー)**](https://github.com/yuru7/PlemolJP)\n\u003e - 日本語文字にBIZ UDゴシック、英数字部分に JetBrains Mono を使った [**UDEV Gothic**](https://github.com/yuru7/udev-gothic)\n\u003e - 日本語文字に源真ゴシック、英数字部分に Fira Mono を使った [**Firge (ファージ)**](https://github.com/yuru7/Firge)\n\n|**白源 通常版**|**白源 半角3:全角5 版**|\n|:------------------------:|:------------------------:|\n|![hackgen](https://user-images.githubusercontent.com/13458509/133928601-cb1d3e00-6c4b-4ce5-a945-44ae2baa81e0.png)|![hackgen35](https://user-images.githubusercontent.com/13458509/133928624-77ed3d0b-8e6c-46c1-89e1-3e85f6d0c215.png)|\n\n## フォントファミリーの種類\n\n**※いずれのフォントにも Powerline 記号が含まれています。**\n\n|**フォント ファミリー**|**説明**|\n|:------------:|:---|\n|**HackGen**|文字幅比率「半角1:全角2」の通常版の白源。主にASCIIコードの英数字記号に Hack ベースの字体を使い、その他の記号類やかな文字・漢字を源柔ゴシックベースにしている|\n|**HackGen Console**|Hack ベースの字体を除外せずに全て適用したフォントファミリー。矢印記号などの多くの記号が半角で表示されるため、コンソールでの利用や記号類は可能な限り半角で表示したい人にオススメ|\n|**HackGen35**|通常版の白源の文字幅比率を「半角3:全角5」にしたフォントファミリー。英数字が通常版の白源よりも大きく表示される。日本語が少ない文書やコードの場合にはこちらの方が読みやすいと感じるかもしれない|\n|**HackGen35 Console**|HackGen Console  の文字幅比率を 半角3:全角5 にしたフォントファミリー|\n\n|**HackGen 系統**|**HackGen35 系統**|\n|:---:|:---:|\n|`HackGen`\u003cbr/\u003e![hackgen](https://github.com/yuru7/HackGen/raw/image/hikaku_hackgen.png)|`HackGen35`\u003cbr/\u003e![hackgen35](https://github.com/yuru7/HackGen/raw/image/hikaku_hackgen35.png)|\n|`HackGen Console`\u003cbr/\u003e![hackgen console](https://github.com/yuru7/HackGen/raw/image/hikaku_hackgen-console.png)|`HackGen35 Console`\u003cbr/\u003e![hackgen35 console](https://github.com/yuru7/HackGen/raw/image/hikaku_hackgen35-console.png)|\n\nまた、追加で提供している `HackGen NF` `HackGen35 NF` フォントファミリーには、[Nerd Fonts](https://www.nerdfonts.com/) を追加合成しており、Font Awesome をはじめとした多くのアイコンフォントが表示できるようになります。  \n\n## フォントのインストール\n\nビルド済みの ttf ファイルは GitHub のリリースページからダウンロードできます。  \nダウンロードした ttf ファイルは、各 OS に応じた手順でインストールしてください。\n\n[Release - HackGen](https://github.com/yuru7/HackGen/releases/latest)\n\n* `HackGen_バージョン.zip` は従来の HackGen/HackGen35\n* `HackGen_NF_バージョン.zip` は従来の HackGen/HackGen35 に [Nerd Fonts](https://www.nerdfonts.com/) を追加合成したもの\n\n### Homebrew によるフォントのインストール\n\nMac の Homebrew ユーザーは以下のコマンドでもインストールすることができます。  \n※Homebrew リポジトリに追加してくださったのはユーザーさんなので、使用方法などをリポジトリオーナーはサポートできません。悪しからずご了承ください。\n\n```\n$ brew install font-hackgen\n$ brew install font-hackgen-nerd\n```\n\n### Chocolatey によるフォントのインストール\n\nWindows の [Chocolatey](https://chocolatey.org/) ユーザーは以下のコマンドでもインストールすることができます。  \n[font-hackgen](https://chocolatey.org/packages/font-hackgen) が Nerd Fonts を含まないフォント、[font-hackgen-nerd](https://chocolatey.org/packages/font-hackgen-nerd) が Nerd Fonts を含むフォントです。  \n※インストールに失敗する場合は、[パッケージのリポジトリ](https://github.com/kai2nenobu/chocolatey-packages/)にissueを投稿してください。\n\n```\n\u003e choco install font-hackgen\n\u003e choco install font-hackgen-nerd\n```\n\n## ビルド環境\n\nHackGen は以下の環境でビルドしています。\n\n* OS: Ubuntu 20.04.2 (Kubuntu)\n* Tools\n  * ttfautohint: 1.8.3\n  * fonttools: 3.44.0\n  * fontforge: 20201107\n\n### ビルドツールのインストール方法と注意点\n\n* ttfautohint: `sudo apt install ttfautohint`\n* fonttools: Python 2 の pip で `sudo pip2 install fonttools`\n  * fonttools に含まれるサブツール `pyftmerge` と `ttx` をコマンドとして利用しているため、`sudo` を使ってシステム全体で使えるようにする\n  * Python 3 の pip を使ったものは fonttools 4.13.0 がインストールされる (2020/08/01 時点)。 fonttools 4.13.0 では post テーブルの構造が変わってしまうため、macOS 10.15 にてインストール不可となる ([#12](https://github.com/yuru7/HackGen/issues/12))\n* fontforge: [公式サイト](https://fontforge.org/en-US/downloads/) よりダウンロード\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuru7%2Fhackgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuru7%2Fhackgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuru7%2Fhackgen/lists"}