From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bidi reordering engine upgraded Date: Fri, 17 Oct 2014 13:31:22 +0300 Message-ID: <83zjcv0yyt.fsf@gnu.org> References: <834mv55quj.fsf@gnu.org> <543E9122.6070605@yandex.ru> <8338ap5o7l.fsf@gnu.org> <543E9A1C.2010904@yandex.ru> <831tq95m6x.fsf@gnu.org> <83zjcx450f.fsf@gnu.org> <83y4sh43zq.fsf@gnu.org> <543F41C9.3000507@yandex.ru> <83oatc4gz3.fsf@gnu.org> <877g005p11.fsf@zigzag.favinet> <83egu848xv.fsf@gnu.org> <8738ao5emi.fsf@zigzag.favinet> <8361fk3yxc.fsf@gnu.org> <87y4sf45hj.fsf@zigzag.favinet> <838ukf2pcq.fsf@gnu.org> <87tx333zjt.fsf@zigzag.favinet> <8338an2jcd.fsf@gnu.org> <87ppdr3sab.fsf@zigzag.favinet> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1413541918 13812 80.91.229.3 (17 Oct 2014 10:31:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2014 10:31:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 17 12:31:51 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xf4p5-00085i-H1 for ged-emacs-devel@m.gmane.org; Fri, 17 Oct 2014 12:31:51 +0200 Original-Received: from localhost ([::1]:59106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf4p5-0007v0-3f for ged-emacs-devel@m.gmane.org; Fri, 17 Oct 2014 06:31:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf4oo-0007uu-4n for emacs-devel@gnu.org; Fri, 17 Oct 2014 06:31:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf4oi-0004Yg-8g for emacs-devel@gnu.org; Fri, 17 Oct 2014 06:31:34 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:52779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf4oi-0004Yc-1C for emacs-devel@gnu.org; Fri, 17 Oct 2014 06:31:28 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NDL00D003TDXR00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Fri, 17 Oct 2014 13:31:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDL00D5R3WESQ90@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Fri, 17 Oct 2014 13:31:26 +0300 (IDT) In-reply-to: <87ppdr3sab.fsf@zigzag.favinet> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175513 Archived-At: > From: Thien-Thi Nguyen > Date: Fri, 17 Oct 2014 12:27:24 +0200 >=20 >=20 > Where did the 11th one come from, when we requested a > width of 10? >=20 > 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 =E2=80=98width + 1=E2=80=99. Yuck! And that descript= ion is not > straightforward, but instead exposes, and thus requires the > reader to understand, the =E2=80=98PolyLine=E2=80=99 X protocol req= uest, 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? >=20 > Wouldn't that lose the "hollow" look? Yes, but I think the alternatives are worse.