Follow up of my previous post https://www.zubersoft.com/mobilesheets/f...12234.html
Getting better, but still not as expected.
Testing on my HP Detachable under Win10 with MobileSheets 3.9.4
A sample song in landscape format as before, without "fixed page size". A single page, edited and formatted to use the complete screen:
I apply "Set Page Size" with "Fit To Screen" (1280 x 728 as the Windows task bar is shown)
- Annotations change their position
- the original font size is kept, but is shown bigger as before so lyrics are cropped at the right
- I did not change the settings of the text annotations tool, nevertheless the font is bigger as before
The yellow highlights must be a left-over from a previous test that came up again. I had taken a previous version of the song that had these highlight annotations and removed some verses. I cleaned up the highlight annotations of the remaining verses but ignored those of removed verses
11-03-2024, 05:58 PM (This post was last modified: 11-03-2024, 06:01 PM by itsme.)
I cleaned up the annotations.
I was not able to reach the yellow highlights, neither with the delete tool nor with the arrow tool. The only possibility that I found was selecting them in the layers window.
I just moved the highlight annotations without changing their size. They seem to be less wide as before (or the text they highlight has become wider)
Finally I corrected the lyrics size
When the font size is changed, annotations don't keep their position, that might be by design.
"Auto-Size Font" calculates font size 58 as before which is wrong and too wide.
I corrected the font size manually as well as the annotations.
Note: I'm still working on the original device.
11-03-2024, 08:14 PM (This post was last modified: 11-03-2024, 08:18 PM by itsme.)
Now I copied the database to my mobile phone (Android. Sorry, I'm not at home and the HP Detachable and my phone are the only available devices in the moment. The phone already is updated automatically to 3.9.6, but I think there's no relevant change regarding fixed page size.)
With "fixed page" OFF, the result is unusable as before V3.9.x because the different displays completely confuse the layout:
whereas with "fixed page" ON, the text layout persists quite well:
The screenshot on the left was made on the HP detachable (the same as in my previous post), the one on the right was made on my smartphone. What a phantastic new feature! Thank you so much, Mike. It's possible now to use any other device for backup purposes. I wonder why noone has brought that up earlier!
Font sizes might need some more fine tuning.
Annotations still have some issues with changing their position.
So it's important to understand what is happening now when you use the fixed page size feature. It's going to layout the chord pro file to the specified width and height, and then the scale factor is going to be determined based on how much that fixed page size would need to be scaled to fill the screen. The font size is then scaled up by that factor so that the file looks the same as it would on another device with a different screen size (the font may appear larger or smaller depending on the device resolution, but the layout is the same). There is no way around the font size having to be changed like that, as it's what needs to happen in order for the file to appear the same across devices at the same page size. This does mean that the font size in the text display settings doesn't exactly match what is being displayed. Annotations absolutely will shift if they were created before the fixed page size was applied, because the entire coordinate system becomes different, and the annotations weren't saved relative to the new fixed page size. So annotations will have to be recreated after changing the fixed page size. If you change the text display settings, that will also cause the annotations to be positioned incorrectly. There is no way around that either, unless I support a concept of anchoring annotations to nearby text or something along those lines, but that system is incredible fragile (as the file could be modified to remove the word acting as the anchor).
So I don't believe there are any bugs or issues, and it's just something users need to be aware of it they want to use this feature.
Regarding annotations:
Nice try, lessons learned.
'in real life' i have only a very small number of annotations in all my ChordPro files. I can easily replace them with ChordPro annotations or Pango directives where necessary.
Regarding font sizes:
As described in my previous posts: after activating fixed page size "Auto-size font" calculated a font size that is too wide and caused a small part of the text to be cropped. I remember even an example where an additional line wrap had been added. I will let you know as soon as I can find it again. I'll come back to you when I'm home again and have the time and the technical possibilities to test thoroughly.