I traced the code and suspect it is related to how DrawText in
StaticCairoText.cpp uses a smaller width than expected.

In function GetTextExtents, for the case of a gnome-terminal window,
logRect.width returns from pango_layout_get_extents is 28800. As
PANGO_SCALE is 1024, variable width (logRect.width/PANGO_SCALE) is 28 as
it's an int.

Later on in function DrawText, the value of variable width is used for
pango_layout_set_width for the same text, which I think is not enough
and thus ellipsis shows.

I am not familiar with pango but hopes this gives a direction to where
the problem lies.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/830801

Title:
  App Switcher (Alt+Tab) doesn't display the full title of apps in
  Chinese

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/830801/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to