[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] Disabled word wrapping

For unknown reasons the interpretation of the "word wrapping" record 
when loading text objects was disabled, so up to now, all text objects 
loaded from file were set to non-word-wrapping.

Find attached below a patch to fix this.

Index: Kernel/rechtext.cpp
--- Kernel/rechtext.cpp	(Revision 1401)
+++ Kernel/rechtext.cpp	(Arbeitskopie)
@@ -556,7 +556,7 @@
 // This is to prevent text stories overflowing when a font has been substituted.
 // It was decided that it is better for each individual line to extend past the format width, rather than
 // letting the story potentially create extra lines due to formatting width characters into the same width
+#if defined(EXCLUDE_FROM_RALPH)
 		WordWrapOn = FALSE;