• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ABC notation - Fit to page
#2
MobileSheets should be already using the entire screen as the bounds for the image that is generated. I pass that width and height into abc2svg by dynamically modifying the abc content to set %%pagewidth and %%pageheight. I also dynamically insert %%pagescale to account for the display density of the screen. It places this %%pagescale after the X: line. If it detects that the first line is %%pagescale, it will multiply that pagescale value by the density of the screen. I also already write the left and right margins as the first two lines of the abc file, so if you place those after those lines, then it will just overwrite the margins that MobileSheets is trying to set (which is fine). I set the top and bottom margins after the X:, so you would have to place your top and bottom margins after the X: as well if you want them to overwrite the margins specified by MobileSheets. 

So I'm a little surprised you aren't seeing the ABC file take up the entire width of the screen. I'm also not sure what exactly you would want me to change, as it should already be generating images that matches the width of the screen.

Mike
Reply


Messages In This Thread
ABC notation - Fit to page - by laurent - 03-29-2025, 09:07 AM
RE: ABC notation - Fit to page - by Zubersoft - 03-30-2025, 05:07 AM
RE: ABC notation - Fit to page - by laurent - 03-30-2025, 06:25 AM
RE: ABC notation - Fit to page - by laurent - 03-30-2025, 09:51 AM
RE: ABC notation - Fit to page - by Zubersoft - 03-30-2025, 02:18 PM
RE: ABC notation - Fit to page - by laurent - 03-31-2025, 04:44 AM
RE: ABC notation - Fit to page - by Zubersoft - 03-31-2025, 04:53 AM
RE: ABC notation - Fit to page - by laurent - 03-31-2025, 05:53 AM
RE: ABC notation - Fit to page - by Zubersoft - 03-31-2025, 12:23 PM
RE: ABC notation - Fit to page - by laurent - 03-31-2025, 09:54 PM
RE: ABC notation - Fit to page - by BRX - 04-01-2025, 12:48 AM
RE: ABC notation - Fit to page - by Zubersoft - 04-01-2025, 06:05 AM
RE: ABC notation - Fit to page - by laurent - 04-01-2025, 05:19 PM
RE: ABC notation - Fit to page - by Zubersoft - 04-01-2025, 06:21 PM
RE: ABC notation - Fit to page - by laurent - 04-02-2025, 12:00 AM
RE: ABC notation - Fit to page - by Zubersoft - 04-02-2025, 06:41 AM
RE: ABC notation - Fit to page - by itsme - 04-02-2025, 08:43 AM
RE: ABC notation - Fit to page - by Zubersoft - 04-02-2025, 09:08 AM
RE: ABC notation - Fit to page - by itsme - 04-02-2025, 05:19 PM
RE: ABC notation - Fit to page - by itsme - 04-02-2025, 05:26 PM
RE: ABC notation - Fit to page - by itsme - 04-02-2025, 05:40 PM
RE: ABC notation - Fit to page - by itsme - 04-02-2025, 06:18 PM
RE: ABC notation - Fit to page - by itsme - 04-02-2025, 06:31 PM
RE: ABC notation - Fit to page - by laurent - 04-09-2025, 10:42 PM
RE: ABC notation - Fit to page - by Zubersoft - 04-10-2025, 04:32 AM
RE: ABC notation - Fit to page - by laurent - 04-10-2025, 07:44 AM
RE: ABC notation - Fit to page - by laurent - 04-10-2025, 08:14 AM
RE: ABC notation - Fit to page - by itsme - 04-10-2025, 02:01 PM
RE: ABC notation - Fit to page - by Zubersoft - 04-10-2025, 05:51 PM



Users browsing this thread:
2 Guest(s)


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