• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Improved line spacing
#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


Messages In This Thread
Improved line spacing - by perdix1975 - 01-22-2025, 04:51 PM
RE: Improved line spacing - by perdix1975 - 01-31-2025, 05:28 PM
RE: Improved line spacing - by itsme - 01-31-2025, 06:27 PM
RE: Improved line spacing - by Lester - 01-31-2025, 06:59 PM
RE: Improved line spacing - by Zubersoft - 02-01-2025, 02:00 AM
RE: Improved line spacing - by BluegrassHippie - 06-13-2025, 12:42 AM
RE: Improved line spacing - by perdix1975 - 02-02-2025, 03:39 PM
RE: Improved line spacing - by itsme - 06-13-2025, 08:39 PM
RE: Improved line spacing - by Zubersoft - 06-14-2025, 04:25 AM
RE: Improved line spacing - by BluegrassHippie - 06-14-2025, 09:27 AM
RE: Improved line spacing - by Zubersoft - 06-14-2025, 04:16 PM
RE: Improved line spacing - by itsme - 06-19-2025, 05:29 AM
RE: Improved line spacing - by Zubersoft - 06-19-2025, 06:06 AM



Users browsing this thread:
1 Guest(s)


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