shithub: freetype+ttf2subf

Download patch

ref: 5a1b9d014bbb65c76b5b51f7c9f0b1f38143205b
parent: ec9b6c314dc018bbf0af4ff657fa5ff56a5bf9f7
author: Anuj Verma <[email protected]>
date: Sun Aug 16 05:06:59 EDT 2020

[base] Allow renderers of different formats.

* src/base/ftobjs.c (FT_Render_Glyph_Internal): Do not return if the
glyph's slot format is `FT_GLYPH_FORMAT_BITMAP`.  The forthcoming
'bsdf' renderer will require bitmaps for processing.

* src/base/ftobjs.c (ft_add_renderer, ft_remove_renderer): Remove
renderer's glyph format check before adding and removing them.  The
'bsdf' renderer will have a format `FT_GLYPH_FORMAT_BITMAP`.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2020-08-16  Anuj Verma  <[email protected]>
 
+	[base] Allow renderers of different formats.
+
+	* src/base/ftobjs.c (FT_Render_Glyph_Internal): Do not return if the
+	glyph's slot format is `FT_GLYPH_FORMAT_BITMAP`.  The forthcoming
+	'bsdf' renderer will require bitmaps for processing.
+
+	* src/base/ftobjs.c (ft_add_renderer, ft_remove_renderer): Remove
+	renderer's glyph format check before adding and removing them.  The
+	'bsdf' renderer will have a format `FT_GLYPH_FORMAT_BITMAP`.
+
+2020-08-16  Anuj Verma  <[email protected]>
+
 	Add data types required for the forthcoming 'sdf' module.
 
 	* include/freetype/freetype.h (FT_Render_Mode): Add new render mode