Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2018 07:58:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 227761] print/freetype2: Fonts aren't correctly rendered with 2.9
Message-ID:  <bug-227761-6497-e5W73XmMqy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227761-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227761-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227761

lightside <lightside@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #193066|0                           |1
        is obsolete|                            |

--- Comment #13 from lightside <lightside@gmx.com> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227761-6497-e5W73XmMqy>