Fixed an issue with fonts that use id values larger than 9999

Changed char id number formatting to 6 numbers instead of 5, which was causing issues with japanese fonts with ids larger than 9999.

For example:
```
char id=32   x=2
char id=1235 x=2 
char id=12358x=2
```
The last id is read as "12358x" and not "12358"