1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

RenderingHelpers: Disable gamma correction, which breaks colour emoji rendering

This commit is contained in:
reuk 2024-03-05 12:34:28 +00:00
parent c40da067cd
commit 830bccd05f
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -2304,14 +2304,6 @@ public:
auto* edgeTableClip = new EdgeTableRegionType (edgeTable);
edgeTableClip->edgeTable.translate (x, y);
if (fillType.isColour())
{
auto brightness = fillType.colour.getBrightness() - 0.5f;
if (brightness > 0.0f)
edgeTableClip->edgeTable.multiplyLevels (1.0f + 1.6f * brightness);
}
fillShape (*edgeTableClip, false);
}
}