Charlie Jiang pushed to branch gsoc-2022-chariri-2 at FreeType / FreeType Demo Programs
Commits:
-
94bfed42
by Charlie Jiang at 2022-07-21T12:51:26+08:00
2 changed files:
Changes:
... | ... | @@ -301,7 +301,7 @@ StringRenderer::prepareLine(int offset, |
301 | 301 | loadStringGlyphs();
|
302 | 302 | }
|
303 | 303 | |
304 | - for (int n = offset; n < activeGlyphs_.size();)
|
|
304 | + for (unsigned n = offset; n < activeGlyphs_.size();)
|
|
305 | 305 | {
|
306 | 306 | auto& ctx = activeGlyphs_[n];
|
307 | 307 | if (repeated_) // if repeated, we must stop when we touch the end of line
|
... | ... | @@ -224,6 +224,7 @@ GlyphContinuous::preprocessGlyph(FT_Glyph* glyphPtr) |
224 | 224 | }
|
225 | 225 | }
|
226 | 226 | break;
|
227 | + default:; // Nothing for M_NORMAL.
|
|
227 | 228 | }
|
228 | 229 | }
|
229 | 230 |