Charts garbled in portrait mode but fine in landscape

iGigBook Sheet Music Manager App for iPad and Android Tablets
Post Reply
Scot Larsen
iGigBook User
Posts: 37
Joined: Sun May 20, 2012 6:14 pm

Charts garbled in portrait mode but fine in landscape

Post by Scot Larsen »

Hi,

Some charts are garbled in portrait mode but appear fine in landscape mode. The PDF files in Acrobat on my MacBook Pro look fine/as expected. Not sure if it's related to upgrading but the charts used to appear fine in both portrait and landscape back in earlier versions of igigbook.

Here is an example of one of the offending charts in portrait mode:

Image
https://ibb.co/0nZXJvy

Here is the same chart if I turn my iPad sideways to view in landscape mode:

Image
https://ibb.co/pxnQJKB

I have an iPad Pro (12.9-inch) (2nd generation) on the latest iOS (14.4) and igigbook (7.6).

Thanks and thanks for the awesome app.
Last edited by Scot Larsen on Sun Mar 07, 2021 12:58 pm, edited 2 times in total.

Scot Larsen
iGigBook User
Posts: 37
Joined: Sun May 20, 2012 6:14 pm

Re: Charts garbled in portrait mode but fine in landscape

Post by Scot Larsen »

So far I've only noticed the problem in one particular book/pdf file (I created the PDF for this one).

User avatar
Phil Smith
iGigBook Specialist
Posts: 2821
Joined: Tue Oct 19, 2010 8:00 pm

Re: Charts garbled in portrait mode but fine in landscape

Post by Phil Smith »

We've had other people report this issue but to date have not been able to track down exactly why this is happening but do know that it surfaced during iOS 13 or 14. We had one PDF that had the same issue on certain pages, not the entire PDF, we still at a loss of what's actually causing this behavior and we're using Apple's rendering engine. I wish I had a better answer for you but that's all we know right now.
Are you happy with iGigBook?
Tell the world about it by leaving a rating or a review in the App or Google Play Store.
Got Questions? Click Here For The How To Section
iGigBook: The Go-To Gig Tool.

Scot Larsen
iGigBook User
Posts: 37
Joined: Sun May 20, 2012 6:14 pm

Re: Charts garbled in portrait mode but fine in landscape

Post by Scot Larsen »

Thanks, Phil. I noticed that it's a range of pages - 63-123 and the PDF has 227 pages. I tried using a couple of different online "PDF Repair" sites online but that made it so even more pages had the problem. I tried to open in the Mac Preview app and then exported to PDF. That didn't help. Maybe I'll try to export everything to jpeg and then create a new PDF but I'll have to figure out how to do that without buying stuff from Adobe. Appreciate your help and let me know if there's anything I can do to help.

User avatar
Phil Smith
iGigBook Specialist
Posts: 2821
Joined: Tue Oct 19, 2010 8:00 pm

Re: Charts garbled in portrait mode but fine in landscape

Post by Phil Smith »

Scot Larsen wrote:
Sun Mar 07, 2021 1:06 pm
Thanks, Phil. I noticed that it's a range of pages - 63-123 and the PDF has 227 pages. I tried using a couple of different online "PDF Repair" sites online but that made it so even more pages had the problem. I tried to open in the Mac Preview app and then exported to PDF. That didn't help. Maybe I'll try to export everything to jpeg and then create a new PDF but I'll have to figure out how to do that without buying stuff from Adobe. Appreciate your help and let me know if there's anything I can do to help.
What may help is a program or app that allows you to print to PDF. You open the PDF in that program or app and then print it to PDF.
Are you happy with iGigBook?
Tell the world about it by leaving a rating or a review in the App or Google Play Store.
Got Questions? Click Here For The How To Section
iGigBook: The Go-To Gig Tool.

Scot Larsen
iGigBook User
Posts: 37
Joined: Sun May 20, 2012 6:14 pm

Re: Charts garbled in portrait mode but fine in landscape

Post by Scot Larsen »

I opened the PDF in the Mac Preview application, printed and selected "PDF" as the printer option. That seemed to make things worse similarly to doing the online repair thing. I found a free online utility on Adobe's site for exporting PDF -> jpg. Did that and created a new PDF with the jpg files using the Preview app. That fixed the garbling problem. The images are smaller now - i.e. more white space/borders. Is there a way to permanently make the actual image larger (crop or whatever it's called) within igigbook? I suspect not but that would be really great if so. Thanks for your help, Phil.

mwakefie
iGigBook User
Posts: 8
Joined: Mon Jul 09, 2012 11:34 am

Re: Charts garbled in portrait mode but fine in landscape

Post by mwakefie »

I have just run across this in the middle of a gig! It's only on one book of mine as far as I can tell (realbk3heb), and I found that it's every even-numbered page after the index. Also, landscape or portrait makes no difference in my case.
IMG_89154474B382-1.jpeg
IMG_89154474B382-1.jpeg (176.65 KiB) Viewed 266 times
It definitely is a fairly recent development, as I have an older iPad running iOS 12 with the exact same book and no issues.

However, I may have one small clue about what's wrong. I took a couple of the offending charts plus one that was OK and air dropped them to my MacBook as a set list export. When I opened them, the sheets with the issue were both rendered correctly by Preview but UPSIDE DOWN (rotated 180º), and one the "good" chart was right side up. So what I am thinking is that somehow the iOS rendering engine may be somehow misinterpreting the orientation of certain pages in this skanky file and trying unsuccessfully to rotate them.

Very weird mystery!

Even scrubbing those files through industrial strength Acrobat didn't make them render correctly in iOS, nothing short of printing and rescanning works.

One more thing:, I discovered that the same scrambled page renders perfectly in the preview mode in Set Manager. Go figure.
IMG_E05CB8F10118-1.jpeg
IMG_E05CB8F10118-1.jpeg (304.45 KiB) Viewed 265 times

User avatar
Phil Smith
iGigBook Specialist
Posts: 2821
Joined: Tue Oct 19, 2010 8:00 pm

Re: Charts garbled in portrait mode but fine in landscape

Post by Phil Smith »

We've seen that but still cannot find a consistent pattern as to why it happens.
Are you happy with iGigBook?
Tell the world about it by leaving a rating or a review in the App or Google Play Store.
Got Questions? Click Here For The How To Section
iGigBook: The Go-To Gig Tool.

mwakefie
iGigBook User
Posts: 8
Joined: Mon Jul 09, 2012 11:34 am

Re: Charts garbled in portrait mode but fine in landscape

Post by mwakefie »

More info: it looks like an issue with specific pdf types, not a problem with the igigbook app. I pulled a copy of the book out via iTunes, and tried printing directly from the MacBook Pro to the HP laser, and the same page printed the weird rasterization, even though it rendered perfectly on the laptop display. I had to use Acrobat and select the “Print As Image” option to print it correctly. I think it must go back to some kind of bug in the original scan protocol that is no longer tolerated in some newer versions of the pdf rendering engines and print drivers. Too many flavors and versions of what constitutes a pdf.

mwakefie
iGigBook User
Posts: 8
Joined: Mon Jul 09, 2012 11:34 am

Re: Charts garbled in portrait mode but fine in landscape

Post by mwakefie »

Final solution: Pull whole book into Acrobat Pro DC, batch export to set of (400) image files in a new directory, combine image files back into single pdf, delete old book from iPad, import new file, reindex, all done. Did find one error in the index, looking into that now.

Post Reply