What hy­phen­ation al­go­rithm is used?

The hy­phen­ation al­go­rithm used by wp-​Typography is based on the 1983 Stan­ford Ph.D. the­sis of pro­fes­sor Frank Liang: Word Hy-​phen-​a-​tion by Com-​puter. In this the­sis, Dr. Liang al­so de­vel­oped an Eng­lish (Unit­ed States) pat­tern file for use with his al­go­rithm. Liang’s Eng­lish pat­tern file was up­dat­ed in 1991 by Pe­ter Breitenlohner.

The re­sult­ing al­go­rithm — with the Eng­lish (Unit­ed States) pat­terns — finds 90% of all al­lowed hy­phen­ation points iden­ti­fied in the Webster’s […]


| | Posted in | Comments Off on What hy­phen­ation al­go­rithm is used?

Does hy­phen­ation af­fect search?

It de­pends on the search en­gine. Google and Ya­hoo prop­er­ly han­dle the soft-​hyphen char­ac­ter. Mi­crosoft and Ask im­prop­er­ly treat soft-​hyphens as word breaks. For­tu­nate­ly, Google and Ya­hoo com­prise more than 90% of the search market.

Be­cause Word­Press search queries the data­base — and hy­phen­ation is not stored to the database-​local search is not affected. […]


| | Posted in | Comments Off on Does hy­phen­ation af­fect search?

Which browsers sup­port hyphenation?

Start­ing with In­ter­net Ex­plor­er 6, Fire­fox 3, Sa­fari 2, and Opera 8, all ma­jor web browsers have of­fered full sup­port for on­line hyphenation. […]


| | Posted in | Comments Off on Which browsers sup­port hyphenation?

How does hy­phen­ation work?

The soft-​hyphen is an in­vis­i­ble char­ac­ter that com­mu­ni­cates to web browsers al­low­able line breaks with­in words. When a web brows­er wraps a line at a soft-​hyphen, a hy­phen is shown at line’s end.

Sim­i­lar to the soft-​hyphen, the zero-​space char­ac­ter com­mu­ni­cates al­low­able line breaks with­in strings of text. But un­like the soft-​hyphen, it does not show a hy­phen at line’s end. This is ide­al for forc­ing con­sis­tent wrap­ping of long URLs. It al­so can be used to force line […]


| | Posted in | Comments Off on How does hy­phen­ation work?

Why hy­phen­ate?

Hy­phen­ation in­creas­es the vi­su­al ap­peal of your web­site. When jus­ti­fy­ing text with­out hy­phen­ation, word spac­ing is dis­tract­ing­ly large. With left-​aligned text, the right edge will be un­nec­es­sar­i­ly ragged. […]


| | Posted in | Comments Off on Why hy­phen­ate?

What hy­phen­ation lan­guage pat­terns are included?

wp-​Typography has multi-​language sup­port. Pat­tern li­braries are in­clud­ed for:

  • Afrikaans,
  • Ar­men­ian,
  • As­samese,
  • Basque,
  • Be­laru­sian,
  • Ben­gali,
  • Bul­gar­i­an,
  • Cata­lan,
  • Chi­nese Pinyin (Latin),
  • Church Slavon­ic,
  • Croa­t­ian,
  • Czech,
  • Dan­ish,
  • Dutch,
  • Eng­lish (Unit­ed Kingdom),
  • Eng­lish (Unit­ed States),
  • Es­peran­to,
  • Es­ton­ian,
  • Finnish,
  • French,
  • Friu­lan,
  • Gali­cian,
  • Geor­gian,
  • Ger­man,
  • Ger­man (Tra­di­tion­al),
  • Greek (An­cient),
  • Greek (Mod­ern Monotonic),
  • Greek (Mod­ern Polytonic),
  • Gu­jarati,
  • Hin­di,
[…]
| | Posted in | Comments Off on What hy­phen­ation lan­guage pat­terns are included?

My hy­phen­ation set­tings are ig­nored. What’s wrong?

Re­cent brows­er ver­sions sup­port the hyphens CSS prop­er­ty to en­able hy­phen­ation. If you want to the fin­er con­trol over hy­phen­ation that wp-​Typography of­fers, make sure that the your theme stylesheet does not contain

(or one of its vendor-​prefixed vari­ants like -webkit-hyphens). If you can’t re­move the prop­er­ty from the the­me’s stylesheet, make sure to add

in a child theme stylesheet or wp-​Typography’s in­ject­ed CSS. (Don’t for­get the vendor-​prefixed variations!) […]


| | Posted in | Comments Off on My hy­phen­ation set­tings are ig­nored. What’s wrong?

Why are words hy­phen­at­ed in­cor­rect­ly or not at all?

This plu­g­in in­cludes hy­phen­ation pat­terns for over 50 lan­guages. Please make sure your website’s pri­ma­ry lan­guage is se­lect­ed. wp-​Typography pref­er­ences can be set in the Word­Press ad­min sec­tion un­der Settings > wp-Typography. […]


| | Posted in | Comments Off on Why are words hy­phen­at­ed in­cor­rect­ly or not at all?