工具页 Tool

GPU-font:在浏览器里从一行字认字体 GPU-font: match a font from a line of text in the browser

从一行文字寻找可能使用的字体。 Identify possible fonts from a line of text.

GPU-font:在浏览器里从一行字认字体 预览

详细介绍Details

Show HN https://dy.github.io/gpu-font/ — 从截图裁一行字,在浏览器里匹配最接近的字体家族、字重和样式。README:跑在 WebGPU 或 CPU 回退上,图片不上传。目录含 Google Fonts,以及 DaFont、Adobe Fonts、GitHub 字体仓、Debian、Font Library 等(作者 README 的目录表)。README 实验口径(作者自称,不是本站基准):在它没训练过的 Google Fonts 渲染裁图上,正确家族进前五约 92%、排第一约 73%。 README: runs on WebGPU or a CPU fallback, and the image is never uploaded. Catalogs include Google Fonts plus DaFont, Adobe Fonts, GitHub font repos, Debian, Font Library, and others (the author’s README catalog table). Experimental README figures (author claim, not this site’s benchmark): on rendered Google Fonts crops the model had not trained on, the right family is in the top five about 92% of the time and first about 73%.

适合学什么What to learn

  • 工具页 Tool

    在浏览器里生成 CSS/HTML 的小工具。 In-browser tools that generate CSS or HTML.

为什么推荐Why we recommend it 收录理由:立刻可试的本机字体匹配,图片按作者称不上传。边界:前五 92% / 第一 73% 以及各目录家族数是 README 作者实验口径,本站未复跑;DaFont / Adobe 等索引方式以作者说明为准。预览自托管。 Listing rationale: a tryable in-browser font match; the author says the image is never uploaded. Boundary: top-five 92% / first 73%, and the per-catalog family counts, are the README author’s experiments — not re-run here.

核验记录:来源、抓取与截图说明Verification log: sources, checks, and captures

主源是 Show HN 49875638 与 MIT 仓库 / 浏览器页。gh api 核对 MIT、3★。 (item 49875638,2026-09-28T09:49:48Z / 约 17:49 CST,Algolia 核对 2pts) 仓库 dy/gpu-font 于 2026-09-28 gh api:MIT、3★。 公开页与仓库 HTTP 200。 预览为 Playwright 实拍工具页裁 3:2 WebP。Primary sources are Show HN 49875638 and the MIT repo / browser page. How DaFont / Adobe and the other catalogs are indexed follows the author’s notes. gh api check: MIT, 3★. Preview is self-hosted. (2026-09-28T09:49:48Z / about 17:49 CST, 2pts on Algolia at check time) Show HN item 49875638 at https://dy.github.io/gpu-font/ — crop a line of text from a screenshot and match the closest family, weight, and style in the browser. Repo dy/gpu-font on the 2026-09-28 gh api: MIT, 3★. Public page and repo HTTP 200. Preview is a Playwright capture of the tool page, cropped to 3:2 WebP.

同类型Same type