Since version 2.5.1 freetype has supported the WOFF extension format.

In the attached ReaderWriterFreeType.cpp file I added the following line:

            supportsExtension("woff","web open font format");
This commit is contained in:
Anna Sokol
2017-07-17 16:46:16 +01:00
committed by Robert Osfield
parent f2176a12a7
commit c32d3eb926

View File

@@ -20,6 +20,7 @@ class ReaderWriterFreeType : public osgDB::ReaderWriter
supportsExtension("fon","Windows bitmap fonts format");
supportsExtension("fnt","Windows bitmap fonts format");
supportsExtension("text3d","use 3D Font instead of 2D Font");
supportsExtension("woff","web open font format");
supportsOption("monochrome","Select monochrome font.");
}