• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fonts + Fontsize for ABC - workaround
#1
Hurray! With 3.9.17 I found a pragmatic workaround for working with fonts and font sizes.

What I need:
- combine ABC, chord grids and lyrics+chords in ChordPro files
- the same font for lyrics+chords, chord grid & ABC sections
- big chords with good readability
- 'real' sharps & flats
- the ability to use the same ChordPro source files that I use in MobileSheets to produce PDFs with the ChordPro Reference Implementation

What I do:
- I use a set of ChordPro config files that specify MuseJazzText as chord font and specify fonts and font sizes for lyrics+chords and chord grids
- I add %%xxxfont * <size> or %%xxxfont * bold <size> ( %%gchordfont, %%vocalfont, %%titlefont) to every ABC section in my ChordPro source files
 
What I get:
- the * in %%xxxfont * means "keep the font unchanged that is specified somewhere else" so
-- MobileSheets uses its default fonts specified by Mike depending on the OS that is used
-- the ChordPro Reference Implementation uses the fonts specified in its config files e.g. MuseJazzText for chords
- the <size> in the %%xxxfont directives overwrites the font sizes and weight (bold or not) for the ABC sections
- the font sizes for title, subtitle, lyrics ... are specified
-- for MobileSheets in 'Text Display Settings' and stored in the database
-- for the ChordPro Reference Implementation in the ChordPro config files

And here are some sample results, from MobileSheets 3.9.17 and from ChordPro using a size=12 and a size=20 config file:
           

Open points:
- the ChordPro Reference Implementation seems to ignore "bold".
- MobileSheets does not yet convert b and # in chords to 'real' sharps and flats
- I probably won't get MuseJazzText in ChordPro in the near future.


Attached Files
.pro   AfterYouveGone-FontSize_ABC.pro (Size: 1.08 KB / Downloads: 2)
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
Your Em at the bottom should be an Eb. ;-)

But otherwise I appreciate you checking out all the chordpro and ABC things. I don't get to that as much as I'd like.
Reply
#3
The Em is just a typo. In fact I noticed it when I had almost finished my post and decided to leave it as is, so that the ChordPro source keeps matching the screenshot.
And yes, I invest a lot of time in investigating technical details of ABC, ChordPro, MobileSheets and the like. Sometimes I think I should better take my instrument and practice...
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




Users browsing this thread:
1 Guest(s)


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