PHP Typography

Component ID

1397342

Component name

PHP Typography

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

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