• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Improved line spacing
#1
Line spacing is a great feature, and I like to set it to 0.1 so that I can get as many lines as possible in a single page.
With this setting, the space between the chords line and the lyrics line above the chord line is eliminated, which is great. 
However, there is still significant space between the chords line and the lyrics line below it.
Is it possible to eliminate this space as well?
Thanks,
Spyros
Reply
#2
After all these days, I still haven't got a reply, I hope all is well with the developer...
Reply
#3
Mike is probably busy with more important tasks...
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
itsme is right as Mike wrote a week ago: I am working on trying to finish up a lot of changes for the next update.
Reply
#5
Spyros - sorry for the delay. I wanted to look into this more before replying to make sure I know exactly how the code is behaving. MobileSheets looks at the font metrics for the currently selected font to determine what the line height should be. This basically accounts for every character the font supports, and the line height is distance between the highest and lowest points reached by any character in the font. So I always skip that many pixels to ensure characters do not overlap. The line spacing setting determines how many pixels are added in addition to that line height to space things out further. So you cannot condense lines in a way that could cause overlap at the moment. If users want to be able to do that, I'd either have to support a negative line spacing multiplier or add a different line offset setting.

I do want to do a little more analysis to see if there is any code that results in more spacing between chords and lyrics compared to the spacing between just lyrics.

Mike
Reply
#6
Mike, thanks for the reply!

I thought that two great letters to test the spacing is E and p, and after applying this text:
[E]
[E]
[p]
[E][E]
[E]p
E
E
[E]
[E]
[p]
[E]
E
p
[E]E
[p]E
[E]
[p]
[E]

What I got is shown in the png attached.

My settings are:
Font: Sans Serif
Lyric Size: 22
Chord Size: 14
Line Spacing: 0.1

Here the gaps are clearly shown, and for me they all are redundant.
A bit negative spacing might be a great idea for condensing a bit more the song's overall height! 
I believe another setting might be very helpful, "Spacing between Lyrics and their Chords". Now here, a negative spacing would definitely be useful, since low case letters like "p" are never used in chords, and the space saved for the lower part of "p" is completely redundant.
I hope I am making sense...
I am sure you can improve the program so we can make a more compact, yet readable presentation of the songs.
Keep up the good work!

Spyros


Attached Files Thumbnail(s)
   
Reply
#7
(02-01-2025, 02:00 AM)Zubersoft Wrote: Spyros - sorry for the delay. I wanted to look into this more before replying to make sure I know exactly how the code is behaving. MobileSheets looks at the font metrics for the currently selected font to determine what the line height should be. This basically accounts for every character the font supports, and the line height is distance between the highest and lowest points reached by any character in the font. So I always skip that many pixels to ensure characters do not overlap. The line spacing setting determines how many pixels are added in addition to that line height to space things out further. So you cannot condense lines in a way that could cause overlap at the moment. If users want to be able to do that, I'd either have to support a negative line spacing multiplier or add a different line offset setting.

I do want to do a little more analysis to see if there is any code that results in more spacing between chords and lyrics compared to the spacing between just lyrics.

Mike

Hi Mike, hope it's OK to post to this older thread, I'm very new to this app, literally found, installed and tested it this week and I'm so impressed I have just bought the paid version and expect to gig with it at the end of the month. I have moved over from GuitarTappPro which I have used for gigging for years, but it has been unsupported for quite some time and the new version is next to useless for me. So first of all thank you for creating and maintaining this amazing app.

I found this thread while searching for a solution to this exact issue as I was trying to format the display of songs. A way to reduce, or define, the distance between the chords and the text they are above would be a huge help for me. I have a brain injury and despite setting the chord colour and text display to be as readable as possible, having such a large gap between the chords and text creates almost a disassociation between the chord and text, as far as my brain is concerned at least and when I have been used to almost no gap at all for so long, it does make songs at times much more difficult to follow. The ability to define the distance would also help keep the number of pages per song to a minimum, as I'm finding songs that would have fitted on a single page of GuitarTapp now require 2 pages on MobileSheets and simply reducing the distance between chords and text would resolve that too.

I understand you have a lot of feature requests and maintenance on the app and from what I've read a lot of stuff you're already working on, but I just wanted to throw my tuppence worth in to show that others may be interested in this feature if is at all possible to implement.

Thanks

David
Musician, VDub driver, Linux user & long haired lover of Bluegrass & Folk. Guitarist, vocalist & songwriter.
Wood, Wire & Words
Reply
#8
In fact, different line spacings exist: 
- the space between a lyrics line and the according chords 
- the space between a lyrics line and the chords of the next lyrics line (if it has chords)
- the space between a lyrics line and the next lyrics line (if it doesn't have chords)

I'm not sure if it is worth the effort to allow setting them independently. 
Nevertheless it might make sense to have a lyrics line and the according chords closer together.
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
#9
The same line spacing logic is used in all cases, but you can get variances if you use different settings for the chords and lyrics, as each will have a different line height based on the font metrics. As mentioned, the only way to condense things further is either to use a font with a smaller line height, or if I support a negative line spacing (which I am in the process of adding right now). 

Mike
Reply




Users browsing this thread:
Geoff Bacon, 1 Guest(s)


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