So you need to look for a possible, he between 3 KB - 10 KB is limited to the size of the ASCII code, if Asia may be large
Parse the data
Fnt The XML data
Code: Select all
id="33" x="2034" y="626" width="6" height="21" xoffset="1" yoffset="5" xadvance="8" page="0" chnl="15"
bmfont Binary data (length of 20)*(page= truncation)
Code: Select all
21 00 00 00/F2 07 72 02 /06 00 15 00/01 00 05 00/08 00 00 0F
ID=21 00 00 00/X=F2 07/Y=72 02/W=06 00/H=15 00/ xoffset=01/ yoffset=05 00/ xadvance=08 00/ chnl=00 15
How to calculate the column
Code: Select all
ID=0021=33/X=07F2=2034/Y=0272=626/W=0006=6/H=0015=21…………
Type 2
ID is an integer
The remainder is a floating number
Game fnt file(length of 32)(chnl=truncation)
Code: Select all
21 00 00 00 /00 00 B7 43 /00 80 BE 43 /00 00 7A 41 /00 A0 63 42 /00 00 22 40/00 C0 63 42 /00 80 9B 41
Code: Select all
ID=0021=33/x=43B70000=366/Y=43BE8000=381/W=417A0000=15.625/H=4263A000=56.90625/page=40220000=2.53125/Xoffset=4263C000=56.9375/yoffset=419B8000=19.4375
May not be very correct but would like to help other people