emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bidi reordering engine upgraded


From: Eli Zaretskii
Subject: Re: Bidi reordering engine upgraded
Date: Fri, 17 Oct 2014 13:31:22 +0300

> From: Thien-Thi Nguyen <address@hidden>
> Date: Fri, 17 Oct 2014 12:27:24 +0200
> 
> 
>    Where did the 11th one come from, when we requested a
>    width of 10?
> 
> It comes from the (deeply-reviled, IMNSHO) misdesign of
> XDrawRectangle(3), which uses the word "width" in the
> parameter name (and description), but is actually described
> later to draw a rectangle whose width, as measured by pixels
> rendered, is ‘width + 1’.  Yuck!  And that description is not
> straightforward, but instead exposes, and thus requires the
> reader to understand, the ‘PolyLine’ X protocol request, an
> implementation detail.  Ugh!Ly!  [Insert more ranting here.]

OK, we are in violent agreement here.

>    Why not just a single-pixel vertical line instead?
> 
> Wouldn't that lose the "hollow" look?

Yes, but I think the alternatives are worse.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]