summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-03 08:22:11 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-03 08:22:11 +0300
commita54468a67c27dca0cae0b54ca32b67515e0e366e (patch)
tree6e91d3c128bb465d054b361914c8dade55547841 /src/ui/documentwidget.c
parent6f7408cbe91523a3dae80952790a4a8ec0d87cf4 (diff)
Changed default font to Nunito
Nunito is licensed under OFL.
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index fb3c9ad5..c7056383 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -271,7 +271,7 @@ static int documentWidth_DocumentWidget_(const iDocumentWidget *d) {
271 const iWidget *w = constAs_Widget(d); 271 const iWidget *w = constAs_Widget(d);
272 const iRect bounds = bounds_Widget(w); 272 const iRect bounds = bounds_Widget(w);
273 return iMini(bounds.size.x - gap_UI * d->pageMargin * 2, 273 return iMini(bounds.size.x - gap_UI * d->pageMargin * 2,
274 fontSize_UI * 38 * zoom_App() / 100); /* TODO: Add user preference .*/ 274 fontSize_UI * 40 * zoom_App() / 100); /* TODO: Add user preference .*/
275} 275}
276 276
277static iRect documentBounds_DocumentWidget_(const iDocumentWidget *d) { 277static iRect documentBounds_DocumentWidget_(const iDocumentWidget *d) {