mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Improve synthetic bold quality and use synthetic bold for most Open Sans uses
This commit is contained in:
@@ -593,7 +593,7 @@ namespace PortabilityLayer
|
||||
if (window->GetStyleFlags() & WindowStyleFlags::kCloseBox)
|
||||
RenderChromeCloseBox(surface, rect, false);
|
||||
|
||||
PortabilityLayer::RenderedFont *appFont = GetFont(PortabilityLayer::FontPresets::kApplication10Bold);
|
||||
PortabilityLayer::RenderedFont *appFont = GetFont(PortabilityLayer::FontPresets::kApplication10SyntheticBold);
|
||||
int32_t ascender = appFont->GetMetrics().m_ascent;
|
||||
|
||||
const PLPasStr titlePStr = window->GetTitle().ToShortStr();
|
||||
|
Reference in New Issue
Block a user