15 lines
465 B
Dart
15 lines
465 B
Dart
/// The bundled typefaces the reader can choose from (spec 8.2). Adding a font
|
|
/// is one TTF in assets/fonts, one entry in pubspec.yaml and one entry here.
|
|
class ReaderFont {
|
|
const ReaderFont(this.family, this.labelId);
|
|
|
|
/// The pubspec font family name.
|
|
final String family;
|
|
|
|
/// Message ID of its display name in locales/en-US/main.ftl.
|
|
final String labelId;
|
|
}
|
|
|
|
const readerFonts = [
|
|
ReaderFont('Atkinson Hyperlegible', 'settings-font-atkinson'),
|
|
];
|