diff options
-rw-r--r-- | core/src/fxge/android/fpf_skiafontmgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/fxge/android/fpf_skiafontmgr.cpp b/core/src/fxge/android/fpf_skiafontmgr.cpp index a263416521..f74d9ea2b7 100644 --- a/core/src/fxge/android/fpf_skiafontmgr.cpp +++ b/core/src/fxge/android/fpf_skiafontmgr.cpp @@ -422,7 +422,8 @@ void CFPF_SkiaFontMgr::ScanPath(const CFX_ByteStringC& path) { } else { CFX_ByteString ext = filename.Right(4); ext.MakeLower(); - if (ext != FX_BSTRC(".ttf") && ext != FX_BSTRC(".ttc")) { + if (ext != FX_BSTRC(".ttf") && ext != FX_BSTRC(".ttc") && + ext != FX_BSTRC(".otf")) { continue; } } |