amazfitbip / font_tool

11 stars 3 forks source link

Cant unpack T-Rex #7

Open mgkaung opened 4 years ago

mgkaung commented 4 years ago

Unpacking trex.ft fontVersion 4 non-Latin: True Latin: False last_block b'W\x00\xee\xff\n\n\x0e\x01\x0c\xff\x00\x01\x00\x00' ptr=000000 57 00 ee ff 0a 0a 0e 01 0c ff 00 01 00 00 img_data_addr=00000000+0x20 unicode=0a0a w: 14 h:1 dimensione_stimata 0x07 last_img_addr = ffee0057
pointer; 0x-0000e Traceback (most recent call last): File "/storage/emulated/0/Trex/fonttool-gtr.py", line 347, in unpackFont(args.filename, raw = args.raw, verbose = args.verbose) File "/storage/emulated/0/Trex/fonttool-gtr.py", line 156, in unpackFont value = file_content[pos] IndexError: index out of range