From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67533: SVG images confound position pixel measurements Date: Sat, 02 Dec 2023 16:18:28 +0200 Message-ID: <835y1g8z7v.fsf@gnu.org> References: <9B9C683E-B951-406E-98AA-32F4539B3FF7@gmail.com> <83o7fbb0zf.fsf@gnu.org> <6158BB83-3C05-4CEC-BF65-A6C0DEA329CD@gmail.com> <837clybds3.fsf@gnu.org> <83wmtx83io.fsf@gnu.org> <906A480A-85B4-4AB0-B2E3-1533A48C228D@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4824"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67533@debbugs.gnu.org To: JD Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 02 15:19:09 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r9Qpo-000115-49 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Dec 2023 15:19:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9Qpa-0005tC-73; Sat, 02 Dec 2023 09:18:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9QpY-0005sS-Jx for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2023 09:18:52 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r9QpY-0005ec-AE for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2023 09:18:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r9Qph-00009B-Ka for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2023 09:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Dec 2023 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67533 X-GNU-PR-Package: emacs Original-Received: via spool by 67533-submit@debbugs.gnu.org id=B67533.1701526726530 (code B ref 67533); Sat, 02 Dec 2023 14:19:01 +0000 Original-Received: (at 67533) by debbugs.gnu.org; 2 Dec 2023 14:18:46 +0000 Original-Received: from localhost ([127.0.0.1]:56968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9QpR-00008U-UZ for submit@debbugs.gnu.org; Sat, 02 Dec 2023 09:18:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9QpP-00008I-TS for 67533@debbugs.gnu.org; Sat, 02 Dec 2023 09:18:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9QpA-0005cK-Og; Sat, 02 Dec 2023 09:18:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+pIdGDpxoPnaxI9xNNQJoDfL82m7KADJDR21zJn47ss=; b=Ld5yAgcBnAqa anKIWheb5ABveTKBDa4O7xjGS+WZc7RrzPZS36bTS82Sp6DPlcWBoj+Onr914SplzkV+hdmgmA0hS YaYlXr1GyfqRrBuDw0EsTgOvlPcT12LlU2OJ1Np696omIyyZ8GiBVWcPCQqbAOgcjRcuEINptAFBS qbkH5MeZp8AZY9c4vGxNcNtq8Gte41pYXdg0FEfemQXoGHbDDKgH0kpGxXWW/PSYxhaJ2zkXaBxL0 joEJACrN2fqepwO9c9ARrxo3+1bAlpmf9UJETnTOL63xPUdWzJFc0NNGm34ynK/9ogw+bBwa6XO28 n14lLPby5XhCT6xcJLgnkg==; In-Reply-To: <906A480A-85B4-4AB0-B2E3-1533A48C228D@gmail.com> (message from JD Smith on Sat, 2 Dec 2023 08:36:07 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275385 Archived-At: > From: JD Smith > Date: Sat, 2 Dec 2023 08:36:07 -0500 > Cc: 67533@debbugs.gnu.org > > Strange. Both of my ports here (NS and Mac) show the same issue. Did you check the > svg-pixel-demo-report buffer the header mentions, where the mismatch measurement information > gets reported? The specific problems encountered are listed in the report buffer, updated with > my/check-buffer-pixel-values. For example, at a standard width of 80 characters, I get this report: > > SVG Position analysis for svg-pixel-demo (width 80, text-properties) > > Incorrect at point= 34: line 2 at (224 . 14) (image): expected 14 got 28 > Incorrect at point= 99: line 3 at (244 . 43) (image): expected 29 got 46 > Incorrect at point=126: line 4 at (42 . 75) (image): expected 32 got 46 > Incorrect at point=162: line 4 at (345 . 75) (image): expected 32 got 52 > Incorrect at point=210: line 5 at (133 . 110) (image): expected 35 got 49 I never understood I need to look in another buffer. I will look into these. > So in this case, 5 of the image locations (of 7) are showing sizes of entities one pixel above them as > too large (with sizes sometimes not matching any line height). At small window widths (like 25-30 > characters) many zero heights start showing up. Running the check in a normal text window > produces an empty report (no errors). So any messages in that buffer are problems in your opinion? Or just those which state zero height?