Add synthetic bold hack to better support Geneva CY

This commit is contained in:
elasota
2021-04-16 00:25:30 -04:00
parent 141f840888
commit 3d3f839801
5 changed files with 221 additions and 13 deletions

View File

@@ -8,6 +8,7 @@ struct GpRenderedFontMetrics;
struct IGpFont
{
virtual void Destroy() = 0;
virtual IGpFontRenderedGlyph *Render(uint32_t unicodeCodePoint, unsigned int size, bool aa) = 0;
virtual IGpFontRenderedGlyph *Render(uint32_t unicodeCodePoint, unsigned int size, unsigned int xScale, unsigned int yScale, bool aa) = 0;
virtual bool GetLineSpacing(unsigned int size, int32_t &outSpacing) = 0;
virtual bool SupportScaling() const = 0;
};