From owner-freebsd-gnome@freebsd.org Mon Feb 13 18:47:24 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 E02CDCDD0D1 for ; Mon, 13 Feb 2017 18:47:24 +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 C90811C2F for ; Mon, 13 Feb 2017 18:47:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C5A5ECDD0D0; Mon, 13 Feb 2017 18:47:24 +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 C554DCDD0CF for ; Mon, 13 Feb 2017 18:47:24 +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 A396B1C2D for ; Mon, 13 Feb 2017 18:47:24 +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 v1DIlMnG017825 for ; Mon, 13 Feb 2017 18:47:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 211201] print/freetype2: update to 2.7, add V40 code Date: Mon, 13 Feb 2017 18:47:23 +0000 X-Bugzilla-Reason: 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: needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lightside@gmx.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kwm@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? exp-run? merge-quarterly? 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: Mon, 13 Feb 2017 18:47:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211201 --- Comment #73 from lightside --- (In reply to comment #72) > Regarding the patch, the only thing I changed is that I changed the V38/V= 40 > GROUP to a MULTI. Because looking at the logic in the SUBPIXEL_HINTING_MO= DE > selection there is not a !V38 && !V40 case. With Multi it 1 or more need = to > be selected. The OPTIONS_GROUP was used, because possible to not define TT_CONFIG_OPTION_SUBPIXEL_HINTING, e.g. when V38=3Doff and V40=3Doff, in wh= ich case v35 (no subpixel hinting) mode may be used by default internally: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freety= pe/ftttdrv.h?h=3DVER-2-7-1#n192 http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freety= pe/ftttdrv.h?h=3DVER-2-7-1#n316 http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/truetype/t= tobjs.c?h=3DVER-2-7-1#n1278 http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/truetype/t= tinterp.c?h=3DVER-2-7-1#n52 The value of TT_CONFIG_OPTION_SUBPIXEL_HINTING defines TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY and/or TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freety= pe/config/ftoption.h?h=3DVER-2-7-1#n889 http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freety= pe/config/ftoption.h?h=3DVER-2-7-1#n893 which used in other areas, e.g.: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/truetype/t= tdriver.c?h=3DVER-2-7-1#n98 http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/truetype/t= tgload.c?h=3DVER-2-7-1#n1359 There is some description about this: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freety= pe/config/ftoption.h?h=3DVER-2-7-1#n608 in the following part: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freety= pe/config/ftoption.h?h=3DVER-2-7-1#n665 -8<-- /* By undefining these, you get rendering behavior like on Windows = */ /* without ClearType, i.e., Windows XP without ClearType enabled and = */ /* Win9x (interpreter version v35). Or not, depending on how much = */ /* hinting blood and testing tears the font designer put into a given = */ /* font. If you define one or both subpixel hinting options, you can = */ /* switch between between v35 and the ones you define. -->8- --=20 You are receiving this mail because: You are on the CC list for the bug.=