Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


for info here is teh different DPI reported by vcl for the same 13'' screen
at different display setting

n_th@Norberts-MacBook-Pro /lo/core$
./instdir/LibreOfficeDev.app/Contents/MacOS/soffice
2014-03-11 19:39:44.065 soffice[270:507] final mnRealDPIX = 91 mnRealDPIY =
91
n_th@Norberts-MacBook-Pro /lo/core$
./instdir/LibreOfficeDev.app/Contents/MacOS/soffice
2014-03-11 19:34:11.715 soffice[267:507] final mnRealDPIX = 113 mnRealDPIY
= 113
n_th@Norberts-MacBook-Pro /lo/core$
./instdir/LibreOfficeDev.app/Contents/MacOS/soffice
2014-03-11 19:32:59.299 soffice[251:507] final mnRealDPIX = 128 mnRealDPIY
= 128
n_th@Norberts-MacBook-Pro /lo/core$
./instdir/LibreOfficeDev.app/Contents/MacOS/soffice
2014-03-11 19:33:31.395 soffice[264:507] final mnRealDPIX = 149 mnRealDPIY
= 149

That is why the so called 'ScaleFactor' which was calculated with

f = E((dpi + 48) / 96)

gave different behavior at different level of display resolutions.. none of
them having anything to do with the retina 'doubling' thing.

The one at 113 is the one said to be best for retina... but in all case 1
point = 4 pixel.. the later two case are 'scaled down to fit the screen' by
the system itself.
none of these value are the actual device ppi.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.