Added multiple codepage, and fixed a bug for fonts shorter than 16 pixels