From owner-freebsd-gnome@freebsd.org Fri Aug 10 12:55:54 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 41BEA106A3AB for ; Fri, 10 Aug 2018 12:55:54 +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 D2A9E899DF for ; Fri, 10 Aug 2018 12:55:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9425B106A3AA; Fri, 10 Aug 2018 12:55:53 +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 7029C106A3A9 for ; Fri, 10 Aug 2018 12:55:53 +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 01759899DC for ; Fri, 10 Aug 2018 12:55:53 +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 59F8F2541B for ; Fri, 10 Aug 2018 12:55:52 +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 w7ACtq8O089811 for ; Fri, 10 Aug 2018 12:55:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7ACtqk2089810 for gnome@FreeBSD.org; Fri, 10 Aug 2018 12:55:52 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: Fri, 10 Aug 2018 12:55:52 +0000 X-Bugzilla-Reason: CC AssignedTo 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: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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.27 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2018 12:55:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227761 --- Comment #27 from lightside --- (In reply to comment #25) > convert -density 300 -colorspace sRGB -resize 50% -border 2 test.pdf[0] > convert.jpg -> Font looks blurry > <..> > So what do you think? If "Font looks blurry", then this may be different issue. Previous issue was related to not readable characters for output image(s). The print/freetype2 v2.9 changed defaults from LCD_FILTERING ("Subpixel rendering (patented)") to LCD_RENDERING ("Harmony LCD rendering") option. S= ee bug #225072 for details. So, possible to check new output after LCD_FILTERI= NG option usage for print/freetype2 port, if this is the case. Personally, I reported about some differences for emulators/wine-devel port in bug #22851= 8, comment #4, but it was also related to used fontconfig configuration. Otherwise, since I don't have required pdf to test (to find related Git com= mit, with using `git bisect`), I may just guess, that if pdftoppm output was ok = and it used the same FreeType library: -8<-- % sh -c "pdftoppm --help 2>&1" | grep freetype -freetype : enable FreeType font rasterizer: yes, no % pdftoppm -freetype yes -jpeg test.pdf image % pdftoppm -freetype no -jpeg test.pdf image -->8- then this issue might be Ghostscript related (and/or how it uses FreeType library). The pdftoppm program doesn't use Ghostscript, as far as I know. You could c= heck this, if you delete installed ghostscript ports (e.g. create backup package= s: `pkg create -x ghostscript`, delete: `pkg delete -fx ghostscript`, reinstall after check: `pkg add ghostscript*`) and run the same pdftoppm commands. You can check ImageMagick's convert program about Ghostscript usage, if you= run it with using -verbose option: -8<-- % convert --help | grep verbose -verbose print detailed information about the image % convert -verbose test.pdf output.jpg 'gs' -sstdout=3D%stderr <..> % pkg which -o `which gs` /usr/local/bin/gs was installed by package print/ghostscript9-agpl-base -->8- If you want, you can report about (new) issue to Ghostscript and/or FreeType bug trackers. Probably, they may ask about needed information (e.g. tested = pdf (and/or used fonts), expected output image(s), etc.) and to check developme= nt version(s) for possible fixes. If fix is available, then possible to propos= e it for related FreeBSD port(s) before new available release version (but this = may depend from amount of required changes, of course). --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=