Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fazleyrabby/font-narrower
Python script for scaling fonts
https://github.com/fazleyrabby/font-narrower
Last synced: 4 days ago
JSON representation
Python script for scaling fonts
- Host: GitHub
- URL: https://github.com/fazleyrabby/font-narrower
- Owner: fazleyrabby
- License: mit
- Created: 2024-09-16T17:07:24.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T17:46:26.000Z (2 months ago)
- Last Synced: 2024-09-16T21:48:37.471Z (2 months ago)
- Language: Python
- Homepage:
- Size: 10.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Font-narrower
Python script for modifying font scaling (height and width)Clone this repo then install fontTools package using pip:
`pip install fonttools`Then run this python script:
`python fontNarrow.py fonts narrow-fonts --scale_factor_width=0.75 --scale_factor_height=0.85`It will take all the fonts from `fonts` folder and make a narrower version with the scale factors given as argument and store it to narrow-fonts folder
Note: As example I have tested with `Monaspace Fonts`