shithub: freetype+ttf2subf

Download patch

ref: 81852fbccc84d087de7cd2defdac3cb6b9d13ffe
parent: 1bc801b0d6ae70683c0a7952e949d2b3edff76e2
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Tue May 18 18:18:17 EDT 2021

Prioritize the anti-aliasing renderer module.

* modules.cfg: Reorder the renderers.
* include/freetype/config/ftmodule.h: Ditto.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-05-18  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
+	Prioritize the anti-aliasing renderer module.
+
+	* modules.cfg: Reorder the renderers.
+	* include/freetype/config/ftmodule.h: Ditto.
+
 2021-05-16  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	[sfnt] Additional guards on the POST table.
--- a/include/freetype/config/ftmodule.h
+++ b/include/freetype/config/ftmodule.h
@@ -19,13 +19,13 @@
 FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )
 FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class )
 FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )
+FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )
 FT_USE_MODULE( FT_Module_Class, psaux_module_class )
 FT_USE_MODULE( FT_Module_Class, psnames_module_class )
 FT_USE_MODULE( FT_Module_Class, pshinter_module_class )
-FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class )
 FT_USE_MODULE( FT_Module_Class, sfnt_module_class )
 FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class )
-FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )
+FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class )
 FT_USE_MODULE( FT_Renderer_Class, ft_sdf_renderer_class )
 FT_USE_MODULE( FT_Renderer_Class, ft_bitmap_sdf_renderer_class )
 
--- a/modules.cfg
+++ b/modules.cfg
@@ -93,11 +93,11 @@
 #### raster modules -- at least one is required for vector font formats
 ####
 
-# Monochrome rasterizer.
-RASTER_MODULES += raster
-
 # Anti-aliasing rasterizer.
 RASTER_MODULES += smooth
+
+# Monochrome rasterizer.
+RASTER_MODULES += raster
 
 # Signed distance field rasterizer.
 RASTER_MODULES += sdf