From dc7c246ca7f868a4006c348a902f64378e9eaff8 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 19 Mar 2017 15:05:30 +0100 Subject: [PATCH] Support otf fonts --- OsmAnd-java/src/net/osmand/NativeLibrary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/NativeLibrary.java b/OsmAnd-java/src/net/osmand/NativeLibrary.java index dac3430a2e..b44063d402 100644 --- a/OsmAnd-java/src/net/osmand/NativeLibrary.java +++ b/OsmAnd-java/src/net/osmand/NativeLibrary.java @@ -333,7 +333,7 @@ public class NativeLibrary { }); for(File f : lst) { final String name = f.getName(); - if(!name.endsWith(".ttf")) { + if(!name.endsWith(".ttf") || !name.endsWith(".otf")) { continue; } try {