Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] Fix juce_freetype_Fonts.cpp issue, causing to be unable to build JUCE 5 plugins #23

Draft
wants to merge 1 commit into
base: v5.x-distrho
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/juce_graphics/native/juce_freetype_Fonts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ class FreeTypeTypeface : public CustomTypeface
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;
short unsigned int* const contours = outline.contours;
unsigned char* const tags = outline.tags;
const FT_Vector* const points = outline.points;

for (int c = 0; c < outline.n_contours; ++c)
Expand Down