Typogrify.module brings the typographic refinements of Typogrify to Drupal.

  • Wraps ampersands (the “&” character) with <span class="amp"></span>.
  • Prevents single words from wrapping onto their own line using Shaun Inman's Widont technique.
  • Converts straight quotation marks "" to typographer's quotation marks “”, using SmartyPants.
  • Converts multiple hyphens to en dashes and em dashes (according to your preferences), using SmartyPants.
  • Wraps multiple capital letters with <span class="caps"></span>.
  • Wraps initial quotation marks with <span class="quo"></span> or <span class="dquo"></span>.
  • Adds a css style sheet that uses the <span> tags to substitute a showy ampersand in headlines, switch caps to small caps, and hang initial quotation marks.
  • Inserts ligatures (if supported by platform and browser).
  • Replaces ascii arrows with unicode arrows (if supported by platform and browser).

Learn more about Typogrify

The original Typogrify is Python code by Christian Metts. Typogrify.module uses Hamish Macpherson's PHP port of that code, php-typogrify.

Learn more about setting type for the web

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0-rc2 tar.gz (18.73 KB) | zip (22.77 KB) 2011-Apr-16 Notes
6.x-1.0 tar.gz (19.3 KB) | zip (23.58 KB) 2009-May-29 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (18.73 KB) | zip (22.77 KB) 2011-Apr-17 Notes
6.x-1.x-dev tar.gz (20.11 KB) | zip (24.29 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Typogrify

  • mikl - 42 commits
    last: 42 weeks ago, first: 3 years ago

Issues for Typogrify

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 25 Aug 07
nobody click here