• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Auto-Size Font" option for ChordPro file import
#1
Current behaviour:

Import - Local File
for PDFs Auto-Crop is always applied automatically
for ChordPro files font sizes are set as specified in Text File Settings - Default Display Settings

Import - Batch Import
for PDFs a checkbox 'Automatically crop pages' specifies if Auto-Crop is applied on every file
for ChordPro files font sizes are set as specified in Text File Settings - Default Display Settings

Desired behaviour:

for PDFs: the current behaviour is perfectly fine for me, I set 'Automatically crop pages' always to ON and make small manual corrections if required.
for ChordPro files: it would be great if "Auto-Size Font" could be applied during Import - Local File and Import - Batch Import instead of using the default values.
A checkbox in the import dialogs might be useful, but it could also be a program wide option in Settings - Import Settings or in Settings - Text File Settings.
(I don't care about if it is an option or where it can be activated as I would always leave it set to ON)
Background: I'm working on a folder of about 200 ChordPro files containing chord grids for jazz standards. With that "Auto-Size Font" option I could apply batch import and that's it. Without I would have to open every song to check and correct the font sizes.
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


Reply
#2
So I'm assuming you are saying that the Settings->Text File Settings->Auto-Size Font setting is not sufficient, and you would like to be able to turn that on/off during the import, correct? Would you want the dialog setting to be independent from the main settings screen, or would you want those two tied together?

Mike
Reply
#3
Sorry, I missed that.  Settings->Text File Settings->Auto-Size Font does exactly what I requested. Thanks for pointing me there.

But there's another issue with Auto-Size Font: the calculated size for lyrics+chords is too small.
There's no difference between Auto-Size Font being triggered manually or applied during import or batch import
On my Huawei tablet Auto-Size Font calculates font size = 10 for Lyric Size and Chord Size, the calculated size = 17 for the chord grid seems OK:
   
If I change Lyric Size and Chord Size  manually to font size = 12 it still fits nicely. The difference is really relevant for readability:
   
With font size = 13 it starts wrapping lines.

Could it be that there's a small discrepancy in the character width that sums up and so becomes more relevant with longer text lines?


Attached Files
.pro   AfterYouveGone-Test.pro (Size: 584 bytes / Downloads: 1)
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


Reply
#4
A similar issue exists on my HP Detachable (Win10):
Auto-Size Fonts calculates font size = 14 for lyrics + chords, font size = 39 for the chord grid
   
Manually corrected to
font size = 17 for lyrics + chords, font size = 23 for the chord grid
   
I wonder why the calculated fonts for lyrics + chords are too small, but too large for the chord grid. That's different on the Android tablet.
On both devices the fonts are set to System Default.
Do you need additional information? Screen resolutions or the like?
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


Reply
#5
I'll have to look into it, as that definitely seems strange. I wonder if the lyric size is being limited by the presence of the chord grid for some reason.

Thanks,
Mike
Reply
#6
It's getting even more strange. Here's what I get when I comment out a part of the content.
       


Attached Files
.pro   AfterYouveGone-Test_Grid.pro (Size: 587 bytes / Downloads: 2)
.pro   AfterYouveGone-Test_Lyrics+Chords.pro (Size: 597 bytes / Downloads: 1)
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


Reply
#7
Looks like I have a lot to explore and test there, as it's not clear to me why that would be happening. The file seems simple enough...

Mike
Reply
#8
It looks like this was caused by the auto-size font feature not properly handling the display scaling on Windows (and maybe iOS, still need to test that). So if the display scaling is set to 200% in Windows, for example, MobileSheets would only use half of the page as the maximum width for determining how much it could increase the lyrics size. This is fixed for 3.9.18. I also fixed a separate issue that also contributed to incorrect calculations which also affects the Android version.

Thanks,
Mike
Reply




Users browsing this thread:
1 Guest(s)


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