File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ Join our discord server to keep contact us about Android Code Editor.
49
49
- [ ] JSON
50
50
51
51
## Thanks to
52
+ - [ JetBrains] ( https://www.jetbrains.com ) for [ JetBrains font] ( https://www.jetbrains.com/lp/mono )
52
53
- [ bmelnychuk] ( https://github.com/bmelnychuk ) for [ AndroidTreeView] ( https://github.com/bmelnychuk/AndroidTreeView )
53
54
- [ tiagohm] ( https://github.com/tiagohm ) for [ MarkdownView] ( https://github.com/tiagohm/MarkdownView )
54
55
- [ Pictogrammers] ( https://pictogrammers.com/ ) for awsome icons
Original file line number Diff line number Diff line change 19
19
20
20
import android .content .Context ;
21
21
import android .content .res .AssetManager ;
22
+ import android .graphics .Typeface ;
22
23
import android .view .ViewGroup ;
23
24
import editor .tsd .tools .Language ;
24
25
import editor .tsd .tools .Themes ;
@@ -46,7 +47,8 @@ public SoraEditor(Context context) {
46
47
ViewGroup .LayoutParams codeEditor_LayoutParams =
47
48
new ViewGroup .LayoutParams (
48
49
ViewGroup .LayoutParams .MATCH_PARENT , ViewGroup .LayoutParams .MATCH_PARENT );
49
-
50
+ Typeface font = Typeface .createFromAsset (context .getAssets (), "Editor/SoraEditor/jetbrains.ttf" );
51
+ editor .setTypefaceText (font );
50
52
editor .setLayoutParams (codeEditor_LayoutParams );
51
53
}
52
54
You can’t perform that action at this time.
0 commit comments