Skip to main content

pyusp — Uniscribe (usp10) OpenType shaping tracer (Windows-only wheel)

PyO3 abi3 wheel (pyusp-…-py3-none-win_amd64.whl) wrapping the pyusp Rust engine. Shapes in-process via a Uniscribe implementation and returns the babelsoft /api/opentype/shape engine dict.

from pyusp import shape_with_uniscribe
res = shape_with_uniscribe(font_bytes, text)          # script auto-detected
res = shape_with_uniscribe(font_bytes, text, script="mong")

Engines. The wheel ships wineusp.dll, Wine's open-source Uniscribe port (LGPL), which also provides a real per-lookup trace (trace=True). It drives the OS usp10.dll (Microsoft Uniscribe) as the authoritative reference — the Microsoft DLL is not bundled in the published wheel (it is an OS component and not redistributable); the engine loads it from the system at runtime. A dev/test-only build (python/build_wheel.ps1) may additionally pin an app-local copy of usp10.dll; see python/pyusp/NOTICE.md and python/pyusp/NOTICE-wineusp.md.

Scope note: usp10 only recognises legacy OpenType script tags. Fonts that use only modern tags (e.g. Devanagari faces exposing dev2, not deva) are not shaped by Uniscribe at all — this matches what old Win32 apps that rely on usp10 actually experience.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyusp-0.3.0-cp39-abi3-win_amd64.whl (336.4 kB view details)

Uploaded CPython 3.9+Windows x86-64

File details

Details for the file pyusp-0.3.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: pyusp-0.3.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 336.4 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyusp-0.3.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 09724df1465307181a565967eebbe1ed2b09510775caa85ceb4baaeb47dcf434
MD5 106eb069bb8f919b2f94e0716ff30840
BLAKE2b-256 43d78868ae9052450be7b299c581b54b889a4b9fed3969ddb734afaa8b15f436

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyusp-0.3.0-cp39-abi3-win_amd64.whl:

Publisher: publish.yml on Kushim-Jiang/pyusp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.6.0

3 files

0.5.0

3 files

0.4.0

3 files

This release

0.3.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page