mirror of
https://github.com/keymanapp/keyman.git
synced 2026-11-03 09:37:47 +00:00
fix(android/engine): Fix font paths
This commit is contained in:
parent
cb53c5213e
commit
c3e94beffa
1 changed files with 2 additions and 6 deletions
|
|
@ -363,9 +363,7 @@ final class KMKeyboard extends WebView {
|
|||
* @return String
|
||||
*/
|
||||
public static String textFontFilename() {
|
||||
String fontPath = (txtFont.contains(KMManager.KMDefault_KeyboardFont)) ?
|
||||
KMManager.getResourceRoot() : keyboardRoot;
|
||||
return txtFont.isEmpty() ? "" : fontPath + txtFont;
|
||||
return txtFont;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -373,9 +371,7 @@ final class KMKeyboard extends WebView {
|
|||
* @return String
|
||||
*/
|
||||
public static String oskFontFilename() {
|
||||
String fontPath = (oskFont.contains(KMManager.KMDefault_KeyboardFont)) ?
|
||||
KMManager.getResourceRoot() : keyboardRoot;
|
||||
return fontPath + oskFont;
|
||||
return oskFont;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue