forked from mia/Aegisub
Make fonts collector regard @-fonts identical to their non-@ variation.
Originally committed to SVN as r1523.
This commit is contained in:
parent
ed9dc1c28e
commit
cdb9d2088b
1 changed files with 4 additions and 0 deletions
|
@ -556,6 +556,10 @@ void FontsCollectorThread::GetFonts (wxString tagName,int par_n,AssOverrideParam
|
|||
///////////////
|
||||
// Adds a font
|
||||
void FontsCollectorThread::AddFont(wxString fontname,bool isStyle) {
|
||||
// @-fonts (CJK vertical layout variations) should be listed as the non-@ name
|
||||
if (fontname.StartsWith(_T("@"), 0))
|
||||
fontname.Remove(0, 1);
|
||||
|
||||
if (fonts.Index(fontname) == wxNOT_FOUND) {
|
||||
fonts.Add(fontname);
|
||||
|
||||
|
|
Loading…
Reference in a new issue