#include <ft2build.h>
Go to the source code of this file.
◆ FT_COMPONENT
#define FT_COMPONENT trace_synth |
◆ FT_GlyphSlot_Embolden()
Definition at line 90 of file ftsynth.c.
91 {
96
97
99 return;
100
103
105 slot->format != FT_GLYPH_FORMAT_BITMAP )
106 return;
107
108
110 face->size->metrics.y_scale ) / 24;
111 ystr = xstr;
112
115
116 else
117 {
118
119 xstr &= ~63;
120 if ( xstr == 0 )
121 xstr = 1 << 6;
122 ystr &= ~63;
123
124
125
126
127
128
129
131 {
133 FT_TRACE1((
"too strong emboldening parameter ystr=%d\n", ystr ));
134 return;
135 }
138 return;
139
142 return;
143 }
144
145 if (
slot->advance.x )
146 slot->advance.x += xstr;
147
148 if (
slot->advance.y )
149 slot->advance.y += ystr;
150
151 slot->metrics.width += xstr;
152 slot->metrics.height += ystr;
153 slot->metrics.horiAdvance += xstr;
154 slot->metrics.vertAdvance += ystr;
155 slot->metrics.horiBearingY += ystr;
156
157
158 if (
slot->format == FT_GLYPH_FORMAT_BITMAP )
160 }
FT_MulFix(FT_Long a, FT_Long b)
FT_GlyphSlot_Own_Bitmap(FT_GlyphSlot slot)
FT_Bitmap_Embolden(FT_Library library, FT_Bitmap *bitmap, FT_Pos xStrength, FT_Pos yStrength)
#define FT_TRACE1(varformat)
FT_BEGIN_HEADER typedef signed long FT_Pos
FT_Outline_EmboldenXY(FT_Outline *outline, FT_Pos xstrength, FT_Pos ystrength)
smooth FT_Module_Constructor FT_Module_Destructor FT_Module_Requester FT_GLYPH_FORMAT_OUTLINE
GLenum GLuint GLint GLenum face
Referenced by IntGetRealGlyph().
◆ FT_GlyphSlot_Oblique()
Definition at line 48 of file ftsynth.c.
49 {
52
53
55 return;
56
58
59
61 return;
62
63
64
65
66
67
70
73
75 }
FT_Outline_Transform(const FT_Outline *outline, const FT_Matrix *matrix)
GLuint GLenum GLenum transform
Referenced by IntGetRealGlyph().