CHG: Неправильный расчёт ширины текста в text_out_center и text_out

This commit is contained in:
freebipman 2020-08-27 09:22:54 +10:00
parent 218c15c2d9
commit 9de32c65ba

View File

@ -95,6 +95,9 @@ namespace BipEmulator.Host
private int GetLetterWidth(char letter)
{
if (_ftFile.Version == 9)
return 9;
int width = 0;
if (_ftFile.Letters.ContainsKey((int)letter))
{