Changed char id number formatting to 6 numbers instead of 5, which was causing issues with japanese fonts with ids larger than 9999.