feat: fix text measure tool chinese display bug
This commit is contained in:
@@ -37,7 +37,7 @@ void pqFontPropertyWidget::SetTextInput()
|
||||
{
|
||||
return;
|
||||
}
|
||||
QByteArray ba = qstr.toLatin1();
|
||||
QByteArray ba = qstr.toUtf8();
|
||||
this->textActor->SetTextInput(ba.data());
|
||||
this->tRender->Render();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user