diff --git a/YACReaderLibrary/grid_comics_view.cpp b/YACReaderLibrary/grid_comics_view.cpp index f4f5f637..f51e2554 100644 --- a/YACReaderLibrary/grid_comics_view.cpp +++ b/YACReaderLibrary/grid_comics_view.cpp @@ -97,8 +97,8 @@ void GridComicsView::setModel(ComicModel *model) ctxt->setContextProperty("textColor", "#E6E6E6"); ctxt->setContextProperty("dropShadow",false); //fonts settings - ctxt->setContextProperty("fontSize", "none"); - ctxt->setContextProperty("fontFamily", "none"); + ctxt->setContextProperty("fontSize", "12"); + ctxt->setContextProperty("fontFamily", "Arial"); ctxt->setContextProperty("fontSpacing", 0.5); #endif diff --git a/common/gl/yacreader_flow_gl.cpp b/common/gl/yacreader_flow_gl.cpp index c559f9af..1f27a3c8 100644 --- a/common/gl/yacreader_flow_gl.cpp +++ b/common/gl/yacreader_flow_gl.cpp @@ -355,7 +355,8 @@ void YACReaderFlowGL::paintGL() void YACReaderFlowGL::resizeGL(int width, int height) { - fontSize = (width + height) * 0.010; + float pixelRatio = devicePixelRatio(); + fontSize = (width + height) * 0.010 * pixelRatio; if(fontSize < 10) fontSize = 10; diff --git a/common/gl_legacy/yacreader_flow_gl.cpp b/common/gl_legacy/yacreader_flow_gl.cpp index 5e02ecd2..d367e20b 100644 --- a/common/gl_legacy/yacreader_flow_gl.cpp +++ b/common/gl_legacy/yacreader_flow_gl.cpp @@ -325,8 +325,8 @@ void YACReaderFlowGL::paintGL() void YACReaderFlowGL::resizeGL(int width, int height) { - - fontSize = (width + height) * 0.010; + float pixelRatio = devicePixelRatio(); + fontSize = (width + height) * 0.010 * pixelRatio; if(fontSize < 10) fontSize = 10;