fixed #2151: Custom font can't be loaded correctly if using full path of filename.

Also supporting loading font file in external storage.