Improved the handling of font encodings.

3 files changed