05-05-2025, 03:12 AM
A while ago we had a lengthy discussion about 'Fixed Page Size', 'Auto Size Font' and the like: https://www.zubersoft.com/mobilesheets/f...12378.html
Now, after a number of iterations and fixes I finally decided to move my library from my HP Detachable to my Boox Tab Ultra C. This requires setting the fixed page size values and adapting font settings for every ChordPro file (and there are many). In my notes from the mentioned discussion I find, that the screen size that MobileSheets uses is not exactly the size that is specified for the device. At that time (MobileSheets 3.9.7) clicking "Set to Screen" filled width and height with the effective dimensions. Now (MobileSheets 3.9.17) "Set to Screen" resets width and height to -1 / -1. Everything seems to work, but I would like to know a way to find out these effective dimensions.
In fact it makes a difference: According to the specs the Detachable's screen is 800 x 1280, the Boox's is 1860 x 2480. In my old notes I find effective dimensions are 800 x 1208 for the Detachable, 1860 x 2354 for the Boox (both in portrat orientation). I want to specify a fixed page size that matches the 4:3 ratio of the Boox using the 800 pixel width of the Detachable.
The difference is significant:
2354 / 1860 x 800 = 1012,47
2480 / 1860 x 800 = 1066
When I set fixed page size to 800 x 1012 the rendered image fits perfectly, with 800 x 1066 the image is a bit too high, resulting in small black margins left and right.
For now I know what I need, but how can I check if my notes are still correct? Or find out correct dimensions for possible other devices?
I won't mind calculating something or look into the database with an SQLite tool, just need some hints what to do.
Now, after a number of iterations and fixes I finally decided to move my library from my HP Detachable to my Boox Tab Ultra C. This requires setting the fixed page size values and adapting font settings for every ChordPro file (and there are many). In my notes from the mentioned discussion I find, that the screen size that MobileSheets uses is not exactly the size that is specified for the device. At that time (MobileSheets 3.9.7) clicking "Set to Screen" filled width and height with the effective dimensions. Now (MobileSheets 3.9.17) "Set to Screen" resets width and height to -1 / -1. Everything seems to work, but I would like to know a way to find out these effective dimensions.
In fact it makes a difference: According to the specs the Detachable's screen is 800 x 1280, the Boox's is 1860 x 2480. In my old notes I find effective dimensions are 800 x 1208 for the Detachable, 1860 x 2354 for the Boox (both in portrat orientation). I want to specify a fixed page size that matches the 4:3 ratio of the Boox using the 800 pixel width of the Detachable.
The difference is significant:
2354 / 1860 x 800 = 1012,47
2480 / 1860 x 800 = 1066
When I set fixed page size to 800 x 1012 the rendered image fits perfectly, with 800 x 1066 the image is a bit too high, resulting in small black margins left and right.
For now I know what I need, but how can I check if my notes are still correct? Or find out correct dimensions for possible other devices?
I won't mind calculating something or look into the database with an SQLite tool, just need some hints what to do.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de