From f0488d26e7a2665513fe8498680cd690659dcd0a Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 26 Aug 2023 07:52:03 +0200 Subject: [PATCH] Compose fonts require bundled fonts --- app/src/main/java/eu/faircode/email/FragmentOptionsSend.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsSend.java b/app/src/main/java/eu/faircode/email/FragmentOptionsSend.java index 70b98d985a..ccf3c7c476 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsSend.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsSend.java @@ -206,7 +206,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc swReplyMove = view.findViewById(R.id.swReplyMove); swReplyMoveInbox = view.findViewById(R.id.swReplyMoveInbox); - List fonts = StyleHelper.getFonts(getContext()); + List fonts = StyleHelper.getFonts(getContext(), false); List fn = new ArrayList<>(); fn.add("-"); @@ -792,7 +792,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc btnComposeColor.setColor(prefs.getInt("compose_color", Color.TRANSPARENT)); String compose_font = prefs.getString("compose_font", ""); - List fonts = StyleHelper.getFonts(getContext()); + List fonts = StyleHelper.getFonts(getContext(), false); for (int pos = 0; pos < fonts.size(); pos++) { StyleHelper.FontDescriptor font = fonts.get(pos); if (font.type.equals(compose_font)) {