simplify further
This commit is contained in:
parent
fe7d1e2f53
commit
302e4c75dd
1 changed files with 1 additions and 6 deletions
|
@ -172,12 +172,7 @@ static void shape_text(text_line & line,
|
||||||
for (auto c : clusters)
|
for (auto c : clusters)
|
||||||
{
|
{
|
||||||
auto itr = glyphinfos.find(c);
|
auto itr = glyphinfos.find(c);
|
||||||
if (itr == glyphinfos.end())
|
if (itr == glyphinfos.end() || (!itr->second.empty() && itr->second.front().glyph.codepoint == 0))
|
||||||
{
|
|
||||||
all_set = false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (!itr->second.empty() && itr->second.front().glyph.codepoint == 0)
|
|
||||||
{
|
{
|
||||||
all_set = false;
|
all_set = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue