Support otf fonts

This commit is contained in:
Victor Shcherb 2017-03-19 15:05:30 +01:00
parent b7b0ca501a
commit dc7c246ca7

View file

@ -333,7 +333,7 @@ public class NativeLibrary {
}); });
for(File f : lst) { for(File f : lst) {
final String name = f.getName(); final String name = f.getName();
if(!name.endsWith(".ttf")) { if(!name.endsWith(".ttf") || !name.endsWith(".otf")) {
continue; continue;
} }
try { try {