diff options
author | sgeerken <devnull@localhost> | 2012-09-05 23:08:04 +0200 |
---|---|---|
committer | sgeerken <devnull@localhost> | 2012-09-05 23:08:04 +0200 |
commit | 83aa6f47e22e6f659110b84e40283e0101df88d3 (patch) | |
tree | 12a06dfb047b76ca028fee703dde9fef29152223 /doc | |
parent | ad24e923d3ebc769789f05349a3034be9a551bee (diff) |
Exact definition of HYPHEN_BREAK.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dw-line-breaking.doc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/dw-line-breaking.doc b/doc/dw-line-breaking.doc index ed6e573d..12e89829 100644 --- a/doc/dw-line-breaking.doc +++ b/doc/dw-line-breaking.doc @@ -1,7 +1,7 @@ /** \page dw-line-breaking Changes in Line-Breaking and Hyphenation -<div style="border: 2px solid #ff0000; margin-bottom: 0.5em; -padding: 0.5em 1em; background-color: #ffe0e0"><b>Warning:</b> +<div style="border: 2px solid #ffff00; margin-bottom: 0.5em; +padding: 0.5em 1em; background-color: #ffffe0"><b>Info:</b> Should be incorporated into dw::Textblock.</div> <h2>Introduction</h2> @@ -105,10 +105,7 @@ details in the comment there) has to be included when calculating line widths. Some values should be configurable: dw::Textblock::HYPHEN_BREAK, the -penalty for hyphens. (Unfortunately, this value is currently not well -defined, because of the integer arithmetics in -dw::Textblock::BadnessAndPenalty.) Also -dw::Textblock::Word::stretchability, +penalty for hyphens. Also dw::Textblock::Word::stretchability, dw::Textblock::Word::shrinkability, which are both set in dw::Textblock::addSpace. |