{"id":15032691,"url":"https://github.com/takwolf/ark-pixel-font","last_synced_at":"2025-05-14T03:09:14.098Z","repository":{"id":37747989,"uuid":"366474401","full_name":"TakWolf/ark-pixel-font","owner":"TakWolf","description":"Open source Pan-CJK pixel font / 开源的泛中日韩像素字体","archived":false,"fork":false,"pushed_at":"2025-05-01T15:26:25.000Z","size":8725,"stargazers_count":3576,"open_issues_count":5,"forks_count":72,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-05-01T16:29:24.559Z","etag":null,"topics":["bitmap-font","bitmap-fonts","chinese","chinese-simplified","chinese-translation","cjk","font","fonts","game","japanese","korean","pixel","pixel-font","pixel-fonts","typeface"],"latest_commit_sha":null,"homepage":"http://ark-pixel-font.takwolf.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TakWolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-MIT","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,"zenodo":null},"funding":{"custom":["https://github.com/TakWolf/TakWolf/blob/master/payment-qr-codes.md","https://afdian.com/a/takwolf"]}},"created_at":"2021-05-11T18:12:13.000Z","updated_at":"2025-05-01T03:44:02.000Z","dependencies_parsed_at":"2024-01-12T12:42:33.516Z","dependency_job_id":"e18b3e5c-9fbf-4217-bc89-0e4bbbad2778","html_url":"https://github.com/TakWolf/ark-pixel-font","commit_stats":{"total_commits":964,"total_committers":1,"mean_commits":964.0,"dds":0.0,"last_synced_commit":"9392677e2c24e9f5b27340adbf942a09de0ed49b"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakWolf%2Fark-pixel-font","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakWolf%2Fark-pixel-font/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakWolf%2Fark-pixel-font/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakWolf%2Fark-pixel-font/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TakWolf","download_url":"https://codeload.github.com/TakWolf/ark-pixel-font/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254059508,"owners_count":22007768,"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":["bitmap-font","bitmap-fonts","chinese","chinese-simplified","chinese-translation","cjk","font","fonts","game","japanese","korean","pixel","pixel-font","pixel-fonts","typeface"],"created_at":"2024-09-24T20:19:08.518Z","updated_at":"2025-05-14T03:09:09.078Z","avatar_url":"https://github.com/TakWolf.png","language":"Python","funding_links":["https://github.com/TakWolf/TakWolf/blob/master/payment-qr-codes.md","https://afdian.com/a/takwolf"],"categories":[],"sub_categories":[],"readme":"![banner](docs/readme-banner.png)\n\n# 方舟像素字体 / Ark Pixel Font\n\n[![License OFL](https://img.shields.io/badge/license-OFL--1.1-orange)](https://openfontlicense.org)\n[![License MIT](https://img.shields.io/badge/license-MIT-green)](https://opensource.org/license/MIT)\n[![Releases](https://img.shields.io/github/v/release/TakWolf/ark-pixel-font)](https://github.com/TakWolf/ark-pixel-font/releases)\n[![Itch.io](https://img.shields.io/badge/itch.io-ark--pixel--font-FF2449?logo=itch.io\u0026logoColor=white)](https://takwolf.itch.io/ark-pixel-font)\n[![Discord](https://img.shields.io/badge/discord-像素字体工房-4E5AF0?logo=discord\u0026logoColor=white)](https://discord.gg/3GKtPKtjdU)\n[![QQ Group](https://img.shields.io/badge/QQ群-像素字体工房-brightgreen?logo=qq\u0026logoColor=white)](https://qm.qq.com/q/X1mLrLLGYS)\n\n开源的泛中日韩像素字体，黑体无衬线风格，支持 10、12 和 16 像素。\n\n这个项目不仅提供了全部的字形源文件，也提供了构建字体所需要的完整程序。\n\n\u003e [!WARNING]\n\u003e \n\u003e 该字体目前处于积极开发阶段，仍然缺少大量汉字。\n\u003e \n\u003e 生产环境请考虑临时性过渡方案：[缝合像素字体](https://github.com/TakWolf/fusion-pixel-font)\n\n\u003e [!IMPORTANT]\n\u003e \n\u003e 这是一个开源项目，字体可以免费商用。\n\u003e \n\u003e 如果这个项目对您有帮助，请考虑 [赞助](#赞助) 来支持开发工作。\n\n## 预览\n\n可以通过 [Playground](https://ark-pixel-font.takwolf.com/playground.html) 实时预览字体效果。\n\n### 10 像素\n\n[示例文本](https://ark-pixel-font.takwolf.com/demo-10px.html) · [等宽模式-字母表](https://ark-pixel-font.takwolf.com/alphabet-10px-monospaced.html) · [比例模式-字母表](https://ark-pixel-font.takwolf.com/alphabet-10px-proportional.html)\n\n![preview-10px](docs/preview-10px.png)\n\n### 12 像素\n\n[示例文本](https://ark-pixel-font.takwolf.com/demo-12px.html) · [等宽模式-字母表](https://ark-pixel-font.takwolf.com/alphabet-12px-monospaced.html) · [比例模式-字母表](https://ark-pixel-font.takwolf.com/alphabet-12px-proportional.html)\n\n![preview-12px](docs/preview-12px.png)\n\n### 16 像素\n\n[示例文本](https://ark-pixel-font.takwolf.com/demo-16px.html) · [等宽模式-字母表](https://ark-pixel-font.takwolf.com/alphabet-16px-monospaced.html) · [比例模式-字母表](https://ark-pixel-font.takwolf.com/alphabet-16px-proportional.html)\n\n![preview-16px](docs/preview-16px.png)\n\n## 字符统计\n\n可以通过下面的链接来查看字体各尺寸目前支持的字符情况。\n\n| 尺寸 | 等宽模式 | 比例模式 |\n|---|---|---|\n| 10px | [info-10px-monospaced](docs/info-10px-monospaced.md) | [info-10px-proportional](docs/info-10px-proportional.md) |\n| 12px | [info-12px-monospaced](docs/info-12px-monospaced.md) | [info-12px-proportional](docs/info-12px-proportional.md) |\n| 16px | [info-16px-monospaced](docs/info-16px-monospaced.md) | [info-16px-proportional](docs/info-16px-proportional.md) |\n\n## 尺寸\n\n目前支持 10、12 和 16 三个像素尺寸。\n\n字体的 `UPM`（`Units Per Em`，每个字面框包含的设计单位的数量）按照像素尺寸的 100 倍来转化，即：`1 px = 100 units` 。\n\n字体各尺寸的 `UPM` 值如下：\n\n| 尺寸 | UPM |\n|---|---|\n| 10px | 1000 |\n| 12px | 1200 |\n| 16px | 1600 |\n\n在渲染时，请将文本尺寸设置为对应字体的像素尺寸或其整数倍，以保证栅格化时能够精确地进行像素转化。\n\n## 宽度模式\n\n目前支持「等宽」和「比例」两种模式。\n\n### 「等宽」模式\n\n字符为全宽或半宽，排版时可严格对其。字形完全处于字面框内部，默认行高等于字体的像素尺寸。\n\n但基线位置略微偏高，中西文混排时西文在视觉上重心偏高，美观性略差。\n\n### 「比例」模式\n\n字符宽度根据字形实际情况变化，基线处于合适的位置。纵向上字形可能会超出字面框，默认行高大于字体的像素尺寸。\n\n该模式排版观感自然，如无特殊需求，你应该优先选择这个模式。\n\n字体各尺寸的默认行高如下：\n\n| 尺寸 | 行高 |\n|---|---|\n| 10px | 16px |\n| 12px | 18px |\n| 16px | 24px |\n\n## 语言特定字形\n\n不同国家或地区，由于规范或书写习惯不同，同一个字符，字形可能存在差别。这种情况大部分为汉字，少量为标点符号。\n\n目前支持以下语言特定字形版本：\n\n| 版本 | 含义 | 说明 |\n|---|---|---|\n| latin | 拉丁语 | 在非中日韩环境下使用，标点符号采用西文习惯写法。 |\n| zh_cn | 中文-中国大陆 | 字形采用中国大陆地区标准规范 [《通用规范汉字表》](https://www.moe.gov.cn/jyb_sjzl/ziliao/A19/201306/t20130601_186002.html) 中的写法。 |\n| zh_hk | 中文-香港特别行政区 | 字形采用香港地区教育规范 [《常用字字形表》](https://zh.wikipedia.org/wiki/%E5%B8%B8%E7%94%A8%E5%AD%97%E5%AD%97%E5%BD%A2%E8%A1%A8) 中的写法。 |\n| zh_tw | 中文-台湾地区 | 字形采用台湾地区教育规范 [《国字标准字体》](https://zh.wikipedia.org/wiki/%E5%9C%8B%E5%AD%97%E6%A8%99%E6%BA%96%E5%AD%97%E9%AB%94) 中的写法。 |\n| zh_tr | 中文-传统印刷 | 字形采用 [「传统印刷体」](https://zh.wikipedia.org/wiki/%E8%88%8A%E5%AD%97%E5%BD%A2) 写法，符合香港和台湾地区传统使用习惯。 |\n| ja | 日语 | 字形采用日本参考规范 [《常用汉字表》](https://zh.wikipedia.org/wiki/%E5%B8%B8%E7%94%A8%E6%BC%A2%E5%AD%97) 中的写法。 |\n| ko | 朝鲜语 | |\n\n## 下载\n\n可通过以下渠道下载最新的版本：\n\n- [GitHub Releases](https://github.com/TakWolf/ark-pixel-font/releases)\n- [itch.io](https://takwolf.itch.io/ark-pixel-font)\n\n## 使用包管理器安装 \n\n### [Homebrew](https://brew.sh)\n\n```shell\nbrew install font-ark-pixel-10px-monospaced\nbrew install font-ark-pixel-12px-monospaced\nbrew install font-ark-pixel-16px-monospaced\n\nbrew install font-ark-pixel-10px-proportional\nbrew install font-ark-pixel-12px-proportional\nbrew install font-ark-pixel-16px-proportional\n```\n\n## 字形依赖\n\n- [像素字形 - 谚文音节](https://github.com/TakWolf/pixel-glyphs-hangul-syllables)\n- [像素字形 - 盲文图案](https://github.com/TakWolf/pixel-glyphs-braille-patterns)\n\n## 程序依赖\n\n- [Pixel Font Builder](https://github.com/TakWolf/pixel-font-builder)\n- [Pixel Font Knife](https://github.com/TakWolf/pixel-font-knife)\n- [Unidata Blocks](https://github.com/TakWolf/unidata-blocks)\n- [Character Encoding Utils](https://github.com/TakWolf/character-encoding-utils)\n- [PyYAML](https://github.com/yaml/pyyaml)\n- [Pillow](https://github.com/python-pillow/Pillow)\n- [Beautiful Soup](https://www.crummy.com/software/BeautifulSoup/)\n- [Jinja](https://github.com/pallets/jinja)\n- [Loguru](https://github.com/Delgan/loguru)\n- [Cyclopts](https://github.com/BrianPugh/cyclopts)\n\n## 外部工具\n\n- [SYMBL - Unicode 查询工具](https://symbl.cc)\n- [字嗨 - 漢字部件檢索](https://zi-hi.com/sp/uni/CJKSeeker)\n- [字統网 - 字形檢字](https://zi.tools/?secondary=search)\n- [思源映射查看器](https://github.com/TakWolf/source-han-mapping-viewer)\n\n## 参考资料\n\n- [字体开发最佳实践](https://silnrsi.github.io/FDBP/)\n- [Microsoft - OpenType 字体文档](https://learn.microsoft.com/en-us/typography/opentype/)\n- [Glyphs 软件教程 - 纵向量度值](https://glyphsapp.com/zh/learn/vertical-metrics)\n- [FreeType 字形约定](https://freetype.org/freetype2/docs/glyphs/index.html)\n\n## 官方社区\n\n- [「像素字体工房」Discord 服务器](https://discord.gg/3GKtPKtjdU)\n- [「像素字体工房」QQ 群 (302383204)](https://qm.qq.com/q/X1mLrLLGYS)\n\n## 许可证\n\n分为「字体」和「构建程序」两个部分。\n\n### 字体\n\n使用 [「SIL 开放字体许可证第 1.1 版」](LICENSE-OFL) 授权，保留字体名称「方舟像素 / Ark Pixel」。\n\n### 构建程序\n\n使用 [「MIT 许可证」](LICENSE-MIT) 授权。\n\n## 赞助\n\n如果这个项目对您有帮助，请考虑赞助来支持开发工作。\n\n[![赞赏码](https://raw.githubusercontent.com/TakWolf/TakWolf/master/images/badge-payqr@2x.png)](https://github.com/TakWolf/TakWolf/blob/master/payment-qr-codes.md)\n[![爱发电](https://raw.githubusercontent.com/TakWolf/TakWolf/master/images/badge-afdian@2x.png)](https://afdian.com/a/takwolf)\n\n请通过下面的链接来查看收到的赞助的具体情况：\n\n[赞助详情](https://github.com/TakWolf/TakWolf/blob/master/sponsors.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakwolf%2Fark-pixel-font","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakwolf%2Fark-pixel-font","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakwolf%2Fark-pixel-font/lists"}