From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#52599: 29.0.50; Unproportional Unicode character scale in SVG overlay Date: Tue, 21 Dec 2021 20:55:56 +0000 Message-ID: References: <83h7b6azlm.fsf@gnu.org> <1f8f80c2574cc3c514575683152ef689c4295582.camel@gmail.com> <83ee6aaxf1.fsf@gnu.org> <41de4d3c8393ce6918e6a89437d8f53da8be556d.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34264"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52599@debbugs.gnu.org To: "Matsievskiy S.V." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 21 21:57:58 2021 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 1mzmCr-0008hx-SN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Dec 2021 21:57:57 +0100 Original-Received: from localhost ([::1]:56368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzmCq-00060d-W4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Dec 2021 15:57:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzmBz-00059K-8H for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 15:57:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzmBy-00061d-UG for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 15:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzmBy-0002yU-UR for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 15:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Dec 2021 20:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52599 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 52599-submit@debbugs.gnu.org id=B52599.164012017211352 (code B ref 52599); Tue, 21 Dec 2021 20:57:02 +0000 Original-Received: (at 52599) by debbugs.gnu.org; 21 Dec 2021 20:56:12 +0000 Original-Received: from localhost ([127.0.0.1]:55838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzmB9-0002x1-Kq for submit@debbugs.gnu.org; Tue, 21 Dec 2021 15:56:11 -0500 Original-Received: from outbound.soverin.net ([116.202.126.228]:53589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzmB4-0002wT-EK for 52599@debbugs.gnu.org; Tue, 21 Dec 2021 15:56:10 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 42584D1; Tue, 21 Dec 2021 20:56:00 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1640120159; bh=8k4A4g9Ja9TH6zSIWllLyQ5a8mMr1O95G/KC3T0NnSA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IdhepKaRYr9SOrwHeET5muKi6A9/HYRcKzUYNK1B0pMJk8bfPxhNgZKXZTt5wmC6I sVzdVaHRKunHUv8zuSp3FQXROmza7kS/KqKhyJKTtR7Ov7lJLesQWo5e9O9Nn8dDtv n9WAtnsiZgGuktZy9Fspg4mxNoyxl5Qn2Xh5vtxIjDdq/MSk8khw/VE0V6Ru5gSYjO ly8iP0lAa9SOZNTQUTcpnm3dx+PLYSIy4e8AaI2wPH/+g3oihNOgGfskysXxGJmrv3 Va0JmEmYi1IlW/plsb4qurfh+s0eTxxH2Rt0L6jPJPDuunhnx4bDFWbNG4TzbZHpoW XNMed/VT28hRw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mzmAu-001fXt-Nl; Tue, 21 Dec 2021 20:55:56 +0000 Mail-Followup-To: Alan Third , "Matsievskiy S.V." , Eli Zaretskii , 52599@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <41de4d3c8393ce6918e6a89437d8f53da8be556d.camel@gmail.com> 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" Xref: news.gmane.io gmane.emacs.bugs:222897 Archived-At: On Tue, Dec 21, 2021 at 03:15:44PM +0300, Matsievskiy S.V. wrote: > > So what we end up with is that the text scales directly according to > > the font size and the paths scale according to whatever nonsense > > librsvg returns for the image size. > > Aren't these characters associated with the svg overlay? If so, it > should be possible to apply image scaling rules to them, or is it too > much work? To just use image scaling rules set the css to "". That way increasing the font size won't change the font size in the image and this problem won't rear it's ugly head. I suspect this should be considered a bug in the mathjax output. It's relying on the default font being a specific size, and when it's not then the scaling goes all wonky. I guess this means they expect that all SVG renderers always use the exact same font size? Or is there some custom mathjax CSS that's supposed to be applied? I've had a quick look at the mathjax documentation and it doesn't look like it. They say that SVG output doesn't use text directly so is unaffected by font problems. 😒 I don't think we want to change our default CSS to not set the font size as that would make using SVGs in-line with text more complicated. -- Alan Third