Added some formats (.fon, .otf and .ttc) support to FreeType loader

Former-commit-id: ff5d9f9522c920976929603f25d056ed68e6d971
This commit is contained in:
Lynix 2015-01-16 12:46:07 +01:00
parent bdaa4f2838
commit e85c6afa12
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ namespace
{
///FIXME: Je suppose qu'il en manque quelques unes..
static std::set<NzString> supportedExtensions = {
"afm", "bdf", "cff", "cid", "dfont", "fnt", "pfa", "pfb", "pfm", "pfr", "sfnt", "tte", "ttf"
"afm", "bdf", "cff", "cid", "dfont", "fnt", "fon", "otf", "pfa", "pfb", "pfm", "pfr", "sfnt", "ttc", "tte", "ttf"
};
return supportedExtensions.find(extension) != supportedExtensions.end();