mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 23:57:39 +03:00
Garamond initial
This commit is contained in:
parent
81c1f787ab
commit
d64bc4303e
4027
lib/EpdFont/builtinFonts/absinthe_12_bold.h
Normal file
4027
lib/EpdFont/builtinFonts/absinthe_12_bold.h
Normal file
File diff suppressed because it is too large
Load Diff
4475
lib/EpdFont/builtinFonts/absinthe_12_bolditalic.h
Normal file
4475
lib/EpdFont/builtinFonts/absinthe_12_bolditalic.h
Normal file
File diff suppressed because it is too large
Load Diff
4069
lib/EpdFont/builtinFonts/absinthe_12_italic.h
Normal file
4069
lib/EpdFont/builtinFonts/absinthe_12_italic.h
Normal file
File diff suppressed because it is too large
Load Diff
3707
lib/EpdFont/builtinFonts/absinthe_12_regular.h
Normal file
3707
lib/EpdFont/builtinFonts/absinthe_12_regular.h
Normal file
File diff suppressed because it is too large
Load Diff
5061
lib/EpdFont/builtinFonts/absinthe_14_bold.h
Normal file
5061
lib/EpdFont/builtinFonts/absinthe_14_bold.h
Normal file
File diff suppressed because it is too large
Load Diff
5653
lib/EpdFont/builtinFonts/absinthe_14_bolditalic.h
Normal file
5653
lib/EpdFont/builtinFonts/absinthe_14_bolditalic.h
Normal file
File diff suppressed because it is too large
Load Diff
5095
lib/EpdFont/builtinFonts/absinthe_14_italic.h
Normal file
5095
lib/EpdFont/builtinFonts/absinthe_14_italic.h
Normal file
File diff suppressed because it is too large
Load Diff
4633
lib/EpdFont/builtinFonts/absinthe_14_regular.h
Normal file
4633
lib/EpdFont/builtinFonts/absinthe_14_regular.h
Normal file
File diff suppressed because it is too large
Load Diff
6254
lib/EpdFont/builtinFonts/absinthe_16_bold.h
Normal file
6254
lib/EpdFont/builtinFonts/absinthe_16_bold.h
Normal file
File diff suppressed because it is too large
Load Diff
6996
lib/EpdFont/builtinFonts/absinthe_16_bolditalic.h
Normal file
6996
lib/EpdFont/builtinFonts/absinthe_16_bolditalic.h
Normal file
File diff suppressed because it is too large
Load Diff
6328
lib/EpdFont/builtinFonts/absinthe_16_italic.h
Normal file
6328
lib/EpdFont/builtinFonts/absinthe_16_italic.h
Normal file
File diff suppressed because it is too large
Load Diff
5716
lib/EpdFont/builtinFonts/absinthe_16_regular.h
Normal file
5716
lib/EpdFont/builtinFonts/absinthe_16_regular.h
Normal file
File diff suppressed because it is too large
Load Diff
7886
lib/EpdFont/builtinFonts/absinthe_18_bold.h
Normal file
7886
lib/EpdFont/builtinFonts/absinthe_18_bold.h
Normal file
File diff suppressed because it is too large
Load Diff
8847
lib/EpdFont/builtinFonts/absinthe_18_bolditalic.h
Normal file
8847
lib/EpdFont/builtinFonts/absinthe_18_bolditalic.h
Normal file
File diff suppressed because it is too large
Load Diff
7953
lib/EpdFont/builtinFonts/absinthe_18_italic.h
Normal file
7953
lib/EpdFont/builtinFonts/absinthe_18_italic.h
Normal file
File diff suppressed because it is too large
Load Diff
7203
lib/EpdFont/builtinFonts/absinthe_18_regular.h
Normal file
7203
lib/EpdFont/builtinFonts/absinthe_18_regular.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -33,22 +33,22 @@
|
|||||||
#include <builtinFonts/notosans_18_bolditalic.h>
|
#include <builtinFonts/notosans_18_bolditalic.h>
|
||||||
#include <builtinFonts/notosans_18_italic.h>
|
#include <builtinFonts/notosans_18_italic.h>
|
||||||
#include <builtinFonts/notosans_18_regular.h>
|
#include <builtinFonts/notosans_18_regular.h>
|
||||||
#include <builtinFonts/opendyslexic_10_bold.h>
|
#include <builtinFonts/absinthe_16_bold.h>
|
||||||
#include <builtinFonts/opendyslexic_10_bolditalic.h>
|
#include <builtinFonts/absinthe_16_bolditalic.h>
|
||||||
#include <builtinFonts/opendyslexic_10_italic.h>
|
#include <builtinFonts/absinthe_16_italic.h>
|
||||||
#include <builtinFonts/opendyslexic_10_regular.h>
|
#include <builtinFonts/absinthe_16_regular.h>
|
||||||
#include <builtinFonts/opendyslexic_12_bold.h>
|
#include <builtinFonts/absinthe_12_bold.h>
|
||||||
#include <builtinFonts/opendyslexic_12_bolditalic.h>
|
#include <builtinFonts/absinthe_12_bolditalic.h>
|
||||||
#include <builtinFonts/opendyslexic_12_italic.h>
|
#include <builtinFonts/absinthe_12_italic.h>
|
||||||
#include <builtinFonts/opendyslexic_12_regular.h>
|
#include <builtinFonts/absinthe_12_regular.h>
|
||||||
#include <builtinFonts/opendyslexic_14_bold.h>
|
#include <builtinFonts/absinthe_14_bold.h>
|
||||||
#include <builtinFonts/opendyslexic_14_bolditalic.h>
|
#include <builtinFonts/absinthe_14_bolditalic.h>
|
||||||
#include <builtinFonts/opendyslexic_14_italic.h>
|
#include <builtinFonts/absinthe_14_italic.h>
|
||||||
#include <builtinFonts/opendyslexic_14_regular.h>
|
#include <builtinFonts/absinthe_14_regular.h>
|
||||||
#include <builtinFonts/opendyslexic_8_bold.h>
|
#include <builtinFonts/absinthe_18_bold.h>
|
||||||
#include <builtinFonts/opendyslexic_8_bolditalic.h>
|
#include <builtinFonts/absinthe_18_bolditalic.h>
|
||||||
#include <builtinFonts/opendyslexic_8_italic.h>
|
#include <builtinFonts/absinthe_18_italic.h>
|
||||||
#include <builtinFonts/opendyslexic_8_regular.h>
|
#include <builtinFonts/absinthe_18_regular.h>
|
||||||
#include <builtinFonts/ubuntu_10_bold.h>
|
#include <builtinFonts/ubuntu_10_bold.h>
|
||||||
#include <builtinFonts/ubuntu_10_regular.h>
|
#include <builtinFonts/ubuntu_10_regular.h>
|
||||||
#include <builtinFonts/ubuntu_12_bold.h>
|
#include <builtinFonts/ubuntu_12_bold.h>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
BIN
lib/EpdFont/builtinFonts/source/Absinthe/Absinthe-Bold.ttf
Normal file
BIN
lib/EpdFont/builtinFonts/source/Absinthe/Absinthe-Bold.ttf
Normal file
Binary file not shown.
BIN
lib/EpdFont/builtinFonts/source/Absinthe/Absinthe-BoldItalic.ttf
Normal file
BIN
lib/EpdFont/builtinFonts/source/Absinthe/Absinthe-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
lib/EpdFont/builtinFonts/source/Absinthe/Absinthe-Italic.ttf
Normal file
BIN
lib/EpdFont/builtinFonts/source/Absinthe/Absinthe-Italic.ttf
Normal file
Binary file not shown.
BIN
lib/EpdFont/builtinFonts/source/Absinthe/Absinthe-Regular.ttf
Normal file
BIN
lib/EpdFont/builtinFonts/source/Absinthe/Absinthe-Regular.ttf
Normal file
Binary file not shown.
@ -80,39 +80,39 @@ ruby -rdigest -e 'puts [
|
|||||||
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||||
))"
|
))"
|
||||||
|
|
||||||
echo "#define OPENDYSLEXIC_8_FONT_ID ($(
|
echo "#define ABSINTHE_12_FONT_ID ($(
|
||||||
ruby -rdigest -e 'puts [
|
ruby -rdigest -e 'puts [
|
||||||
"./opendyslexic_8_regular.h",
|
"./absinthe_12_regular.h",
|
||||||
"./opendyslexic_8_bold.h",
|
"./absinthe_12_bold.h",
|
||||||
"./opendyslexic_8_bolditalic.h",
|
"./absinthe_12_bolditalic.h",
|
||||||
"./opendyslexic_8_italic.h",
|
"./absinthe_12_italic.h",
|
||||||
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||||
))"
|
))"
|
||||||
|
|
||||||
echo "#define OPENDYSLEXIC_10_FONT_ID ($(
|
echo "#define ABSINTHE_14_FONT_ID ($(
|
||||||
ruby -rdigest -e 'puts [
|
ruby -rdigest -e 'puts [
|
||||||
"./opendyslexic_10_regular.h",
|
"./absinthe_14_regular.h",
|
||||||
"./opendyslexic_10_bold.h",
|
"./absinthe_14_bold.h",
|
||||||
"./opendyslexic_10_bolditalic.h",
|
"./absinthe_14_bolditalic.h",
|
||||||
"./opendyslexic_10_italic.h",
|
"./absinthe_14_italic.h",
|
||||||
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||||
))"
|
))"
|
||||||
|
|
||||||
echo "#define OPENDYSLEXIC_12_FONT_ID ($(
|
echo "#define ABSINTHE_16_FONT_ID ($(
|
||||||
ruby -rdigest -e 'puts [
|
ruby -rdigest -e 'puts [
|
||||||
"./opendyslexic_12_regular.h",
|
"./absinthe_16_regular.h",
|
||||||
"./opendyslexic_12_bold.h",
|
"./absinthe_16_bold.h",
|
||||||
"./opendyslexic_12_bolditalic.h",
|
"./absinthe_16_bolditalic.h",
|
||||||
"./opendyslexic_12_italic.h",
|
"./absinthe_16_italic.h",
|
||||||
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||||
))"
|
))"
|
||||||
|
|
||||||
echo "#define OPENDYSLEXIC_14_FONT_ID ($(
|
echo "#define ABSINTHE_18_FONT_ID ($(
|
||||||
ruby -rdigest -e 'puts [
|
ruby -rdigest -e 'puts [
|
||||||
"./opendyslexic_14_regular.h",
|
"./absinthe_18_regular.h",
|
||||||
"./opendyslexic_14_bold.h",
|
"./absinthe_18_bold.h",
|
||||||
"./opendyslexic_14_bolditalic.h",
|
"./absinthe_18_bolditalic.h",
|
||||||
"./opendyslexic_14_italic.h",
|
"./absinthe_18_italic.h",
|
||||||
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||||
))"
|
))"
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@ cd "$(dirname "$0")"
|
|||||||
READER_FONT_STYLES=("Regular" "Italic" "Bold" "BoldItalic")
|
READER_FONT_STYLES=("Regular" "Italic" "Bold" "BoldItalic")
|
||||||
BOOKERLY_FONT_SIZES=(12 14 16 18)
|
BOOKERLY_FONT_SIZES=(12 14 16 18)
|
||||||
NOTOSANS_FONT_SIZES=(12 14 16 18)
|
NOTOSANS_FONT_SIZES=(12 14 16 18)
|
||||||
OPENDYSLEXIC_FONT_SIZES=(8 10 12 14)
|
ABSINTHE_FONT_SIZES=(12 14 16 18)
|
||||||
|
|
||||||
for size in ${BOOKERLY_FONT_SIZES[@]}; do
|
for size in ${BOOKERLY_FONT_SIZES[@]}; do
|
||||||
for style in ${READER_FONT_STYLES[@]}; do
|
for style in ${READER_FONT_STYLES[@]}; do
|
||||||
@ -29,10 +29,10 @@ for size in ${NOTOSANS_FONT_SIZES[@]}; do
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
for size in ${OPENDYSLEXIC_FONT_SIZES[@]}; do
|
for size in ${ABSINTHE_FONT_SIZES[@]}; do
|
||||||
for style in ${READER_FONT_STYLES[@]}; do
|
for style in ${READER_FONT_STYLES[@]}; do
|
||||||
font_name="opendyslexic_${size}_$(echo $style | tr '[:upper:]' '[:lower:]')"
|
font_name="absinthe_${size}_$(echo $style | tr '[:upper:]' '[:lower:]')"
|
||||||
font_path="../builtinFonts/source/OpenDyslexic/OpenDyslexic-${style}.otf"
|
font_path="../builtinFonts/source/Absinthe/Absinthe-${style}.ttf"
|
||||||
output_path="../builtinFonts/${font_name}.h"
|
output_path="../builtinFonts/${font_name}.h"
|
||||||
python fontconvert.py $font_name $size $font_path --2bit > $output_path
|
python fontconvert.py $font_name $size $font_path --2bit > $output_path
|
||||||
echo "Generated $output_path"
|
echo "Generated $output_path"
|
||||||
|
|||||||
@ -140,15 +140,15 @@ float CrossPointSettings::getReaderLineCompression() const {
|
|||||||
case WIDE:
|
case WIDE:
|
||||||
return 1.0f;
|
return 1.0f;
|
||||||
}
|
}
|
||||||
case OPENDYSLEXIC:
|
case ABSINTHE:
|
||||||
switch (lineSpacing) {
|
switch (lineSpacing) {
|
||||||
case TIGHT:
|
case TIGHT:
|
||||||
return 0.90f;
|
return 1.0f;
|
||||||
case NORMAL:
|
case NORMAL:
|
||||||
default:
|
default:
|
||||||
return 0.95f;
|
return 1.1f;
|
||||||
case WIDE:
|
case WIDE:
|
||||||
return 1.0f;
|
return 1.2f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -212,17 +212,17 @@ int CrossPointSettings::getReaderFontId() const {
|
|||||||
case EXTRA_LARGE:
|
case EXTRA_LARGE:
|
||||||
return NOTOSANS_18_FONT_ID;
|
return NOTOSANS_18_FONT_ID;
|
||||||
}
|
}
|
||||||
case OPENDYSLEXIC:
|
case ABSINTHE:
|
||||||
switch (fontSize) {
|
switch (fontSize) {
|
||||||
case SMALL:
|
case SMALL:
|
||||||
return OPENDYSLEXIC_8_FONT_ID;
|
return ABSINTHE_12_FONT_ID;
|
||||||
case MEDIUM:
|
case MEDIUM:
|
||||||
default:
|
default:
|
||||||
return OPENDYSLEXIC_10_FONT_ID;
|
return ABSINTHE_14_FONT_ID;
|
||||||
case LARGE:
|
case LARGE:
|
||||||
return OPENDYSLEXIC_12_FONT_ID;
|
return ABSINTHE_16_FONT_ID;
|
||||||
case EXTRA_LARGE:
|
case EXTRA_LARGE:
|
||||||
return OPENDYSLEXIC_14_FONT_ID;
|
return ABSINTHE_18_FONT_ID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -40,7 +40,7 @@ class CrossPointSettings {
|
|||||||
enum SIDE_BUTTON_LAYOUT { PREV_NEXT = 0, NEXT_PREV = 1 };
|
enum SIDE_BUTTON_LAYOUT { PREV_NEXT = 0, NEXT_PREV = 1 };
|
||||||
|
|
||||||
// Font family options
|
// Font family options
|
||||||
enum FONT_FAMILY { BOOKERLY = 0, NOTOSANS = 1, OPENDYSLEXIC = 2 };
|
enum FONT_FAMILY { BOOKERLY = 0, NOTOSANS = 1, ABSINTHE = 2 };
|
||||||
// Font size options
|
// Font size options
|
||||||
enum FONT_SIZE { SMALL = 0, MEDIUM = 1, LARGE = 2, EXTRA_LARGE = 3 };
|
enum FONT_SIZE { SMALL = 0, MEDIUM = 1, LARGE = 2, EXTRA_LARGE = 3 };
|
||||||
enum LINE_COMPRESSION { TIGHT = 0, NORMAL = 1, WIDE = 2 };
|
enum LINE_COMPRESSION { TIGHT = 0, NORMAL = 1, WIDE = 2 };
|
||||||
|
|||||||
@ -29,7 +29,7 @@ const SettingInfo settingsList[settingsCount] = {
|
|||||||
SettingInfo::Enum("Disp. des bout. droite", &CrossPointSettings::sideButtonLayout,
|
SettingInfo::Enum("Disp. des bout. droite", &CrossPointSettings::sideButtonLayout,
|
||||||
{"Prcdent, Prochne", "Prochne, Prcdent"}),
|
{"Prcdent, Prochne", "Prochne, Prcdent"}),
|
||||||
SettingInfo::Enum("Police", &CrossPointSettings::fontFamily,
|
SettingInfo::Enum("Police", &CrossPointSettings::fontFamily,
|
||||||
{"Bookerly", "Noto Sans", "Open Dyslexic"}),
|
{"Bookerly", "Noto Sans", "Absinthe"}),
|
||||||
SettingInfo::Enum("Taille de police", &CrossPointSettings::fontSize, {"Petit", "Medium", "Large", "Très Large"}),
|
SettingInfo::Enum("Taille de police", &CrossPointSettings::fontSize, {"Petit", "Medium", "Large", "Très Large"}),
|
||||||
SettingInfo::Enum("Espacement des lignes", &CrossPointSettings::lineSpacing, {"Fin", "Normal", "Large"}),
|
SettingInfo::Enum("Espacement des lignes", &CrossPointSettings::lineSpacing, {"Fin", "Normal", "Large"}),
|
||||||
SettingInfo::Value("Marge d'écran", &CrossPointSettings::screenMargin, {5, 40, 5}),
|
SettingInfo::Value("Marge d'écran", &CrossPointSettings::screenMargin, {5, 40, 5}),
|
||||||
|
|||||||
@ -5,14 +5,14 @@
|
|||||||
#define BOOKERLY_14_FONT_ID (104246423)
|
#define BOOKERLY_14_FONT_ID (104246423)
|
||||||
#define BOOKERLY_16_FONT_ID (1909382491)
|
#define BOOKERLY_16_FONT_ID (1909382491)
|
||||||
#define BOOKERLY_18_FONT_ID (2056549737)
|
#define BOOKERLY_18_FONT_ID (2056549737)
|
||||||
#define NOTOSANS_12_FONT_ID (-1646794343)
|
#define NOTOSANS_12_FONT_ID (1506593721)
|
||||||
#define NOTOSANS_14_FONT_ID (-890242897)
|
#define NOTOSANS_14_FONT_ID (-1701127890)
|
||||||
#define NOTOSANS_16_FONT_ID (241925189)
|
#define NOTOSANS_16_FONT_ID (-820144870)
|
||||||
#define NOTOSANS_18_FONT_ID (1503221336)
|
#define NOTOSANS_18_FONT_ID (1497203550)
|
||||||
#define OPENDYSLEXIC_8_FONT_ID (875216341)
|
#define ABSINTHE_12_FONT_ID (-7161170)
|
||||||
#define OPENDYSLEXIC_10_FONT_ID (-1234231183)
|
#define ABSINTHE_14_FONT_ID (832200121)
|
||||||
#define OPENDYSLEXIC_12_FONT_ID (1682200414)
|
#define ABSINTHE_16_FONT_ID (1019705264)
|
||||||
#define OPENDYSLEXIC_14_FONT_ID (-1851285286)
|
#define ABSINTHE_18_FONT_ID (1741564762)
|
||||||
#define UI_10_FONT_ID (-823541435)
|
#define UI_10_FONT_ID (-823541435)
|
||||||
#define UI_12_FONT_ID (-126318184)
|
#define UI_12_FONT_ID (-126318184)
|
||||||
#define SMALL_FONT_ID (-874196069)
|
#define SMALL_FONT_ID (-139281519)
|
||||||
|
|||||||
56
src/main.cpp
56
src/main.cpp
@ -93,30 +93,30 @@ EpdFont notosans18BoldItalicFont(¬osans_18_bolditalic);
|
|||||||
EpdFontFamily notosans18FontFamily(¬osans18RegularFont, ¬osans18BoldFont, ¬osans18ItalicFont,
|
EpdFontFamily notosans18FontFamily(¬osans18RegularFont, ¬osans18BoldFont, ¬osans18ItalicFont,
|
||||||
¬osans18BoldItalicFont);
|
¬osans18BoldItalicFont);
|
||||||
|
|
||||||
EpdFont opendyslexic8RegularFont(&opendyslexic_8_regular);
|
EpdFont absinthe18RegularFont(&absinthe_18_regular);
|
||||||
EpdFont opendyslexic8BoldFont(&opendyslexic_8_bold);
|
EpdFont absinthe18BoldFont(&absinthe_18_bold);
|
||||||
EpdFont opendyslexic8ItalicFont(&opendyslexic_8_italic);
|
EpdFont absinthe18ItalicFont(&absinthe_18_italic);
|
||||||
EpdFont opendyslexic8BoldItalicFont(&opendyslexic_8_bolditalic);
|
EpdFont absinthe18BoldItalicFont(&absinthe_18_bolditalic);
|
||||||
EpdFontFamily opendyslexic8FontFamily(&opendyslexic8RegularFont, &opendyslexic8BoldFont, &opendyslexic8ItalicFont,
|
EpdFontFamily absinthe18FontFamily(&absinthe18RegularFont, &absinthe18BoldFont, &absinthe18ItalicFont,
|
||||||
&opendyslexic8BoldItalicFont);
|
&absinthe18BoldItalicFont);
|
||||||
EpdFont opendyslexic10RegularFont(&opendyslexic_10_regular);
|
EpdFont absinthe16RegularFont(&absinthe_16_regular);
|
||||||
EpdFont opendyslexic10BoldFont(&opendyslexic_10_bold);
|
EpdFont absinthe16BoldFont(&absinthe_16_bold);
|
||||||
EpdFont opendyslexic10ItalicFont(&opendyslexic_10_italic);
|
EpdFont absinthe16ItalicFont(&absinthe_16_italic);
|
||||||
EpdFont opendyslexic10BoldItalicFont(&opendyslexic_10_bolditalic);
|
EpdFont absinthe16BoldItalicFont(&absinthe_16_bolditalic);
|
||||||
EpdFontFamily opendyslexic10FontFamily(&opendyslexic10RegularFont, &opendyslexic10BoldFont, &opendyslexic10ItalicFont,
|
EpdFontFamily absinthe16FontFamily(&absinthe16RegularFont, &absinthe16BoldFont, &absinthe16ItalicFont,
|
||||||
&opendyslexic10BoldItalicFont);
|
&absinthe16BoldItalicFont);
|
||||||
EpdFont opendyslexic12RegularFont(&opendyslexic_12_regular);
|
EpdFont absinthe12RegularFont(&absinthe_12_regular);
|
||||||
EpdFont opendyslexic12BoldFont(&opendyslexic_12_bold);
|
EpdFont absinthe12BoldFont(&absinthe_12_bold);
|
||||||
EpdFont opendyslexic12ItalicFont(&opendyslexic_12_italic);
|
EpdFont absinthe12ItalicFont(&absinthe_12_italic);
|
||||||
EpdFont opendyslexic12BoldItalicFont(&opendyslexic_12_bolditalic);
|
EpdFont absinthe12BoldItalicFont(&absinthe_12_bolditalic);
|
||||||
EpdFontFamily opendyslexic12FontFamily(&opendyslexic12RegularFont, &opendyslexic12BoldFont, &opendyslexic12ItalicFont,
|
EpdFontFamily absinthe12FontFamily(&absinthe12RegularFont, &absinthe12BoldFont, &absinthe12ItalicFont,
|
||||||
&opendyslexic12BoldItalicFont);
|
&absinthe12BoldItalicFont);
|
||||||
EpdFont opendyslexic14RegularFont(&opendyslexic_14_regular);
|
EpdFont absinthe14RegularFont(&absinthe_14_regular);
|
||||||
EpdFont opendyslexic14BoldFont(&opendyslexic_14_bold);
|
EpdFont absinthe14BoldFont(&absinthe_14_bold);
|
||||||
EpdFont opendyslexic14ItalicFont(&opendyslexic_14_italic);
|
EpdFont absinthe14ItalicFont(&absinthe_14_italic);
|
||||||
EpdFont opendyslexic14BoldItalicFont(&opendyslexic_14_bolditalic);
|
EpdFont absinthe14BoldItalicFont(&absinthe_14_bolditalic);
|
||||||
EpdFontFamily opendyslexic14FontFamily(&opendyslexic14RegularFont, &opendyslexic14BoldFont, &opendyslexic14ItalicFont,
|
EpdFontFamily absinthe14FontFamily(&absinthe14RegularFont, &absinthe14BoldFont, &absinthe14ItalicFont,
|
||||||
&opendyslexic14BoldItalicFont);
|
&absinthe14BoldItalicFont);
|
||||||
|
|
||||||
EpdFont smallFont(¬osans_8_regular);
|
EpdFont smallFont(¬osans_8_regular);
|
||||||
EpdFontFamily smallFontFamily(&smallFont);
|
EpdFontFamily smallFontFamily(&smallFont);
|
||||||
@ -247,10 +247,10 @@ void setupDisplayAndFonts() {
|
|||||||
renderer.insertFont(NOTOSANS_14_FONT_ID, notosans14FontFamily);
|
renderer.insertFont(NOTOSANS_14_FONT_ID, notosans14FontFamily);
|
||||||
renderer.insertFont(NOTOSANS_16_FONT_ID, notosans16FontFamily);
|
renderer.insertFont(NOTOSANS_16_FONT_ID, notosans16FontFamily);
|
||||||
renderer.insertFont(NOTOSANS_18_FONT_ID, notosans18FontFamily);
|
renderer.insertFont(NOTOSANS_18_FONT_ID, notosans18FontFamily);
|
||||||
renderer.insertFont(OPENDYSLEXIC_8_FONT_ID, opendyslexic8FontFamily);
|
renderer.insertFont(ABSINTHE_18_FONT_ID, absinthe18FontFamily);
|
||||||
renderer.insertFont(OPENDYSLEXIC_10_FONT_ID, opendyslexic10FontFamily);
|
renderer.insertFont(ABSINTHE_16_FONT_ID, absinthe16FontFamily);
|
||||||
renderer.insertFont(OPENDYSLEXIC_12_FONT_ID, opendyslexic12FontFamily);
|
renderer.insertFont(ABSINTHE_12_FONT_ID, absinthe12FontFamily);
|
||||||
renderer.insertFont(OPENDYSLEXIC_14_FONT_ID, opendyslexic14FontFamily);
|
renderer.insertFont(ABSINTHE_14_FONT_ID, absinthe14FontFamily);
|
||||||
renderer.insertFont(UI_10_FONT_ID, ui10FontFamily);
|
renderer.insertFont(UI_10_FONT_ID, ui10FontFamily);
|
||||||
renderer.insertFont(UI_12_FONT_ID, ui12FontFamily);
|
renderer.insertFont(UI_12_FONT_ID, ui12FontFamily);
|
||||||
renderer.insertFont(SMALL_FONT_ID, smallFontFamily);
|
renderer.insertFont(SMALL_FONT_ID, smallFontFamily);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user