speedata / publisher

speedata Publisher - a professional database Publishing system
https://www.speedata.de/
GNU Affero General Public License v3.0
296 stars 36 forks source link

<Nobreak reduce="fontsize"> behaviour unpredictable on short lines #177

Closed iclukas closed 6 years ago

iclukas commented 6 years ago

Using <Nobreak reduce="fontsize"> on shorter text yields unpredictable behaviour. Sometimes the text overshoots quite a bit. It seems to depend on lettershapes, font size and width of the <Textblock>.

The quick brown fox jumps over the lazy dog. The quick brown fox jumps over. The quick brown fox jumps ove. The Quick Brown Fox Jumps Ove. The quick brown fox jumps ov. The Quick Brown Fox Jumps Ov. The quick brown fox jumps o. The Quick Brown Fox Jumps O.
pgundlach commented 6 years ago

Ouch... thanks for the report, I'll have a look.

iclukas commented 6 years ago

Found it. Will create a PR.