diff --git a/data/com.github.johnfactotum.Foliate.gschema.xml b/data/com.github.johnfactotum.Foliate.gschema.xml index 8b4660fc..048f235e 100644 --- a/data/com.github.johnfactotum.Foliate.gschema.xml +++ b/data/com.github.johnfactotum.Foliate.gschema.xml @@ -61,13 +61,13 @@ 0.06 - + 720 - + 1440 - + 2 @@ -92,10 +92,10 @@ 0 - - 12 + + 16 - + 0 diff --git a/src/book-viewer.js b/src/book-viewer.js index 30ae43a1..f7bbf606 100644 --- a/src/book-viewer.js +++ b/src/book-viewer.js @@ -237,7 +237,7 @@ GObject.registerClass({ 'sans-serif': 'Sans 12', 'monospace': 'Monospace 12', 'default': 'serif', - 'default-size': 12, + 'default-size': 16, }) viewSettings = new ViewSettings({ 'brightness': 1, @@ -341,9 +341,9 @@ GObject.registerClass({ monospace_font_family: getFamily(font.monospace), default_font_family: getFamily(font.default === 1 ? font.sans_serif : font.serif), - default_font_size: WebKit.Settings.font_size_to_pixels(font.default_size), + default_font_size: font.default_size, // TODO: disable this for fixed-layout - minimum_font_size: WebKit.Settings.font_size_to_pixels(font.minimum_size), + minimum_font_size: font.minimum_size, }) const view = this.viewSettings if (this.#bookReady) await this.#exec('reader.setAppearance', {