aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/font/ContentFontFamily.java2
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/font/FontFamily.java2
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/font/TitleFontFamily.java2
-rw-r--r--app/src/main/res/font/atkinson_hyperlegible.xml23
-rw-r--r--app/src/main/res/font/atkinson_hyperlegible_bold.ttfbin0 -> 54444 bytes
-rw-r--r--app/src/main/res/font/atkinson_hyperlegible_bold_italic.ttfbin0 -> 54608 bytes
-rw-r--r--app/src/main/res/font/atkinson_hyperlegible_bold_version.xml13
-rw-r--r--app/src/main/res/font/atkinson_hyperlegible_italic.ttfbin0 -> 54200 bytes
-rw-r--r--app/src/main/res/font/atkinson_hyperlegible_regular.ttfbin0 -> 53504 bytes
-rw-r--r--app/src/main/res/values/arrays.xml4
-rw-r--r--app/src/main/res/values/styles.xml24
11 files changed, 70 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<font-family xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+ <font
+ app:fontStyle="normal"
+ app:fontWeight="400"
+ app:font="@font/atkinson_hyperlegible_regular" />
+
+ <font
+ app:fontStyle="normal"
+ app:fontWeight="700"
+ app:font="@font/atkinson_hyperlegible_bold" />
+
+ <font
+ app:fontStyle="italic"
+ app:fontWeight="400"
+ app:font="@font/atkinson_hyperlegible_bold" />
+
+ <font
+ app:fontStyle="italic"
+ app:fontWeight="700"
+ app:font="@font/atkinson_hyperlegible_bold_italic" />
+</font-family> \ 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
--- /dev/null
+++ b/app/src/main/res/font/atkinson_hyperlegible_bold.ttf
Binary files 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
--- /dev/null
+++ b/app/src/main/res/font/atkinson_hyperlegible_bold_italic.ttf
Binary files 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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<font-family xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+ <font
+ app:fontStyle="normal"
+ app:fontWeight="700"
+ app:font="@font/atkinson_hyperlegible_bold" />
+
+ <font
+ app:fontStyle="italic"
+ app:fontWeight="700"
+ app:font="@font/atkinson_hyperlegible_bold_italic" />
+</font-family> \ 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
--- /dev/null
+++ b/app/src/main/res/font/atkinson_hyperlegible_italic.ttf
Binary files 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
--- /dev/null
+++ b/app/src/main/res/font/atkinson_hyperlegible_regular.ttf
Binary files 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 @@
<item>Manrope (No Italic)</item>
<item>Manrope Bold (No Italic)</item>
<item>Sriracha</item>
+ <item>Atkinson Hyperlegible</item>
+ <item>Atkinson Hyperlegible Bold</item>
<item>@string/settings_custom_font_family_title</item>
</string-array>
@@ -180,6 +182,8 @@
<item>Manrope</item>
<item>ManropeBold</item>
<item>Sriracha</item>
+ <item>AtkinsonHyperlegible</item>
+ <item>AtkinsonHyperlegibleBold</item>
<item>Custom</item>
</string-array>
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 @@
<item name="font_family">@font/sriracha_regular</item>
</style>
+ <style name="FontFamily.AtkinsonHyperlegible">
+ <item name="font_family">@font/atkinson_hyperlegible</item>
+ </style>
+
+ <style name="FontFamily.AtkinsonHyperlegibleBold">
+ <item name="font_family">@font/atkinson_hyperlegible_bold_version</item>
+ </style>
+
<style name="TitleFontFamily" />
<style name="TitleFontFamily.Default">
@@ -371,6 +379,14 @@
<item name="title_font_family">@font/sriracha_regular</item>
</style>
+ <style name="TitleFontFamily.AtkinsonHyperlegible">
+ <item name="title_font_family">@font/atkinson_hyperlegible</item>
+ </style>
+
+ <style name="TitleFontFamily.AtkinsonHyperlegibleBold">
+ <item name="title_font_family">@font/atkinson_hyperlegible_bold_version</item>
+ </style>
+
<style name="ContentFontFamily" />
<style name="ContentFontFamily.Default">
@@ -429,6 +445,14 @@
<item name="content_font_family">@font/sriracha_regular</item>
</style>
+ <style name="ContentFontFamily.AtkinsonHyperlegible">
+ <item name="content_font_family">@font/atkinson_hyperlegible</item>
+ </style>
+
+ <style name="ContentFontFamily.AtkinsonHyperlegibleBold">
+ <item name="content_font_family">@font/atkinson_hyperlegible_bold_version</item>
+ </style>
+
<style name="Theme" />
<style name="Theme.Normal">