Closed ctrlaltca closed 10 months ago
This does help... as long as user doesn't change the system locale. Because the localized string "Курсив"/"Italic" is saved in settings. When I flip between different LC_ALL, I see the same behavior as without this fix.
I guess that's still better than what we have now :(
Correct, as long as the font uses localized style names there's no way we can support switching locales.
KviStringConversion: is used to convert a font from/to a string for settings storage. This PR adds "styleName" to the font properties saved in the settings file. This property is needed by QFontDialog to show the correct font style (eg. italic, bold, etc) for certain fonts. One example of this font is MS' Verdana, that includes localized version for the style names.