| 1 |
$Id$
|
| 2 |
|
| 3 |
|
| 4 |
What is Typogrify.module?
|
| 5 |
=========================
|
| 6 |
|
| 7 |
Typogrify.module brings the typographic refinements of Typogrify to Drupal.
|
| 8 |
|
| 9 |
* Wraps ampersands (the "&" character) with <span class="amp">&</span>.
|
| 10 |
|
| 11 |
* Prevents single words from wrapping onto their own line using Shaun Inman's Widont technique.
|
| 12 |
|
| 13 |
* Converts straight quotation marks to typographer's quotation marks, using SmartyPants.
|
| 14 |
|
| 15 |
* Converts multiple hyphens to en dashes and em dashes (according to your preferences), using SmartyPants.
|
| 16 |
|
| 17 |
* Wraps multiple capital letters with <span class="caps">CAPS</span>.
|
| 18 |
|
| 19 |
* Wraps initial quotation marks with <span class="quo"></span> or <span class="dquo"></span>.
|
| 20 |
|
| 21 |
* 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.
|
| 22 |
|
| 23 |
|
| 24 |
Learn more about Typogrify
|
| 25 |
==========================
|
| 26 |
|
| 27 |
Typogrify originated as Python code by Christian Metts. Typogrify.module uses Hamish Macpherson's port, php-typogrify.
|
| 28 |
|
| 29 |
Announcement:
|
| 30 |
http://www2.jeffcroft.com/sidenotes/2007/may/29/typogrify-easily-produce-web-typography-doesnt-suc/
|
| 31 |
|
| 32 |
Example Page:
|
| 33 |
http://static.mintchaos.com/projects/typogrify/
|
| 34 |
|
| 35 |
Project Page:
|
| 36 |
http://code.google.com/p/typogrify/
|
| 37 |
|
| 38 |
Typogrify.module uses PHP Typogrify:
|
| 39 |
http://blog.hamstu.com/
|
| 40 |
|
| 41 |
Typogrify.module uses PHP SmartyPants:
|
| 42 |
http://www.michelf.com/projects/php-smartypants/
|
| 43 |
|
| 44 |
To learn more about Widont:
|
| 45 |
http://www.shauninman.com/archive/2006/08/22/widont_wordpress_plugin
|
| 46 |
|
| 47 |
|
| 48 |
Learn more about setting type for the web
|
| 49 |
=========================================
|
| 50 |
|
| 51 |
The Elements of Typographic Style Applied to the Web
|
| 52 |
http://webtypography.net/
|
| 53 |
|
| 54 |
Five simple steps to better typography
|
| 55 |
http://www.markboulton.co.uk/journal/comments/five_simple_steps_to_better_typography/
|
| 56 |
|
| 57 |
Thinking With Type
|
| 58 |
http://www.thinkingwithtype.com/
|
| 59 |
|
| 60 |
And if you're going to buy one book...
|
| 61 |
http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/dp/0881791326
|