GNU bug report logs - #46554
27.1; 180 degree rotated image is displayed in slightly different position

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: ynyaaa@HIDDEN; dated Tue, 16 Feb 2021 09:46:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 46554 <at> debbugs.gnu.org:


Received: (at 46554) by debbugs.gnu.org; 16 Feb 2021 13:06:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 16 08:06:53 2021
Received: from localhost ([127.0.0.1]:39778 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lC045-0002Wq-3p
	for submit <at> debbugs.gnu.org; Tue, 16 Feb 2021 08:06:53 -0500
Received: from quimby.gnus.org ([95.216.78.240]:52650)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lC043-0002WZ-Ao
 for 46554 <at> debbugs.gnu.org; Tue, 16 Feb 2021 08:06:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=+IlVaNe9Zb4dlwC7ao8TH7mK6/ZPkfwAKSpG1qIrrp4=; b=QCF9I8XINe+n3BiQBR+D9McEsG
 WD3iKtSqK9EJlCtWFL8M+llEPtUiEQQ9jSMkA4H/p6rcUdzxHKV4yWAVGjn4lNzhhZuWGWt6M+Pvo
 K3YKPqKqzneRRm5jMPE37DRlIfS7GMrY36PPEm5DFNY8o3WjZVsPOQtU/Jc8sUU/kgO0=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lC03t-0005DZ-Vn; Tue, 16 Feb 2021 14:06:45 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: ynyaaa@HIDDEN
Subject: Re: bug#46554: 27.1; 180 degree rotated image is displayed in
 slightly different position
References: <86pn10tkg5.fsf@HIDDEN>
X-Now-Playing: Soymanga's _Alefa Madagascar_: "Moramora Zoky"
Date: Tue, 16 Feb 2021 14:06:40 +0100
In-Reply-To: <86pn10tkg5.fsf@HIDDEN> (ynyaaa@HIDDEN's message of "Tue,
 16 Feb 2021 18:45:30 +0900")
Message-ID: <87wnv8w49r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: ynyaaa@HIDDEN writes: > THe form below displays same image
 with different :rotation. > The third image is rotated by 180 degree and
 is displayed in slightly > different position. There is one pixel gap on the
 top and left [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46554
Cc: 46554 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

ynyaaa@HIDDEN writes:

> THe form below displays same image with different :rotation.
> The third image is rotated by 180 degree and is displayed in slightly
> different position. There is one pixel gap on the top and left edges of
> the image.
>
> (let ((buf (generate-new-buffer "tmp"))
>       (svg "<svg width=\"50\" height=\"50\"
>  version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">
> <rect x=\"0.5\" y=\"0.5\" width=\"49\" height=\"49\"

[...]

> System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1379)

I'm unable to reproduce this on Debian bullseye, so perhaps it's a
Windows-specific problem?  My guess it that it's system-dependent where
the OS sets the midpoint when rotating?  The image here is 49 pixels
high, though, so the midpoint should be unambiguous, but...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46554; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Feb 2021 09:45:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 16 04:45:44 2021
Received: from localhost ([127.0.0.1]:39405 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lBwvQ-0007lc-63
	for submit <at> debbugs.gnu.org; Tue, 16 Feb 2021 04:45:44 -0500
Received: from lists.gnu.org ([209.51.188.17]:45792)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ynyaaa@HIDDEN>) id 1lBwvM-0007lS-KE
 for submit <at> debbugs.gnu.org; Tue, 16 Feb 2021 04:45:43 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39268)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ynyaaa@HIDDEN>) id 1lBwvL-0000dP-El
 for bug-gnu-emacs@HIDDEN; Tue, 16 Feb 2021 04:45:40 -0500
Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:38659)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ynyaaa@HIDDEN>) id 1lBwvI-0003wH-K3
 for bug-gnu-emacs@HIDDEN; Tue, 16 Feb 2021 04:45:39 -0500
Received: by mail-pl1-x631.google.com with SMTP id f8so3605303plg.5
 for <bug-gnu-emacs@HIDDEN>; Tue, 16 Feb 2021 01:45:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=MRu4P5suj9qG+xvjtpkqtpLB60vKJNOTkukZemztHs4=;
 b=q5zCr/pC4634kRQ5/fuIJkGgQxv/A2tePZ8punu2ZI1XvEZiO5sVXlJRZVhGIFXBBR
 3Yb7kdYzMDXZ9s2R+xM5lBhs6o9MU7ZhP8Xzi+nNR/PKAg+B1SMvpRhQyGFCV8H39+/k
 DXfySI2LiKNxhzO8WwLrfbRj5nc6hqUIPSJ/hOXRjaMW7dtRKY++vXiID6trmk8SUGhG
 NpghpmFX8KGfMgalvX+ydRG2xieh2vwbJOPmIXIh0uAy5mFg4/3HhJuOuYQ2AEm4wFuo
 yfZtA9W4LJcuf1BG4uw0UClHIz7GZcgrPyQVwyr1TEQizfbCou0ncxeE/qQqcZVmbu7e
 nh/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=MRu4P5suj9qG+xvjtpkqtpLB60vKJNOTkukZemztHs4=;
 b=dNfw7Bvh+C+ymsqVSE4+PlzSG+P6sDEjydbyzshsfpLfSNfFh/e1PcyodkiS4Sy+Me
 L/G9rUHhViCnxyojNkVn/fjHtiveBSFotyaH8GHElEzBpmnmUhLDQM4n2Ps3ySdFRFGS
 qLE9D9icHugQYd90d3Hu11izbMEtj7WWuqjf/035p0OtxFX5C8wsnywSimIsbkxUWCod
 6krkZC8Ayas35qyNR/XIWotj1Jw0SjQj9ZOSgLnIQ7h4ydGvyccWDi1CeEF2WBrHReEz
 B972A3Sn76rqHUMourpjIsGl+W29IBTe7Mq53f4cTk8IcofCM8RzjTQqVItTVExByEef
 fesw==
X-Gm-Message-State: AOAM531jlhAd99AKlNgLVqzKUP7UUpnl7NK78EG96fN4m6pH8QR26DCf
 0k5xJKqy6X5UAi+8/1l+J/p2mcTejIs=
X-Google-Smtp-Source: ABdhPJz34G/9JspV08ul8DkiiewUc6BIrCY8NIHezBEUKDcF6TtLgSzNP1IvJdBzqux8S0QHlhS+bg==
X-Received: by 2002:a17:902:6b87:b029:dc:3402:18af with SMTP id
 p7-20020a1709026b87b02900dc340218afmr19562764plk.29.1613468734622; 
 Tue, 16 Feb 2021 01:45:34 -0800 (PST)
Received: from HP (east42-p109.eaccess.hi-ho.ne.jp. [219.121.173.110])
 by smtp.gmail.com with ESMTPSA id mv14sm2677566pjb.0.2021.02.16.01.45.33
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 16 Feb 2021 01:45:34 -0800 (PST)
From: ynyaaa@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 27.1; 180 degree rotated image is displayed in slightly different
 position
Date: Tue, 16 Feb 2021 18:45:30 +0900
Message-ID: <86pn10tkg5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::631;
 envelope-from=ynyaaa@HIDDEN; helo=mail-pl1-x631.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


THe form below displays same image with different :rotation.
The third image is rotated by 180 degree and is displayed in slightly
different position. There is one pixel gap on the top and left edges of
the image.

(let ((buf (generate-new-buffer "tmp"))
      (svg "<svg width=\"50\" height=\"50\"
 version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">
<rect x=\"0.5\" y=\"0.5\" width=\"49\" height=\"49\"
 stroke-width=\"1\" stroke=\"red\"/>
</svg>"))
  (switch-to-buffer buf)
  (insert " ")
  (insert-image (create-image svg 'svg t :scale 1))
  (insert " ")
  (insert-image (create-image svg 'svg t :scale 1 :rotation 90))
  (insert " ")
  (insert-image (create-image svg 'svg t :scale 1 :rotation 180))
  (insert " ")
  (insert-image (create-image svg 'svg t :scale 1 :rotation 270))
  (insert " ")
  (put-text-property (point-min) (point-max) 'face '(:background "grey"))
  )



In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32)
 of 2020-08-22 built on CIRROCUMULUS
Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.18363
System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1379)

Recent messages:

Configured using:
 'configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: JPN
  locale-coding-system: cp932

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(gnutls network-stream nsm mailalias smtpmail auth-source eieio
eieio-core cl-macs eieio-loaddefs json map rect wid-edit descr-text
mule-util cl-extra help-fns radix-tree misearch multi-isearch pp shadow
sort emacsbug sendmail mail-extr message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq
byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr
mailabbrev mail-utils gmm-utils mailheader cl-seq image-mode exif
term/bobcat help-mode easymenu cl-loaddefs cl-lib japan-util tooltip
eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core term/tty-colors frame
minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite charscript charprop case-table epa-hook jka-cmpr-hook help
simple abbrev obarray cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
threads w32notify w32 lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 78058 27524)
 (symbols 48 21222 0)
 (strings 32 81348 5793)
 (string-bytes 1 1941613)
 (vectors 16 17946)
 (vector-slots 8 1025340 97128)
 (floats 8 49 310)
 (intervals 56 1794 449)
 (buffers 1000 25))




Acknowledgement sent to ynyaaa@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#46554; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 16 Feb 2021 13:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.