Skip to content
Proyek

Tentang

FontGoggles: Visual OTL Preview and QA

Desain dan media

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+2
dalam 15 hari
+5
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

FontGoggles Icon

FontGoggles

Interactive Previewing and Comparing

For end-user documentation see fontgoggles.org.

The lastest release can be downloaded here.

FontGoggles was funded by Google Fonts.

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.

Jelajahi proyek terkait

Memuat…