Hi, seems some devices has no DroidSansChinese.
i'm using following codes to print list of fonts:
String face_name = null;
int face_first = 0;
int face_count = getFaceCount();
while (face_first < face_count)
{
face_name = getFaceName(face_first);
Log.e("Fonts", "Name:" + face_name);
face_first++;
}
and "DroidSansChinese" is not exists on result.
font list on my device is:
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:1.005;GOOG;NotoSansCJKjp-Regular;ADOBE
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:1.005;GOOG;NotoSansCJKkr-Regular;ADOBE
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:1.005;GOOG;NotoSansCJKsc-Regular;ADOBE
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:1.005;GOOG;NotoSansCJKtc-Regular;ADOBE
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:1.005;GOOG;NotoSansMonoCJKjp-Regular;ADOBE
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:1.005;GOOG;NotoSansMonoCJKkr-Regular;ADOBE
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:1.005;GOOG;NotoSansMonoCJKsc-Regular;ADOBE
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:1.005;GOOG;NotoSansMonoCJKtc-Regular;ADOBE
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Amiri
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Amiri-Regular
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Arimo
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Arimo Bold
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Arimo Bold Italic
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Arimo Italic
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Arimo-Bold
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Arimo-BoldItalic
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Arimo-Italic
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:Ascender - Symbol Neu
2019-03-16 23:34:28.590 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Cousine
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Cousine Bold
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Cousine Bold Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Cousine Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Cousine-Bold
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Cousine-BoldItalic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Cousine-Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Google:Roboto Regular:2017
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Hanyi HYQiHei-50S Light v5.00
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:HYQiHei-50S Light
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:HYQiHei-EZS
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Arimo
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Arimo Bold
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Arimo Bold Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Arimo Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Cousine
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Cousine Bold
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Cousine Bold Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Cousine Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Tinos
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Tinos Bold
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Tinos Bold Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Monotype Imaging - Tinos Italic
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Noto Sans CJK JP Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Noto Sans CJK KR Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Noto Sans CJK SC Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Noto Sans CJK TC Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Noto Sans Mono CJK JP Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Noto Sans Mono CJK KR Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Noto Sans Mono CJK SC Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Noto Sans Mono CJK TC Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:NotoSansCJKjp-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:NotoSansCJKkr-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:NotoSansCJKsc-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:NotoSansCJKtc-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:NotoSansMonoCJKjp-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:NotoSansMonoCJKkr-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:NotoSansMonoCJKsc-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:NotoSansMonoCJKtc-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Roboto
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Roboto-Regular
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Sorts Mill Tools 2.1.0_alpha1 : Amiri : 29-12-2013
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:Symbol Neu for Powerline
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:SymbolNeuForPowerline
2019-03-16 23:34:28.591 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:Tinos
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:Tinos Bold
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:Tinos Bold Italic
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:Tinos Italic
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:Tinos-Bold
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:Tinos-BoldItalic
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:Tinos-Italic
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:null
2019-03-16 23:34:28.592 2753-2753/com.radaee.reader E/Fonts: Name:汉仪旗黑-50S Light
when i pass "Noto Sans CJK SC Regular" setAnnotFont(). textbox display Chinese chars.
the best way to support CJK charset shall be :
package a CJK font on you APP, and extract font in Global.init().
setAnnotEditFont seems exists on JNI library, i will better check later.