Commit 81852fbccc84d087de7cd2defdac3cb6b9d13ffe

Alexei Podtelezhnikov 2021-05-18T22:18:17

Prioritize the anti-aliasing renderer module. * modules.cfg: Reorder the renderers. * include/freetype/config/ftmodule.h: Ditto.

diff --git a/ChangeLog b/ChangeLog
index 5a6132e..0ec6870 100644
--- 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.
diff --git a/include/freetype/config/ftmodule.h b/include/freetype/config/ftmodule.h
index 2b46009..d4ba3f7 100644
--- a/include/freetype/config/ftmodule.h
+++ b/include/freetype/config/ftmodule.h
@@ -19,13 +19,13 @@ FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class )
 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 )
 
diff --git a/modules.cfg b/modules.cfg
index de66ee5..30f7fac 100644
--- a/modules.cfg
+++ b/modules.cfg
@@ -93,12 +93,12 @@ HINTING_MODULES += pshinter
 #### 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