From owner-freebsd-gnome@freebsd.org Tue Jun 6 02:50:10 2017 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33B31BD335B for ; Tue, 6 Jun 2017 02:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1A87D79524 for ; Tue, 6 Jun 2017 02:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 19B9ABD335A; Tue, 6 Jun 2017 02:50:10 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19550BD3359 for ; Tue, 6 Jun 2017 02:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06FD079523 for ; Tue, 6 Jun 2017 02:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v562o9Su045489 for ; Tue, 6 Jun 2017 02:50:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 219608] print/freetype2 produces incorrect line spacing for some fonts Date: Tue, 06 Jun 2017 02:50:10 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lightside@gmx.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2017 02:50:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219608 --- Comment #19 from lightside --- (In reply to comment #13) > Thanks for working on this. If you have no objections I'll wait a few day= s to > confirm that thee are no other unexpected issues a then ask for maintainer > approval and commit. No problem, but I don't know about possible regressions between 2.7.1 and 2= .8 versions, which possibly caused some differences in your case. I just propo= sed what worked in my case (and settings). (In reply to comment #14) > Thanks both of you for working on this issue. I will give it a go soon as= well. Thanks for your attention. (In reply to comment #14) > can you report this problem upstream? We are probably not the only onces > having this issue and you clearly know how to explain the issue the best. I shared some links in comment #2, which shows that this issue is known to upstream developers: https://savannah.nongnu.org/bugs/?50470 https://savannah.nongnu.org/bugs/?50470#comment17 -8<-- We are back to square one. The rationale (http://lists.nongnu.org/archive/html/freetype-devel/2011-07/msg00022.html)= for the original fix in 2011 was to fix ascend, descend, and line spacing values and it worked for any font. -->8- https://savannah.nongnu.org/bugs/?50470#comment26 -8<-- Here you can find an extensive explanation of the problem. http://lists.nongnu.org/archive/html/freetype-devel/2017-04/msg00042.html -->8- But that PR was closed. I don't object if someone shares a link to this PR and/or patch in attachme= nt #183237. But I guess, that this method is already known (converted for 2.8 version), but not used for some reason. Otherwise, it was possible to create some define to enable this in the same place (src/truetype/ttdriver.c). Possible, that AF_CONFIG_OPTION_TT_SIZE_METRICS method wasn't complete for = 2.8 version (related to line spacing). In turn, this possibly caused other actions: Gnome's vte developers may consider to fix this (probably gnome-terminal related; not sure about mate-terminal): https://bugzilla.gnome.org/show_bug.cgi?id=3D781479#c15 -8<-- Egmont Koblinger 2017-04-19 18:01:08 UTC In the mean time, we could consider adding an API and a hidden g-t setting = to add/subtract a constant pixel value from the cell size computed by pango. That'd address bug 738781 as well. -->8-=20 Chromium related: https://bugzilla.redhat.com/show_bug.cgi?id=3D1437999#c66 -8<-- Marek Kas=C3=ADk 2017-05-22 05:48:44 EDT <..> Regarding the Chromium case, it seems that people around Chromium are discussing about bundling of their own freetype which could solve the issue even in F24, F25 and F26 depending on whether and when they will do that (https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium= -packagers/xhmgu-1Vcok). -->8-=20 So, what already proposed in this PR could be just a intermediate solution. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=