Changes between Version 1 and Version 2 of Ticket #15751, comment 2
- Timestamp:
- Feb 29, 2020, 5:19:22 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15751, comment 2
v1 v2 10 10 - FontStyle* fallbackStyle = gFontManager->GetStyleByIndex( 11 11 - fallbacks[i], 0); 12 + 12 + FontStyle* fallbackStyle = gFontManager->GetStyle( 13 13 + fallbacks[i], font.Style()); 14 + 14 + // TODO this does not produce a satisfactory fallback if i.e "extrabold" 15 + // is selected since the CJK font does not have that, probably need to 16 + // figure out a way to change the font style so that it renders correctly 17 + // (render cjk as bold when display is at extrabold or so) 15 18 if (fallbackStyle != NULL) { 16 19 ServerFont fallbackFont(*fallbackStyle, font.Size());