mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Improved the vertical font hinting algorithm and removed some duplicated typeface code.
This commit is contained in:
parent
45b49f84d1
commit
42bff200ed
10 changed files with 89 additions and 123 deletions
|
|
@ -1410,7 +1410,7 @@ public:
|
|||
AffineTransform t (transform.getTransformWith (AffineTransform::scale (fontHeight * font.getHorizontalScale(), fontHeight)
|
||||
.followedBy (trans)));
|
||||
|
||||
const ScopedPointer<EdgeTable> et (font.getTypeface()->getEdgeTableForGlyph (glyphNumber, t));
|
||||
const ScopedPointer<EdgeTable> et (font.getTypeface()->getEdgeTableForGlyph (glyphNumber, t, fontHeight));
|
||||
|
||||
if (et != nullptr)
|
||||
fillShape (new EdgeTableRegionType (*et), false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue