• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display size (again)
#4
The 2560x1600 would be handled using dip (density independent pixels). While both of your tablets have the same resolution, as you have mentioned, the dpi is different, so the width/height that is reported in the application is different for the two. When defining the page size, this would be in measurements that ignores the dpi, and the page would be rendered to that, ensuring that the resulting image is the same on both devices, as all measurements are scaled to handle dpi differences.

I would be rendering a pixel image internally and scaling the pixels, so it will result in a change in appearance. This will allow it to work with the existing framework versus having to try to adjust the font size dynamically to fit the available area which is not something I want to mess with, as fonts don't scale linearly with size (something I learned the hard way as I assumed I could just adjust the font size by fractional amounts to scale text to fit a given area which didn't work).

Mike
Reply


Messages In This Thread
Display size (again) - by sciurius - 10-07-2021, 04:57 AM
RE: Display size (again) - by Zubersoft - 10-07-2021, 05:04 AM
RE: Display size (again) - by sciurius - 10-07-2021, 07:59 PM
RE: Display size (again) - by Zubersoft - 10-08-2021, 03:10 AM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.