Hi all,
I have an abnormal behaviour with FontConverter 5.28:
If I load an XBF File with some characters having negative X-Position, then the value of the X-Position is misinterpreted.
Value of -1 is interpreted as 65535
Value of -2 is interpreted as 65534
etc.
Seems that FontConverter has an signed/unsigend issue.
Problem:
If this Font is saved as C-Code, this code will lead to an compiler warning or error (trying to convert 65535 to I8 ).
You can reproduce this with FontConverter:
- File | New | Extended 16 bit Unicode | Arial Standard 24 Pixels (I used Default Arial from Windows 10)
- Then have a look to some characters and keep the vaules in mind:
0x019D: X-Position = -1
0x0300: X-Position = -5
0x0303: X-Position = -10
- Save the font as <name>.XBF file
- Then Load this <name>.XBF file again
- Then have a look to same characters
0x019D: X-Position = 65535
0x0300: X-Position = 65531
0x0303: X-Position = 65526
Can one say wether this behaviour is fixed in the actual version (5.34)?
Best regards
Matz
I have an abnormal behaviour with FontConverter 5.28:
If I load an XBF File with some characters having negative X-Position, then the value of the X-Position is misinterpreted.
Value of -1 is interpreted as 65535
Value of -2 is interpreted as 65534
etc.
Seems that FontConverter has an signed/unsigend issue.
Problem:
If this Font is saved as C-Code, this code will lead to an compiler warning or error (trying to convert 65535 to I8 ).
You can reproduce this with FontConverter:
- File | New | Extended 16 bit Unicode | Arial Standard 24 Pixels (I used Default Arial from Windows 10)
- Then have a look to some characters and keep the vaules in mind:
0x019D: X-Position = -1
0x0300: X-Position = -5
0x0303: X-Position = -10
- Save the font as <name>.XBF file
- Then Load this <name>.XBF file again
- Then have a look to same characters
0x019D: X-Position = 65535
0x0300: X-Position = 65531
0x0303: X-Position = 65526
Can one say wether this behaviour is fixed in the actual version (5.34)?
Best regards
Matz