Go to the source code of this file.
◆ FT_COMPONENT
◆ FT_GlyphSlot_Embolden()
Definition at line 89 of file ftsynth.c.
90 {
95
96
98 return;
99
102
103 if (
slot->format != FT_GLYPH_FORMAT_OUTLINE &&
104 slot->format != FT_GLYPH_FORMAT_BITMAP )
105 return;
106
107
109 face->size->metrics.y_scale ) / 24;
110 ystr = xstr;
111
112 if (
slot->format == FT_GLYPH_FORMAT_OUTLINE )
114
115 else
116 {
117
118 xstr &= ~63;
119 if ( xstr == 0 )
120 xstr = 1 << 6;
121 ystr &= ~63;
122
123
124
125
126
127
128
130 {
132 FT_TRACE1((
"too strong emboldening parameter ystr=%ld\n", ystr ));
133 return;
134 }
137 return;
138
141 return;
142 }
143
144 if (
slot->advance.x )
145 slot->advance.x += xstr;
146
147 if (
slot->advance.y )
148 slot->advance.y += ystr;
149
150 slot->metrics.width += xstr;
151 slot->metrics.height += ystr;
152 slot->metrics.horiAdvance += xstr;
153 slot->metrics.vertAdvance += ystr;
154 slot->metrics.horiBearingY += ystr;
155
156
157 if (
slot->format == FT_GLYPH_FORMAT_BITMAP )
159 }
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)
GLenum GLuint GLint GLenum face
Referenced by IntGetRealGlyph().
◆ FT_GlyphSlot_Oblique()
Definition at line 47 of file ftsynth.c.
48 {
51
52
54 return;
55
57
58
59 if (
slot->format != FT_GLYPH_FORMAT_OUTLINE )
60 return;
61
62
63
64
65
66
69
72
74 }
FT_Outline_Transform(const FT_Outline *outline, const FT_Matrix *matrix)
GLuint GLenum GLenum transform
Referenced by IntGetRealGlyph().