--- id: pyobjc-framework-coretext version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-CoreText — Wrappers for the framework CoreText on macOS License: permissive · Maintenance: active · Downloads: 1.0M/mo ## What it is and what it does This package is a PyObjC wrapper around Apple's CoreText framework, exposing macOS's native text layout and font management capabilities to Python. CoreText is a low-level, high-performance API designed for sophisticated typographic control—font selection, text measurement, glyph layout, and rendering—making it the foundation for text handling in macOS applications. You use it when you need direct access to macOS font and text rendering from Python, typically in GUI applications built with PyObjC or when integrating with Cocoa-based tools. The package depends on three other PyObjC framework bindings (pyobjc-core, pyobjc-framework-Cocoa, and pyobjc-framework-Quartz) and is actively maintained. It includes no standalone documentation—you rely on Apple's CoreText documentation and PyObjC's general translation guides to understand the API. Use it for: - Build macOS GUI applications that need precise font selection and text measurement using native CoreText APIs. - Integrate Python scripts with Cocoa-based text rendering pipelines that require low-level typography control. - Develop macOS tools that manipulate fonts, glyphs, or text layout programmatically via native frameworks. - Create cross-framework Python bindings where CoreText integration is necessary for text handling. - Access advanced macOS typography features (ligatures, kerning, complex scripts) from Python code. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to macOS's CoreText framework for low-level text layout, font handling, and typographic operations on macOS 10.5 or later. Yes, if you are developing on macOS and need direct access to CoreText for text layout, font handling, or GUI applications using PyObjC. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is moderate due to platform and Python version constraints, but that is inherent to macOS-only bindings. Not applicable on non-macOS systems. ## Install pip install pyobjc-framework-coretext uv add pyobjc-framework-coretext poetry add pyobjc-framework-coretext ## Installing pyobjc-framework-CoreText Before you install: Medium install friction due to platform-specific wheels (macOS only, Python 3.10+) and three runtime dependencies on other PyObjC framework packages. Active maintenance with recent release (3 days old) and steady repository activity. License in practice: MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects. Quickstart: pip install pyobjc-framework-coretext from CoreText import CTFont, CTFontCreateWithName font = CTFontCreateWithName("Helvetica", 12.0, None) macOS only (requires macOS 10.5 or later); Python 3.10 or higher required; depends on pyobjc-core, pyobjc-framework-Cocoa, and pyobjc-framework-Quartz. Verify before relying: - Specific CoreText API coverage and completeness relative to Apple's full framework surface. - Performance characteristics for large-scale text layout operations. - Compatibility with non-Intel macOS architectures beyond universal2 wheels listed. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 1.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags macos text layout framework, python coretext bindings, font handling macos, pyobjc coretext wrapper, macos typography api, text rendering macos python, objective-c coretext bridge, macos-only, pyobjc-framework, typography [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-coretext) · [View on PyPI](https://pypi.org/project/pyobjc-framework-coretext/)