W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] Hyphenation

From: Håkon Wium Lie <howcome@opera.com>
Date: Tue, 9 Jan 2007 14:37:13 +0100
Message-ID: <17827.39561.418277.650558@gargle.gargle.HOWL>
Also sprach Alexey Feldgendler:

 > > I would suggest that the first priority is getting a naive hyphenator
 > > into browsers. Since you only ever need hyphenation when
 > > full-justifying, I would suggest:
 > >
 > > align: hyphenated;
 > 
 > In some typographical traditions, non-full-justified text is
 > sometimes hyphenated. I believe that hyphenation should be a
 > separate property, orthogonal to text-align. Also, there are some
 > common hyphenation options (like the maximum number of consequtive
 > hyphenated lines allowed) that are also worth CSS properties.

Prince6 (www.princexml.com) supports these properties:

  hyphenate: none | auto
  hyphenate-dictionary: none | url(...)
  hyphenate-before: <int>
  hyphenate-after: <int>
  hyphenate-lines: none | <int>

(with a "prince-" prefix)

You can see the properties in use here:

  http://www.princexml.com/howcome/2006/p6/p6demo2.html

Currently, Prince will only hypenate paragraphs with 'text-align:
justify'. I agree that hypenation is useful in other cases as well.

-h&kon
              H?kon Wium Lie                          CTO ??e??
howcome at opera.com                  http://people.opera.com/howcome
Received on Tuesday, 9 January 2007 05:37:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:51 UTC