obs-text: Fix issue drawing some chinese characters
Some Chinese fonts (for example "STHupo") won't render any characters in the GDI+ text source. Closes jp9000/obs-studio#800master
parent
e7b08f1695
commit
a5c7cb52f1
|
@ -288,6 +288,7 @@ void TextSource::UpdateFont()
|
|||
lf.lfUnderline = underline;
|
||||
lf.lfStrikeOut = strikeout;
|
||||
lf.lfQuality = ANTIALIASED_QUALITY;
|
||||
lf.lfCharSet = DEFAULT_CHARSET;
|
||||
|
||||
if (!face.empty()) {
|
||||
wcscpy(lf.lfFaceName, face.c_str());
|
||||
|
|
Loading…
Reference in New Issue