To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=96475
------- Additional comments from [email protected] Fri Jan 9 13:13:04 +0000 2009 ------- > IF text decorations CAN stick out of the TextRange (as given from > OutputDevice::getTextBoundRect) getTextBoundRect() returns the boundrect of the "inked area". So text decorations can of course extend the original range, E.g. in the example Martin provided the ink for string "bold" is completely above the baseline and the underline is below the baseline. So the root of the bug is indeed the missing TextDecoratedPortionPrimitive2D::getB2DRange(). Implementing it with decomposition is probably the easiest way. Should this approach show up while profiling it can be made much cheaper for a lot a situations, e.g. embossed text, emphasis marks, etc. --------------------------------------------------------------------- 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: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
