https://github.com/googlefonts/fontview
Demo app that displays fonts with a free/libre/open-source text rendering stack: FreeType, HarfBuzz and Raqm
https://github.com/googlefonts/fontview
Last synced: over 1 year ago
JSON representation
Demo app that displays fonts with a free/libre/open-source text rendering stack: FreeType, HarfBuzz and Raqm
- Host: GitHub
- URL: https://github.com/googlefonts/fontview
- Owner: googlefonts
- License: other
- Created: 2016-08-03T12:13:16.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2021-03-01T21:50:00.000Z (over 5 years ago)
- Last Synced: 2025-03-31T05:04:45.348Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 6.89 MB
- Stars: 326
- Watchers: 51
- Forks: 37
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# FontView [](https://travis-ci.org/googlefonts/fontview)
“FontView” is a little demo app that shows the contents of a font
file. It opens `*.ttf`, `*.otf`, `*.ttc`, `*.otc`, `*.pfa`, and `*.pfb`
files. To render text, FontView uses the open-source libraries
[FreeType](https://www.freetype.org/),
[HarfBuzz](https://www.freedesktop.org/wiki/Software/HarfBuzz/), and
[Raqm](http://host-oman.github.io/libraqm/). FontView is not an
official Google product; use it at your own risk.

You’re very welcome to [contribute changes](CONTRIBUTING.md), for
example if you’d like porting the tool to other platforms than
macOS. (Because the program only calls cross-platform libraries,
porting should actually be quite easy). Likewise, please don’t
hesitate to add new features; simply send a GitHub pull request when
your change is ready.
## Building on macOS
```sh
$ git clone --recursive https://github.com/googlefonts/fontview.git;
# if you forget the recursive arg, run
# git submodule update --init --recursive
$ cd fontview
$ python2.7 build.py && ./build/FontView.app/Contents/MacOS/fontview
```
## Building on Linux
You need to first install wxWidgets as well as latest versions of FreeType,
HarfBuzz and FriBiDi.
```sh
$ git clone https://github.com/googlefonts/fontview.git
$ cd fontview
$ git submodule init
$ git submodule update src/third_party/raqm/libraqm
$ python build.py && ./build/fontview
```