Prioritize the anti-aliasing renderer module. * modules.cfg: Reorder the renderers. * include/freetype/config/ftmodule.h: Ditto.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
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