To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=108684 Issue #|108684 Summary|Better text justification Component|Word processor Version|OOO320m11 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|ENHANCEMENT Priority|P3 Subcomponent|code Assigned to|od Reported by|hdu
------- Additional comments from h...@openoffice.org Tue Jan 26 16:27:34 +0000 2010 ------- Writer currently justifies text by three different methods depending on the script type (Latin, CJK, CTL). To do this it only has the logical widths of the string components. This results in a very sub-optimal line layout because it does not use any of the advanced typographical features available from the fonts such as using alternate glyphs or ligatures, optical bounds, etc. and results in very tricky problems when glyph clusters or reordering is involved. So the root cause problem is that the justified layout of the runs (aka. portions in WriterSpeak) is done in the wrong layer. Writer should let the specialized layout engines do this. It itself should focus on distributing the available space to portions. In practice this means that the DrawTextArray argument should not provide the pDXArray, but only the justified width. The cursor positions should be gotten from GetCaretPositions instead of GetTextArray, because the former provides the physical positions the latter allow only a rough calculation of the logical positions. This all would not only result in a better typographic layout (on the reference device) but also in a much better readability on the screen. Currently the lower layers have no way of distinguishing a writer request for e.g. a tab position to e.g. an adjusting-to-reference-device rounding problem (such as issue 88539). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org