Locating Text Rotation Code

Caolán McNamara caolanm at redhat.com
Mon Jun 18 13:18:14 PDT 2012


On Mon, 2012-06-18 at 12:47 -0700, Joel Madero wrote:
> I haven't found the code that actually tells writer what to do with
> the rotation. Any help greatly appreciated, once I find the code I can
> handle the bug.

The SwFont::SetVertical and SwFont::GetOrientation stuff in
sw/source/core/txtnode/swfont.cxx might be helpful. Or maybe run around
to the other side where the text actually gets drawn to screen in
vcl/unx/generic/gdi/salgdi3.cxx and put breakpoints on the two
cairo_matrix_rotate calls and examine the backtrace then to see where it
all comes from.

C.



More information about the LibreOffice mailing list