From 5e0b2662d758e3401030ef5955e12f33eec69b23 Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Fri, 25 Feb 2022 18:23:40 +0800 Subject: New fonts: Atkinson Hyperlegible and Atkinson Hyperlegible Bold. --- .../infinityforreddit/font/ContentFontFamily.java | 2 ++ .../infinityforreddit/font/FontFamily.java | 2 ++ .../infinityforreddit/font/TitleFontFamily.java | 2 ++ app/src/main/res/font/atkinson_hyperlegible.xml | 23 ++++++++++++++++++++ .../main/res/font/atkinson_hyperlegible_bold.ttf | Bin 0 -> 54444 bytes .../res/font/atkinson_hyperlegible_bold_italic.ttf | Bin 0 -> 54608 bytes .../font/atkinson_hyperlegible_bold_version.xml | 13 +++++++++++ .../main/res/font/atkinson_hyperlegible_italic.ttf | Bin 0 -> 54200 bytes .../res/font/atkinson_hyperlegible_regular.ttf | Bin 0 -> 53504 bytes app/src/main/res/values/arrays.xml | 4 ++++ app/src/main/res/values/styles.xml | 24 +++++++++++++++++++++ 11 files changed, 70 insertions(+) create mode 100644 app/src/main/res/font/atkinson_hyperlegible.xml create mode 100644 app/src/main/res/font/atkinson_hyperlegible_bold.ttf create mode 100644 app/src/main/res/font/atkinson_hyperlegible_bold_italic.ttf create mode 100644 app/src/main/res/font/atkinson_hyperlegible_bold_version.xml create mode 100644 app/src/main/res/font/atkinson_hyperlegible_italic.ttf create mode 100644 app/src/main/res/font/atkinson_hyperlegible_regular.ttf (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/font/ContentFontFamily.java b/app/src/main/java/ml/docilealligator/infinityforreddit/font/ContentFontFamily.java index 58d09d06..315d849a 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/font/ContentFontFamily.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/font/ContentFontFamily.java @@ -17,6 +17,8 @@ public enum ContentFontFamily { Manrope(R.style.ContentFontFamily_Manrope, "Manrope"), ManropeBold(R.style.ContentFontFamily_ManropeBold, "ManropeBold"), Sriracha(R.style.ContentFontFamily_Sriracha, "Sriracha"), + AtkinsonHyperlegible(R.style.ContentFontFamily_AtkinsonHyperlegible, "AtkinsonHyperlegible"), + AtkinsonHyperlegibleBold(R.style.ContentFontFamily_AtkinsonHyperlegibleBold, "AtkinsonHyperlegibleBold"), Custom(R.style.ContentFontFamily, "Custom"); private int resId; diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/font/FontFamily.java b/app/src/main/java/ml/docilealligator/infinityforreddit/font/FontFamily.java index c4bfa873..f8957146 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/font/FontFamily.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/font/FontFamily.java @@ -17,6 +17,8 @@ public enum FontFamily { Manrope(R.style.FontFamily_Manrope, "Manrope"), ManropeBold(R.style.FontFamily_ManropeBold, "ManropeBold"), Sriracha(R.style.FontFamily_Sriracha, "Sriracha"), + AtkinsonHyperlegible(R.style.FontFamily_AtkinsonHyperlegible, "AtkinsonHyperlegible"), + AtkinsonHyperlegibleBold(R.style.FontFamily_AtkinsonHyperlegibleBold, "AtkinsonHyperlegibleBold"), Custom(R.style.FontFamily, "Custom"); private int resId; diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/font/TitleFontFamily.java b/app/src/main/java/ml/docilealligator/infinityforreddit/font/TitleFontFamily.java index fc7299c5..0c82227e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/font/TitleFontFamily.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/font/TitleFontFamily.java @@ -17,6 +17,8 @@ public enum TitleFontFamily { Manrope(R.style.TitleFontFamily_Manrope, "Manrope"), ManropeBold(R.style.TitleFontFamily_ManropeBold, "ManropeBold"), Sriracha(R.style.TitleFontFamily_Sriracha, "Sriracha"), + AtkinsonHyperlegible(R.style.TitleFontFamily_AtkinsonHyperlegible, "AtkinsonHyperlegible"), + AtkinsonHyperlegibleBold(R.style.TitleFontFamily_AtkinsonHyperlegibleBold, "AtkinsonHyperlegibleBold"), Custom(R.style.TitleFontFamily, "Custom"); private int resId; diff --git a/app/src/main/res/font/atkinson_hyperlegible.xml b/app/src/main/res/font/atkinson_hyperlegible.xml new file mode 100644 index 00000000..8316b412 --- /dev/null +++ b/app/src/main/res/font/atkinson_hyperlegible.xml @@ -0,0 +1,23 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/font/atkinson_hyperlegible_bold.ttf b/app/src/main/res/font/atkinson_hyperlegible_bold.ttf new file mode 100644 index 00000000..c72b4889 Binary files /dev/null and b/app/src/main/res/font/atkinson_hyperlegible_bold.ttf differ diff --git a/app/src/main/res/font/atkinson_hyperlegible_bold_italic.ttf b/app/src/main/res/font/atkinson_hyperlegible_bold_italic.ttf new file mode 100644 index 00000000..ff966b11 Binary files /dev/null and b/app/src/main/res/font/atkinson_hyperlegible_bold_italic.ttf differ diff --git a/app/src/main/res/font/atkinson_hyperlegible_bold_version.xml b/app/src/main/res/font/atkinson_hyperlegible_bold_version.xml new file mode 100644 index 00000000..a2d3dd14 --- /dev/null +++ b/app/src/main/res/font/atkinson_hyperlegible_bold_version.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/font/atkinson_hyperlegible_italic.ttf b/app/src/main/res/font/atkinson_hyperlegible_italic.ttf new file mode 100644 index 00000000..1cf113a0 Binary files /dev/null and b/app/src/main/res/font/atkinson_hyperlegible_italic.ttf differ diff --git a/app/src/main/res/font/atkinson_hyperlegible_regular.ttf b/app/src/main/res/font/atkinson_hyperlegible_regular.ttf new file mode 100644 index 00000000..23614a4d Binary files /dev/null and b/app/src/main/res/font/atkinson_hyperlegible_regular.ttf differ diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 8c5c60aa..55b887bd 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -162,6 +162,8 @@ Manrope (No Italic) Manrope Bold (No Italic) Sriracha + Atkinson Hyperlegible + Atkinson Hyperlegible Bold @string/settings_custom_font_family_title @@ -180,6 +182,8 @@ Manrope ManropeBold Sriracha + AtkinsonHyperlegible + AtkinsonHyperlegibleBold Custom diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 3eac8f66..460201e0 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -313,6 +313,14 @@ @font/sriracha_regular + + + + + + + + + + + +