Skip to content

GitHub font preview

Rob Garrison edited this page Jun 13, 2016 · 33 revisions

GitHub-code-colors | GitHub-custom-hotkeys | GitHub-font-preview | GitHub-image-preview | GitHub-issue-comments | GitHub-issue-counts | GitHub-issue-highlighter | GitHub-table-of-contents | GitHub-title-notification | GitHub-toggle-wiki-sidebar | Gist-to-dabblet

GitHub Font Preview

A userscript that adds a font file preview

  • This script adds the ability to preview fonts & glyphs.
  • Currently ony OpenType (otf), TrueType (ttf) and Web Open (woff; not woff2) font formats are supported.
  • opentype.js is used for font rendering and the preview code has been blatantly copied from the font inspector and glyph inspector demos (Copyright © 2015 Frederik De Bleser; MIT license).
  • Click this link to install from GitHub, or install from GreasyFork.
  • After installing, try the userscript on this page: Font-Awesome.

Screenshot

github-font-preview

Change Log

Version 1.0.2 (6/12/2016)

  • Add UI improvements
    • Add loading indicator.
    • Toggle arrows & points in glyph preview.
    • Toggle glyph index/unicode.
    • Increase font size of glyph index/unicode.
    • Add color to pagination.
    • Increase size of glyph blocks.
    • Prevent glyph data from displaying "undefined" values.

Version 1.0.1 (6/11/2016)

  • Show "Undefined" for empty font tables; usually the Font Variations (fvar) table.

Version 1.0.0 (6/11/2016)

  • Initial commit
Clone this wiki locally