Skip to main content

font file parser library in Python

Project description

font-parser

一个用于解析PCF字体文件的Python库

Use

from fontparse import PCF
font = PCF("./unifont-15.1.04-l.pcf") # your PCF file
font.printGlyph(font.encodeChar("a"), " ", "*")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fontparser-0.1.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fontparser-0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file fontparser-0.1.tar.gz.

File metadata

  • Download URL: fontparser-0.1.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for fontparser-0.1.tar.gz
Algorithm Hash digest
SHA256 a3e907ad93d5a284b0fdd798fe45fdf8bcb73ebafde48cb7dcb33d23732dbc8b
MD5 d6df5a8cbe128a6d6a80a1b33d3fa66f
BLAKE2b-256 23a9801e98d89e26158fb995d895b2730521cd11d013b89f876e2b01dd9d3d4b

See more details on using hashes here.

File details

Details for the file fontparser-0.1-py3-none-any.whl.

File metadata

  • Download URL: fontparser-0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for fontparser-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7eb5fee25f284ba3a6e4646c1e82c503bdf5d74b9e227abbdc08085c79b845b
MD5 988a4eadeb7a9e60d4781d57bff0e02c
BLAKE2b-256 bd706506dfd659dfaf03e08ccfb20a871bfd6a0ee250806ffb05e65e947d05aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page