1
0

Tweak autohinting

This commit is contained in:
2026-03-14 12:10:08 +01:00
parent bd9e4d99d5
commit 139b14dbf6
2 changed files with 36 additions and 1 deletions

View File

@@ -44,6 +44,8 @@ flatpak install flathub org.fontforge.FontForge
### macOS preparation
#### System Python
On macOS, if you're using the built-in version of Python (via Xcode), you may need to first add a folder to your `PATH` to make `font-line` available, like:
```bash
@@ -54,8 +56,27 @@ pip3 install fonttools font-line
source ~/.zshrc
```
#### Homebrew Python
If you're using `brew install python`, pip requires a virtual environment:
```bash
brew install fontforge ttfautohint
python3 -m venv .venv
source .venv/bin/activate
pip install fonttools
```
## Building
**Note**: If you're using `venv`, you will need to activate it first:
```
source .venv/bin/activate
```
If you are just using the system Python, you can skip that step and simply run:
```
python3 build.py
```