Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 12-15-2023, 07:38 AM   #1
413Michele
Enthusiast
413Michele began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
Question Screen scaling factor and page layout

Hi, I'm opening a thread here because I ran into a curious fact using calibre's Viewer. In the page layout settings you can set the max screen area used to show the text. Along with the description for the option, calibre helpfully tells you the current width and height of the Viewer window.

What I noticed is that these values seemed too little to me, and I realized that the cause was my display scaling factor of 1.25, that I use for my 15.6 1080p laptop. With the Viewer window maximized, the values shown are 1536 and 794, which are exactly 1.25 less than the real value (minus taskbar and titlebar for the height I believe).

So I guess the question is: is this intended? And could this be misleading for non-technical users? This is really a minor problem and I know that HiDPI brings along lots of problems in implementation, but I wanted to report it in case there is an easy solution.
413Michele is offline   Reply With Quote
Old 12-15-2023, 07:45 AM   #2
413Michele
Enthusiast
413Michele began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
Now that I think about it, this could also cause problems with the automatic option for the number of pages per screen. if the pixel value in the settings isn't the true value, the automatic calculation may be off
413Michele is offline   Reply With Quote
Old 12-15-2023, 08:18 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,024
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
these pixels are the actual available pixels that the viewer can draw on, which means they are not the physical pixels in your monitor. The physical pixels in your monitor arent a relevant measure except in the special case when 1 logical pixel happens to be equal to one physical pixel.
kovidgoyal is offline   Reply With Quote
Old 12-15-2023, 09:25 AM   #4
413Michele
Enthusiast
413Michele began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
Quote:
Originally Posted by kovidgoyal View Post
these pixels are the actual available pixels that the viewer can draw on, which means they are not the physical pixels in your monitor. The physical pixels in your monitor arent a relevant measure except in the special case when 1 logical pixel happens to be equal to one physical pixel.
I get this, but just because I do it doesn't mean everyone does too. The average user might expect pixels to mean "physical pixels", and get a wrong assumption of what the values in the settings will do. With that said, I agree that this is a very minor issue and I just looked for a clarification, so thanks for the acknowledgement
413Michele is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High DPI scaling won't work on a 4K screen mikolajek Calibre 0 10-28-2020 05:51 AM
Page Layout-Calibre 4.23 patetc Calibre 3 09-07-2020 05:11 PM
Converting two-page layout pdf into one-page layout Gergely PDF 3 03-08-2019 09:03 PM
broken screen - some way of changing the page layout? agesofruin Kindle Developer's Corner 2 11-08-2015 10:10 PM


All times are GMT -4. The time now is 04:34 PM.


MobileRead.com is a privately owned, operated and funded community.