Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justvanrossum/fontgoggles
FontGoggles: Visual OTL Preview and QA
https://github.com/justvanrossum/fontgoggles
cocoa font fonts macos-app python
Last synced: about 18 hours ago
JSON representation
FontGoggles: Visual OTL Preview and QA
- Host: GitHub
- URL: https://github.com/justvanrossum/fontgoggles
- Owner: justvanrossum
- License: apache-2.0
- Created: 2019-12-04T05:34:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-27T17:14:22.000Z (13 days ago)
- Last Synced: 2025-02-01T22:03:33.936Z (8 days ago)
- Topics: cocoa, font, fonts, macos-app, python
- Language: Python
- Homepage:
- Size: 48.9 MB
- Stars: 416
- Watchers: 20
- Forks: 43
- Open Issues: 70
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Authors: AUTHORS.txt
Awesome Lists containing this project
README
![FontGoggles Icon](docs/images/icon.png)
# FontGoggles
_Interactive Previewing and Comparing_
For end-user documentation see [fontgoggles.org](https://fontgoggles.org/).
The lastest release can be downloaded [here](https://github.com/justvanrossum/fontgoggles/releases/latest).
FontGoggles was funded by [Google Fonts](https://fonts.google.com/).
## Brief description
FontGoggles is a font viewer desktop app for macOS that supports these file formats:
- `.otf`, `.ttf`, `.otc`, `.ttc`, `.woff`, `.woff2`
- `.ufo`
- `.designspace`
- `.ttx`It uses HarfBuzz for line layout, so it supports complex scripts. The source formats are partially compiled on the fly, so their line layout and variation behaviour can be realistically previewed.
When a font file changes on disk, FontGoggles will automatically reload it and show the updated version.
## Build instructions
If you want to build and run the app from the source, follow these instructions.
- Make sure you have Python 3.10 or up installed, preferably from python.org, but homebrew may work, too.
- Clone this repository.
- `cd` into the repository folder.
- Setup a virtual environment:
`$ python3 -m venv venv --prompt=fontgoggles`
- Activate the environment:
`$ source venv/bin/activate`
- Update `pip`:
`$ pip install --upgrade pip`
- Install dependencies:
`$ pip install -r requirements.txt`
- Install dev dependencies:
`$ pip install -r requirements-dev.txt`
- Install our lib:
`$ pip install .`
- Or, if you prefer an editable install of our lib:
```
$ pip install -e .
$ ./Turbo/build_lib.sh
```(The latter step builds a required C library, that otherwise wouldn't get built in editable mode.)
- Run some tests:
`$ pytest`
- Build the application:
`$ python App/setup.py py2app`
You'll find the built application in `App/dist/`
Now you can drop some fonts onto the app, or a folder containing fonts.