Merge remote-tracking branch 'Benau/freetype' into freetype_lazyloadchar
This commit is contained in:
commit
a84b04db66
@ -105,7 +105,7 @@ void getFontProperties::loadBoldChar(float scale)
|
|||||||
{
|
{
|
||||||
//Only use all capital letter for bold char with latin (<640 of char code).
|
//Only use all capital letter for bold char with latin (<640 of char code).
|
||||||
//Remove all characters (>char code 8191) not used by the title
|
//Remove all characters (>char code 8191) not used by the title
|
||||||
if (((iswlower((wchar_t)*it) || !iswalpha((wchar_t)*it)) && *it < 640) || *it > 8192)
|
if (((iswlower((wchar_t)*it) || !iswalpha((wchar_t)*it)) && *it < 640) || *it > 8191)
|
||||||
it = usedchar.erase(it);
|
it = usedchar.erase(it);
|
||||||
else
|
else
|
||||||
++it;
|
++it;
|
||||||
|
Loading…
Reference in New Issue
Block a user