Document: Round dimensions properly in getPageDimensions (#8170)

* Geom:transformByScale:
  * Apply the right scaling factor to the y axis
  * Round in a more sensible fashion (àla fz_round_rect, since we pretty much exclusively use it in a similar fashion).
* Bump base (https://github.com/koreader/koreader-base/pull/1407)
This commit is contained in:
NiLuJe
2021-09-02 23:50:10 +02:00
committed by GitHub
parent 1a127633c2
commit acbf4b7a8c
5 changed files with 16 additions and 12 deletions

View File

@@ -130,7 +130,7 @@ describe("ReaderLink module", function()
x = 0, y = 694,
h = 106, w = 566,
},
zoom = 0.9501187648456056456,
zoom = 0.95032191328269044472,
},
{
gamma = 1,
@@ -145,7 +145,7 @@ describe("ReaderLink module", function()
h = 686, w = 566,
x = 0, y = 0,
},
zoom = 0.9501187648456056456,
zoom = 0.95032191328269044472,
},
}
-- disable footer