Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[request] PHP Typography
PHP Typography is a PHP based solution to greatly improve web typography. It features the following capabilities (including granular control):
- 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, dashes, ellipses, trademarks, multiplication symbols, fractions, and ordinal suffixes (i.e. 1st, 2nd, 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 project merges, builds upon, and generalizes the functionality of wp‐Typogrify, wp‐Hyphenate and SmartyPants.
Not sure what it would take to get into Textpattern, especially if it’s to work nice with Textile. But a lot of what it does sounds very appealing!
Offline
#2 2009-07-07 16:27:07
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: [request] PHP Typography
Jason
Have you tried aam_typogrify? I think it handles at least some of your requests.
— Steve
Offline
Re: [request] PHP Typography
Had a look at the link and was amused that in the first browser I used (OmniWeb) I couldn’t see the hyphens. Especially amusing as this was the line that I noticed first:
It features the following capabil
ties
Other browsers handle it as intended, but this is an interesting take on the issue of soft hyphens.
Code is topiary
Offline
Re: [request] PHP Typography
Yes, well, aam_typogrify is wonderful but this does more! I’m especially excited about the hyphenation. And the extra CSS hooks sound nice.
Jsoo—huh, very interesting to read your link about ­ …
Last edited by floodfish (2009-07-07 16:40:27)
Offline
Re: [request] PHP Typography
Hey Jason. checked out your site and really like your watercolors and illustrations. Keep it up dude. {we return yo now to your original topic}
Offline
Re: [request] PHP Typography
Thanks so much, Dale!
Offline
Pages: 1