Browse Source

Fix build with latest freetype

Signed-off-by: falkTX <falktx@falktx.com>
v5.x-distrho
falkTX 4 months ago
parent
commit
d1a2d59082
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
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)
{
const float scaleY = -scaleX;
const short* const contours = outline.contours;
const char* const tags = outline.tags;
const typeof(outline.contours) contours = outline.contours;
const typeof(outline.tags) tags = outline.tags;
const FT_Vector* const points = outline.points;
for (int c = 0; c < outline.n_contours; ++c)


Loading…
Cancel
Save