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:
committed by
Robert Osfield
parent
f2176a12a7
commit
c32d3eb926
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user