only remap the font if we found a valid encoding (where max_unicode > 0)