Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/googlei18n/fontview

Demo app that displays fonts with a free/libre/open-source text rendering stack: FreeType, HarfBuzz and Raqm
https://github.com/googlei18n/fontview

Last synced: 20 days ago
JSON representation

Demo app that displays fonts with a free/libre/open-source text rendering stack: FreeType, HarfBuzz and Raqm

Awesome Lists containing this project

README

        

# FontView [![Build Status](https://travis-ci.org/googlefonts/fontview.svg?branch=master)](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.

![Screenshot](doc/fontview-v0.1.2.png)

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
```