Fontforge_plugin to fix issues to generated OT font
Project description
Fontforge OT Fixup
Fontforge_plugin to fix issues to generated OT font
Install
pip3 install fontforge_ot_fixup
Make sure Fontforge Python module is usable
In interactive mode of Python, run:
import fontforge
If it raises ModuleNotFoundError exception, install Fontforge first. If
installed, make sure the build option set that the Python module gets also
installed. If already so, Python interpreter does not recognize the module
path where the required module.
export PYTHONPATH=/path/to/fontforge/python/module:$PYTHONPATH
Usage
In Fontforge GUI
This plugin adds following items into "Tools" menu:
- Activate smart dropout
Activate smart dropout
This appends the following bytecode into prep table:
B8h PUSHW
01FFh 511
85h SCANCTRL
B0h PUSHB
04h 4
8Dh SCANTYPE
If already appended the menu will be disabled.
In Python script
import fontforge
import fontforge_otfixup
font = fontforge.open('path/to/font.sfd')
sdActive = fontforge_otfixup.isSmartDropoutActive(font)
fontforge_otfixup.activateSmartDropout(font)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fontforge_ot_fixup-0.1.0.tar.gz.
File metadata
- Download URL: fontforge_ot_fixup-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08f8304bd0fd792da2245506ee027040aec7fd665d6bdc0e5a130fd6808d695a
|
|
| MD5 |
276132bec0595fdc2edc71c8f5032cc8
|
|
| BLAKE2b-256 |
4c6980d90137c00432cf7b34c941b70e9f18466866f4be64bf09e94f9197e0c2
|
Provenance
The following attestation bundles were made for fontforge_ot_fixup-0.1.0.tar.gz:
Publisher:
python-publish.yml on MihailJP/fontforge-ot-fixup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fontforge_ot_fixup-0.1.0.tar.gz -
Subject digest:
08f8304bd0fd792da2245506ee027040aec7fd665d6bdc0e5a130fd6808d695a - Sigstore transparency entry: 1057028070
- Sigstore integration time:
-
Permalink:
MihailJP/fontforge-ot-fixup@e32966147ee59647d3a9471332c70c49507277cc -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/MihailJP
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e32966147ee59647d3a9471332c70c49507277cc -
Trigger Event:
release
-
Statement type:
File details
Details for the file fontforge_ot_fixup-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fontforge_ot_fixup-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd596a044900e4266422df6aafbd1256d5ace3a0d2dd185834535cf7d46e23be
|
|
| MD5 |
d2a2323f3e306df1b6070e410a233ff1
|
|
| BLAKE2b-256 |
15acd32e0949cfb203835b65bd9c72dc72eaa3b171d02a1dd751e1e36dc73e43
|
Provenance
The following attestation bundles were made for fontforge_ot_fixup-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on MihailJP/fontforge-ot-fixup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fontforge_ot_fixup-0.1.0-py3-none-any.whl -
Subject digest:
bd596a044900e4266422df6aafbd1256d5ace3a0d2dd185834535cf7d46e23be - Sigstore transparency entry: 1057028085
- Sigstore integration time:
-
Permalink:
MihailJP/fontforge-ot-fixup@e32966147ee59647d3a9471332c70c49507277cc -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/MihailJP
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@e32966147ee59647d3a9471332c70c49507277cc -
Trigger Event:
release
-
Statement type: