LayoutFarm/Typography

Line breaking for „ and “

MartinZikmund opened this issue · 8 comments

I have noticed line breaks for a word wrapped in „ and “, for example:

image

Moving the „ character to the next line as well would be better. Can this be adjusted, please?

@Happypig375 ,

Do you know about CShrapMath word-wrap algorithm ?

What do you think about this line-breaking?

Need to think of a way to differentiate between punctuation that go to end of lines and start of lines.

Figure 6-3. European Quotation Marks

Single right quote = apostrophe

‘quote’ don’t

Usage depends on language

“English” « French »
„German“ »Slovenian«
”Swedish” »Swedish books»

We can probably just group punctuation with normal text as a single word-wrap group as spaces seem to be inserted before start-of-line punctuation and after end-of-line punctuation.

@MartinZikmund Typography.TextBreak only chops text into pieces depending on the text type, e.g. punctuation, space, newline and normal text. Any line breaking and special handling of punctuation is on CSharpMath's side.

Oh I see! Sorry for the confusion 🙂