Browse Source

update freetype

pull/23/head
robert 1 year ago
parent
commit
111de9d1a0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_graphics/native/juce_freetype_Fonts.cpp

+ 2
- 2
modules/juce_graphics/native/juce_freetype_Fonts.cpp View File

@@ -353,8 +353,8 @@ private:
bool getGlyphShape (Path& destShape, const FT_Outline& outline, const float scaleX) bool getGlyphShape (Path& destShape, const FT_Outline& outline, const float scaleX)
{ {
const float scaleY = -scaleX; const float scaleY = -scaleX;
const short* const contours = outline.contours;
const char* const tags = outline.tags;
short unsigned int* const contours = outline.contours;
unsigned char* const tags = outline.tags;
const FT_Vector* const points = outline.points; const FT_Vector* const points = outline.points;
for (int c = 0; c < outline.n_contours; ++c) for (int c = 0; c < outline.n_contours; ++c)


Loading…
Cancel
Save