FontMapster 项目说明
简介
fontmapster 是一个获取动态字体映射的工具,包含通过非 ocr 及 ocr 通用的方式来获取动态字体加密的真实映射功能。
安装
简洁安装,不使用 ocr 的方法时推荐安装此便携版:
pip install fontmapster
单使用 rapidocr ocr 的方式时:
pip install fontmapster[rapidocr]
单使用 cnocr ocr 的方式时:
pip install fontmapster[cnocr]
安装所有依赖的方式:
pip install fontmapster[all]
简单示例
具体示例请在 tests 的测试文件中查看。
-
普通场景:
一般是比较标准的字体文件,可以通过通用的方法高效地得到映射。
-
ocr场景:在非标准字体文件,或者在一些字体不常变动的站点想快速得到结果时使用。
补充说明:
在 ocr 场景中可以很方便地调整字体大小,行间距,列间距等参数来提高 ocr 工具识别准确率。
比如以下由两个不同设置得到的图示(可以通过 show 参数在调试时使用)。
Metadata
Release files for fontmapster 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fontmapster-0.1.0.tar.gz | 5.8 kB | Without provenance | Details for fontmapster-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fontmapster-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fontmapster-0.1.0-py3-none-any.whl |
Total release size: 12.0 kB
Release files / fontmapster-0.1.0.tar.gz
| Download URL | fontmapster-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a8bc063f9c51c51a154c5c30708dad598c0cabf4488cb6a8cb5b2a13f3c4ada
|
|
BLAKE2b-256 checksum How to use checksums |
1b0bd9201730ce55a34750ca21f990ec26884f2776ac247d44895c9187014354
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.8.5 Linux/3.10.0-1160.102.1.el7.x86_64
|
Release files / fontmapster-0.1.0-py3-none-any.whl
| Download URL | fontmapster-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
923b047ecbf2265bed20b875db143ee41d80af8c47cf319865b925238d6664a1
|
|
BLAKE2b-256 checksum How to use checksums |
d9778f22494bbfbb4869ac0ba658f75b6917e6c50ef6c3990cea909cb0185beb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.8.5 Linux/3.10.0-1160.102.1.el7.x86_64
|
Security for fontmapster 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.