mirror of https://github.com/odrling/Aegisub
Merge r3907 back to trunk, closes #1072
Originally committed to SVN as r3908.
This commit is contained in:
parent
fb9ddc45a3
commit
54ff8124b6
|
@ -200,6 +200,7 @@ void SubsTextEditCtrl::OnLoseFocus(wxFocusEvent &event) {
|
|||
void SubsTextEditCtrl::SetStyles() {
|
||||
// Styles
|
||||
wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
||||
font.SetEncoding(wxFONTENCODING_DEFAULT); // this solves problems with some fonts not working properly
|
||||
wxString fontname = Options.AsText(_T("Edit Font Face"));
|
||||
if (fontname != _T("")) font.SetFaceName(fontname);
|
||||
int size = Options.AsInt(_T("Edit Font Size"));
|
||||
|
|
Loading…
Reference in New Issue