... |
... |
@@ -69,7 +69,7 @@ |
69
|
69
|
<p>Note that FreeType 2 is capable of dealing
|
70
|
70
|
with <em>any</em> kind of glyph images, as long as a
|
71
|
71
|
renderer module is provided for it. The library comes
|
72
|
|
- by default with two renderers.</p>
|
|
72
|
+ by default with four renderers.</p>
|
73
|
73
|
|
74
|
74
|
<table>
|
75
|
75
|
<tr valign=top>
|
... |
... |
@@ -77,21 +77,20 @@ |
77
|
77
|
<p><tt>raster</tt></p>
|
78
|
78
|
</td>
|
79
|
79
|
<td>
|
80
|
|
- <p>Supports the conversion of vectorial outlines
|
81
|
|
- (described by
|
82
|
|
- an <a href="">"../reference/ft2-outline_processing.html#ft_outline"><code>FT_Outline</code></a>
|
83
|
|
- object) to <em>monochrome</em> bitmaps.</p>
|
|
80
|
+ <p>Convert vectorial outlines
|
|
81
|
+ to <em>monochrome</em> bitmaps.</p>
|
84
|
82
|
</td>
|
85
|
83
|
</tr>
|
|
84
|
+
|
86
|
85
|
<tr valign=top>
|
87
|
86
|
<td>
|
88
|
87
|
<p><tt>smooth</tt></p>
|
89
|
88
|
</td>
|
90
|
89
|
<td>
|
91
|
|
- <p>Supports the conversion of the same outlines to
|
|
90
|
+ <p>Convert vectorial outlines to
|
92
|
91
|
<em>anti-aliased</em> pixmaps (using 256 levels of
|
93
|
92
|
gray). Note that this renderer also supports
|
94
|
|
- direct span generation, this is, it provides a
|
|
93
|
+ direct span generation, that is, it provides a
|
95
|
94
|
hook into the engine so that the application can
|
96
|
95
|
manipulate the rendering results itself, instead
|
97
|
96
|
of letting the rasterizer fill a pixmap.
|
... |
... |
@@ -99,8 +98,38 @@ |
99
|
98
|
tutorial demo file</a> for an example.</p>
|
100
|
99
|
</td>
|
101
|
100
|
</tr>
|
|
101
|
+
|
|
102
|
+ <tr valign=top>
|
|
103
|
+ <td>
|
|
104
|
+ <p><tt>sdf</tt></p>
|
|
105
|
+ </td>
|
|
106
|
+ <td>
|
|
107
|
+ <p>Convert vectorial outlines to
|
|
108
|
+ 8-bit <em>Signed Distance Field</em> (SDF)
|
|
109
|
+ bitmaps.</p>
|
|
110
|
+ </td>
|
|
111
|
+ </tr>
|
|
112
|
+
|
|
113
|
+ <tr valign=top>
|
|
114
|
+ <td>
|
|
115
|
+ <p><tt>bsdf</tt></p>
|
|
116
|
+ </td>
|
|
117
|
+ <td>
|
|
118
|
+ <p>Convert bitmap glyphs to 8-bit <em>Signed
|
|
119
|
+ Distance Field</em> (SDF) bitmaps.</p>
|
|
120
|
+ </td>
|
|
121
|
+ </tr>
|
102
|
122
|
</table>
|
|
123
|
+
|
|
124
|
+ <p>The <a href="">"https://gitlab.freedesktop.org/freetype/freetype-demos/-/blob/master/src/ftsdf.c"><code>ftsdf</code></a>
|
|
125
|
+ FreeType demo program supports both
|
|
126
|
+ the <code>sdf</code> and <code>bsdf</code> renderers;
|
|
127
|
+ all other (graphical) demo
|
|
128
|
+ programs <code>raster</code>
|
|
129
|
+ and <code>smooth</code>.</p>
|
|
130
|
+
|
103
|
131
|
</li>
|
|
132
|
+
|
104
|
133
|
<li>
|
105
|
134
|
<p><em>Font driver</em> modules support one or more
|
106
|
135
|
specific font formats. Here is a list with the most
|
... |
... |
@@ -161,6 +190,7 @@ |
161
|
190
|
hinter, or rely on FreeType's <tt>autofit</tt>
|
162
|
191
|
module for auto-hinting.</p>
|
163
|
192
|
</li>
|
|
193
|
+
|
164
|
194
|
<li>
|
165
|
195
|
<p><em>Helper</em> modules are used to hold shared code
|
166
|
196
|
that is often used by several font drivers, or even
|
... |
... |
@@ -446,7 +476,7 @@ typedef struct FT_Module_Class_ |
446
|
476
|
<!-- ************************************************** -->
|
447
|
477
|
|
448
|
478
|
<div class="updated">
|
449
|
|
- <p>Last update: 13-Feb-2018</p>
|
|
479
|
+ <p>Last update: 27-Jan-2022</p>
|
450
|
480
|
</div>
|
451
|
481
|
</div>
|
452
|
482
|
</div>
|