<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - width set to 0 for vertical text"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98814#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - width set to 0 for vertical text"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98814">bug 98814</a>
from <span class="vcard"><a class="email" href="mailto:jeanphilippe.perrotton@gmail.com" title="perrotton <jeanphilippe.perrotton@gmail.com>"> <span class="fn">perrotton</span></a>
</span></b>
<pre>my last fix proposition wasn't good enough, actually a shift (x coordonate) was
gradually added for each characters on same vertical line.
I found a solution,in function Gfx::doShowText() :
I changed :
...
} else if (out->useDrawChar()) {
...
state->shift(tdx, tdy);
...
}
by :
...
} else if (out->useDrawChar()) {
...
if (wMode) { // vertical
state->shift(0, tdy);
} else { // horizontal
state->shift(tdx, tdy);
}
...
}
as you can see I have made my changes only in "if (out->useDrawChar()) {"
statement.
perhaps it as to be done elsewhere too</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>