Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
A module to make KINGdesk's typography available for Drupal.
PHP Typography corrects web typography with the following respects:
- Hyphenation
- Spacing control, including: gluing values to units, widow protection, and forced internal wrapping of long URLs & email addresses.
- Intelligent character replacement, including smart handling of: quote marks (“foo”), dashes (foo – bar), ellipses (…), trademarks (™), math symbols (1024×768), fractions (12⁄23), and ordinal suffixes (3rd)
- CSS hooks for styling: ampersands (class “amp”), acronyms (class “caps”), numbers (class “numbers”), initial single quotes (class “quo”), and initial double quotes & guillemets (class “dquo”).
This module …
- makes PHP Typography available in Drupal
- provides fine-grained settings (all from this list)
- allows to set the quotation marks on a per language basis
Project information
- Created by simon04 on , updated