[wp-trac] [WordPress Trac] #18486: Add CSS3 Hyphenation to Twenty Eleven

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 19 19:19:02 UTC 2011


#18486: Add CSS3 Hyphenation to Twenty Eleven
------------------------------------+------------------------------
 Reporter:  sksmatt                 |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Bundled Theme           |     Version:  3.2.1
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by sksmatt):

 Good points. Might be mostly a design preference. This is what I have:

 Replying to [comment:3 toscho]:
 > Could you point out why this is useful and which problem it will solve?

 Extracts from [Font Deck http://blog.fontdeck.com/post/9037028497/hyphens]

 Why Hyphenation?

 "[...] Justified text (where words line up on both the left and right
 margins) generally looks terrible on the web because ‘rivers’ of white are
 introduced through the text as words are spaced apart to make lines touch
 both margins. These rivers make reading harder as the eye is drawn down
 them instead of along the line of text. If justification is not applied
 then lines of text can still appear overly ‘ragged’ at their ends. This
 tends to prohibit use of narrow measures (short lines). Hyphenation helps
 alleviate both these issues."

 > In languages with longer average words (Finnish, German) we would risk
 too many hyphenated line endings. I think this is rather a child theme
 territory.

 "It works for all languages which have a hyphenation dictionary. You will
 need to specify the language of the text somewhere, either in an HTTP
 header or by using the lang="en" or lang="fr", etc attribute where
 hyphenation is required."

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18486#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list