Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 18:47:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 211201] print/freetype2: update to 2.7, add V40 code
Message-ID:  <bug-211201-6497-GpN1Tyo4yS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211201-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211201-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=3D211201

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



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