mirror of
https://github.com/freebip/BipEmulator.git
synced 2025-06-13 19:12:05 +03:00
CHG: Неправильный расчёт ширины текста в text_out_center и text_out
This commit is contained in:
parent
218c15c2d9
commit
9de32c65ba
@ -95,6 +95,9 @@ namespace BipEmulator.Host
|
|||||||
|
|
||||||
private int GetLetterWidth(char letter)
|
private int GetLetterWidth(char letter)
|
||||||
{
|
{
|
||||||
|
if (_ftFile.Version == 9)
|
||||||
|
return 9;
|
||||||
|
|
||||||
int width = 0;
|
int width = 0;
|
||||||
if (_ftFile.Letters.ContainsKey((int)letter))
|
if (_ftFile.Letters.ContainsKey((int)letter))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user