From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Seddon Newsgroups: gmane.emacs.bugs Subject: bug#6364: [PATCH] Use GetCharABCWidthsFloatW if GetGlyphOutlineW fails. Date: Tue, 26 Nov 2013 20:30:38 +0000 Message-ID: References: <8CCD3BEBEE756DD-DB8-DFB9@web-mmc-m08.sysops.aol.com> <713BA87B-E38A-4777-B054-E136A7C96EF9@tomseddon.plus.com> <83pppn9hjm.fsf@gnu.org> <3E4E896E-71DC-402F-A572-E65A4AB621FA@tomseddon.plus.com> <83k3fuap9u.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1385497876 25143 80.91.229.3 (26 Nov 2013 20:31:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 20:31:16 +0000 (UTC) Cc: 6364@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 26 21:31:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VlPHx-0002Yc-W3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 21:31:18 +0100 Original-Received: from localhost ([::1]:60921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlPHx-00065d-Ig for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 15:31:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlPHo-0005xZ-8i for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 15:31:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlPHj-0003F8-5q for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 15:31:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlPHj-0003F4-1U for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 15:31:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VlPHh-0008Cx-U7 for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 15:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tom Seddon Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Nov 2013 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6364 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: patch Original-Received: via spool by 6364-submit@debbugs.gnu.org id=B6364.138549785531537 (code B ref 6364); Tue, 26 Nov 2013 20:31:01 +0000 Original-Received: (at 6364) by debbugs.gnu.org; 26 Nov 2013 20:30:55 +0000 Original-Received: from localhost ([127.0.0.1]:46450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VlPHb-0008CZ-30 for submit@debbugs.gnu.org; Tue, 26 Nov 2013 15:30:55 -0500 Original-Received: from mailbigip.dreamhost.com ([208.97.132.5]:51075 helo=homiemail-a28.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VlPHX-0008CO-IW for 6364@debbugs.gnu.org; Tue, 26 Nov 2013 15:30:52 -0500 Original-Received: from homiemail-a28.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a28.g.dreamhost.com (Postfix) with ESMTP id AAC711B4059; Tue, 26 Nov 2013 12:30:50 -0800 (PST) Original-Received: from [192.168.1.101] (tomseddon.plus.com [212.159.116.120]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tom@ouro.ltd.uk) by homiemail-a28.g.dreamhost.com (Postfix) with ESMTPSA id E5B1B1B4057; Tue, 26 Nov 2013 12:30:45 -0800 (PST) In-Reply-To: <83k3fuap9u.fsf@gnu.org> X-Mailer: Apple Mail (2.1822) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81012 Archived-At: On 26 Nov 2013, at 20:20, Eli Zaretskii wrote: >> I couldn't find a good list when I was writing the code so I just = went by DUMPBIN /EXPORTS and spotted it as export #158. (Don't ask me = why I've got any copies at all on my Windows 7 PC! - I expect some = program installed it just in case.) >=20 > The export exists, but the function is a stub, not a real > implementation, AFAIK. >> I've found an official (if outdated-looking) list now. So if = GetCharABCWidthsFloatW ends up your only objection, I'll update the code = to use a function from the official list.=20 >=20 > Sorry, I don't understand what you mean. Which official list did you > find, and what does it say about this? This list: http://msdn.microsoft.com/en-us/library/ms812845.aspx - it = looks to be an outdated MSDN contents page, or something very much like, = so I assume it's at lesat fairly authoritative. (I got the link here, = which I found via google: = http://microsoft.public.platformsdk.mslayerforunicode.narkive.com/QbsrNDDh= /list-of-functions-handled-by-mslu) And under G, GetCharABCWidthsFloat is indeed missing. I suspect the page is a bit outdated, because some of the links are = broken. (And also, of course, because it deal with Windows '9x...) Thanks, --Tom