svn commit: r466285 - head/print/freetype2

Baptiste Daroussin bapt at FreeBSD.org
Tue Apr 3 08:11:53 UTC 2018


Author: bapt
Date: Tue Apr  3 08:11:52 2018
New Revision: 466285
URL: https://svnweb.freebsd.org/changeset/ports/466285

Log:
  Readd LCD_FILTERING option and introduce LCD_RENDERING
  
  Select LCD_RENDERING as the default (same as before the introduction
  of the option)
  
  PR:		225072
  Submitted by:	lightside <lightside at gmx.com>

Modified:
  head/print/freetype2/Makefile

Modified: head/print/freetype2/Makefile
==============================================================================
--- head/print/freetype2/Makefile	Tue Apr  3 07:44:15 2018	(r466284)
+++ head/print/freetype2/Makefile	Tue Apr  3 08:11:52 2018	(r466285)
@@ -41,9 +41,11 @@ OPTIONS_DEFINE=		DEBUG DOCS LONG_PCF_NAMES PNG \
 		TABLE_VALIDATION
 OPTIONS_GROUP=		SUBPIXEL_HINTING
 OPTIONS_GROUP_SUBPIXEL_HINTING=	V38 V40
+OPTIONS_SINGLE=	RENDERING
+OPTIONS_SINGLE_RENDERING=	LCD_FILTERING LCD_RENDERING
 OPTIONS_RADIO=		SIZE_METRICS_CHOICE
 OPTIONS_RADIO_SIZE_METRICS_CHOICE=	FIX_SIZE_METRICS TT_SIZE_METRICS
-OPTIONS_DEFAULT=	V40
+OPTIONS_DEFAULT=	LCD_RENDERING V40
 
 PNG_DESC=		Png compressed OpenType embedded bitmaps support
 PNG_LIB_DEPENDS=	libpng.so:graphics/png
@@ -57,6 +59,11 @@ SIZE_METRICS_CHOICE_DESC=	Size metrics for TrueType fo
 FIX_SIZE_METRICS_DESC=	Fix metrics on size request for scalable fonts (alternative method)
 FIX_SIZE_METRICS_EXTRA_PATCHES=	${FILESDIR}/extra-patch-fix_size_metrics.diff
 TT_SIZE_METRICS_DESC=	TrueType-like size metrics for 'light' auto-hinting
+
+RENDERING_DESC=		Rendering technology
+LCD_FILTERING_DESC?=	Sub-pixel rendering (patented)
+LCD_FILTERING_CFLAGS=	-DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
+LCD_RENDERING_DESC=	Harmony LCD rendering
 
 LONG_PCF_NAMES_DESC=	Enable long PCF family names
 


More information about the svn-ports-head mailing list