Hi,
This was reported by a Debian user. Please retain
[email protected] in your responses, so that the Debian
BTS may have a copy of your response.
Using an oblique font for menus, as in:
MenuStyle Font -*-helvetica-medium-o-*-*-12-*-*-*-*-*-*-*
If the last character of a menu entry is for example an "l", "d"
or an "R", the upper right part of the glyph is not displayed, as if
the width of the text would be measured at the base line and the slant
causes the characters to go outside this box, the outside parts are not
displayed. When I highlight the entry with the mouse, the missing part
is drawn and stays this way (until the menu vanishes).
This has been verified on the latest Debian version, which is
2.5.27 + cherry picked patches from CVS.
This was raised way back in Mon, 16 Aug 2004 14:52:46 +0200, and
the response then was:
On Mon, Aug 16 2004, Dominik Vogt wrote:
>
> I pinned down the problem, but have no fix. In Flocale.c, the
> function XmbTextEscapement is used to get the width of a string.
> It returns the offset from the start of the string where the next
> character would be printed, but for slanted fonts that is not the
> width of the bounding box:
>
> normal font:
>
> |
> |
> |
> |
> |
> ^
> |
> start of next character, width = 1
>
> slanted font:
>
> /
> / ^
> / |___ width of bounding box = 5
> /
> /
> ^
> |
> start of next character, width = 1
>
> Any idea what we can do about it?
I was wondering if anyone had any insight over the last five
years or so :P
manoj
--
"Sometimes you leave a mark, before you know the score." Ric Ocasek,
"You Got You", from the album "This Side Of Paradise"
Manoj Srivastava <[email protected]> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C