Limit lastChar to 0xff in PSDRV_GetCharWidth.