PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Migradoc: Alt255 spacing breaking word wrap?
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1942
Page 1 of 1

Author:  cbardgett [ Wed Mar 14, 2012 1:27 pm ]
Post subject:  Migradoc: Alt255 spacing breaking word wrap?

I am trying to use Migradoc (great software btw) to print out text where white space between words is needing to be preserved.

The text might look like:

Text 1 Text 2 Text3
Really long sentence blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah


If I use the suggestion of Alt255 spacing, the white space is preserved but this breaks word wrap for the paragraph and the text just keeps on going off the end of the page.

Is there a better work around?

Author:  Thomas Hoevel [ Fri Mar 16, 2012 9:34 am ]
Post subject:  Re: Migradoc: Alt255 spacing breaking word wrap?

The Alt+255 (non-breaking space) is required only if you need more than 1 space between two words.

I'd try this: for n spaces, use (n-1) non-breaking spaces (Alt+255) followed by a single normal space.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/