From owner-freebsd-gnome@freebsd.org Sat May 12 07:58:23 2018 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58D9BFCAA69 for ; Sat, 12 May 2018 07:58:23 +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 DF8947A0A9 for ; Sat, 12 May 2018 07:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9BF12FCAA68; Sat, 12 May 2018 07:58:22 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B780FCAA62 for ; Sat, 12 May 2018 07:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C62417A0A5 for ; Sat, 12 May 2018 07:58:21 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 025B8150D7 for ; Sat, 12 May 2018 07:58:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4C7wK38029926 for ; Sat, 12 May 2018 07:58:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4C7wKIw029925 for gnome@FreeBSD.org; Sat, 12 May 2018 07:58:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 227761] print/freetype2: Fonts aren't correctly rendered with 2.9 Date: Sat, 12 May 2018 07:58:20 +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: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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.25 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2018 07:58:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227761 lightside changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #193066|0 |1 is obsolete| | --- Comment #13 from lightside --- Created attachment 193316 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193316&action= =3Dedit The freetype2 debug output for ImageMagick convert program I found, that installed Ghostscript 9.16 version is possible cause of this issue: % pkg info -d ImageMagick | grep ghostscript ghostscript9-agpl-x11-9.16_2 ghostscript9-agpl-base-9.16_5 % pkg info -xo ghostscript ImageMagick ghostscript9-agpl-base-9.16_5 print/ghostscript9-agpl-base ghostscript9-agpl-x11-9.16_2 print/ghostscript9-agpl-x11 ImageMagick-6.9.9.28,1 graphics/ImageMagick https://www.freshports.org/print/ghostscript9-agpl-base https://www.freshports.org/print/ghostscript9-agpl-x11 As I understood, there is a usage of "agpl" type of ghostscript's ports by default: https://github.com/freebsd/freebsd-ports/blob/518ef677fadda04fc579509938a44= 5639e1535f9/Mk/bsd.default-versions.mk#L45-L46 -8<-- # Possible values: 7, 8, 9, agpl GHOSTSCRIPT_DEFAULT?=3D agpl -->8- https://github.com/freebsd/freebsd-ports/blob/7c530a068083f634f8df021dd4642= dcdc7c2f310/Mk/Uses/ghostscript.mk#L32-L35 -8<-- # allowed versions # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. _GS_VERSION=3D 7 8 9 agpl -->8- https://github.com/freebsd/freebsd-ports/blob/7c530a068083f634f8df021dd4642= dcdc7c2f310/Mk/Uses/ghostscript.mk#L43-L45 -8<-- .if ${GHOSTSCRIPT_DEFAULT:N[789]:Nagpl} IGNORE?=3D Invalid GHOSTSCRIPT_DEFAULT value: ${GHOSTSCRIPT_DEFAULT}, please select one of ${_GS_VERSION} .endif -->8- There is no issue, if using Ghostscript 9.06 version, by adding "DEFAULT_VERSIONS+=3Dghostscript=3D9" (without quotes) to /etc/make.conf fi= le and rebuild of graphics/ImageMagick port (after removal of currently installed ghostscript packages, e.g. with using following command: `pkg delete -fx ghostscript ImageMagick`): % pkg info -xo ghostscript ImageMagick ghostscript9-base-9.06_13 print/ghostscript9-base ghostscript9-x11-9.06_12 print/ghostscript9-x11 ImageMagick-6.9.9.28,1 graphics/ImageMagick https://www.freshports.org/print/ghostscript9-base https://www.freshports.org/print/ghostscript9-x11 Added new freetype2 debug output (in "9" directory of archive), when using Ghostscript 9.06 version. For the same commits: https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3D39004= 8fa468dfee06f722da6b8ca1b79022480d6 https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3D75cb0= 71b3fbfa2315c5d458fee2bb465a14568ae https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3D2b3e0= ef6c095cf6ea920e95fc9826dc39694162a Some differences from previous attachment #193066: - Moved "prev", "found" and "VER-2-9-1-3-g2b3e0ef6c" directories to "agpl" directory - Added generated image.jpg files to corresponding directories - Added packages.txt file(s) to "9" and "agpl" directories, which contains information about `pkg info -xo ghostscript ImageMagick` output Werner Lemberg said (in https://savannah.nongnu.org/bugs/?53739#comment3), = that "Using gs 9.23 the PDF gets displayed fine". As I understood, the 9.23 is currently latest Ghostscript version: https://www.ghostscript.com/News.html https://www.ghostscript.com/Ghostscript_9.23.html Probably, another possible fix (in addition to usage of other GHOSTSCRIPT_DEFAULT value, except "agpl") is to update print/ghostscript9-agpl-base and print/ghostscript9-agpl-x11 ports to 9.23 = (or other) version, which may have fix(es) for this issue. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=