"/Rotate" keyword in PDF files is ignored in Keynote and Pages

Hi,
Some PDF files have "/Rotate" tag in their header to display a part of pages or whole pages being rotated. For example, if a PDF has "/Rotate 90" in the header, pages of the file are shown with being rotated 90 degree clock wise. This keyword is valid in Acrobat, Preview.app, MS Office and many other applications. However, the "/Rotate" keyword is ignored in Keynote and Pages.
Here is examples of PDF which include /Rotate tag. Please save the following text in a file whose extension is ".pdf".
=== Example 1 (not rotated) ===
%PDF-1.4
1 0 obj
<</Type /Catalog
/Pages 2 0 R
endobj
2 0 obj
<</Type /Pages
/Kids [3 0 R]
/Count 1
endobj
3 0 obj
<</Type /Page
/Parent 2 0 R
/MediaBox [0 0 612 792 ]
/Contents 4 0 R
/Resource <</ProcSet 5 0 R >>
endobj
4 0 obj
<</Length 0 >>
stream
endstream
endobj
5 0 obj
[/PDF ]
endobj
xref
0 6
0000000000 65535 f
0000000010 00000 n
0000000063 00000 n
0000000125 00000 n
0000000251 00000 n
0000000305 00000 n
trailer
<< /Size 6
/Root 1 0 R
startxref
331
%%EOF
==============
=== Example 2 (rotated) ===
%PDF-1.4
1 0 obj
<</Type /Catalog
/Pages 2 0 R
endobj
2 0 obj
<</Type /Pages
/Rotate 90
/Kids [3 0 R]
/Count 1
endobj
3 0 obj
<</Type /Page
/Parent 2 0 R
/MediaBox [0 0 612 792 ]
/Contents 4 0 R
/Resource <</ProcSet 5 0 R >>
endobj
4 0 obj
<</Length 0 >>
stream
endstream
endobj
5 0 obj
[/PDF ]
endobj
xref
0 6
0000000000 65535 f
0000000010 00000 n
0000000063 00000 n
0000000125 00000 n
0000000251 00000 n
0000000305 00000 n
trailer
<< /Size 6
/Root 1 0 R
startxref
331
%%EOF
==============
Both of PDFs are displayed in Keynote with a size of 612 x 792 pixel. But the example 2 should be 792 x 612 because it has "/Rotate 90" tag in it.
Does anyone know how to avoid this problem? Of course I know that I can rotate the example 2 by hand in those applications.

Hi,
Please use the following examples, but replace "@dummy1@" with "[", and "@dummy2" with ">>", in TextEdit.app. It should work.
=== example1.pdf ===
%PDF-1.4
1 0 obj
<</Type /Catalog
/Pages 2 0 R
@dummy2@
endobj
2 0 obj
<</Type /Pages
/Kids @dummy1@3 0 R]
/Count 1
@dummy2@
endobj
3 0 obj
<</Type /Page
/Parent 2 0 R
/MediaBox @dummy1@0 0 612 792 ]
/Contents 4 0 R
/Resource <</ProcSet 5 0 R @dummy2@
@dummy2@
endobj
4 0 obj
<</Length 0 @dummy2@
stream
endstream
endobj
5 0 obj
@dummy1@/PDF ]
endobj
xref
0 6
0000000000 65535 f
0000000010 00000 n
0000000063 00000 n
0000000125 00000 n
0000000251 00000 n
0000000305 00000 n
trailer
<< /Size 6
/Root 1 0 R
@dummy2@
startxref
331
%%EOF
===============
=== example2.pdf ===
%PDF-1.4
1 0 obj
<</Type /Catalog
/Pages 2 0 R
@dummy2@
endobj
2 0 obj
<</Type /Pages
/Rotate 90
/Kids @dummy1@3 0 R]
/Count 1
@dummy2@
endobj
3 0 obj
<</Type /Page
/Parent 2 0 R
/MediaBox @dummy1@0 0 612 792 ]
/Contents 4 0 R
/Resource <</ProcSet 5 0 R @dummy2@
@dummy2@
endobj
4 0 obj
<</Length 0 @dummy2@
stream
endstream
endobj
5 0 obj
@dummy1@/PDF ]
endobj
xref
0 6
0000000000 65535 f
0000000010 00000 n
0000000063 00000 n
0000000125 00000 n
0000000251 00000 n
0000000305 00000 n
trailer
<< /Size 6
/Root 1 0 R
@dummy2@
startxref
331
%%EOF
===============
Message was edited by: Akira Okumura

Similar Messages

  • Hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a

    hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thank

    For sideloaded content the nook pulls the metadata from ePub file itself.  I would suggest looking at a program like Sigil or Calibre that will let you edit the metadata in the book to make it appear like you want.
    For the PDF vs ePub - No, that's the way PDFs work (think of them as graphics, not text), wheres ePubs are Web Pages - so  no you can't them to behave exactly alike without converting the files.

  • Looking for help for sharing pdf files with ipad from mac.  Pages only recognizes text.  What app should I use for file sharing pdf documents?

    Looking for advice on how to share pdf files with iPad from Mac.   Pages seems to only recognize text.   What app is recommended for pdf documents?

    Welcome to Apple Support Communities!
    If I understand your question, you want to read pdfs on your iPad, not create or edit.
    Drag pdf files to the iPad icon in Finder while connected to your computer via the USB cable.
    They will show up in the iBooks application
    (If you don't already have iBooks, it's a free download from the App Store.)
    Once installed, there are two buttons at the top left of the Bookshelf.
    One is Books, the other is Collections.
    Tap Collections, and you'll see Books and PDFs.
    Tap PDFs and you're there.

  • Adobe X PDF files converted to jpg, edited and converted back to PDF have ragged, unclear text.  I didn't have this problem with Acrobat 9 standard.  What is the remedy for this.  If this is the best I can expect, I won't be able to use X standard.

    Adobe X PDF files converted to jpg, edited and converted back to PDF have ragged, unclear text.  I didn't have this problem with Acrobat 9 standard.  What is the remedy for this.  If this is the best I can expect, I won't be able to use X standard.

    I can't imagine any worse workflow than converting to JPEG to edit text, then back to PDF. Text in a PDF is a vector thing, smooth at all resolutions. And JPEG is made for photos. EVERY conversion to JPEG and back loses quality but how much loss there is will vary.
    If you must go to an image format, try PNG.

  • How to print a PDF file that was display in my page...

    Hi !. My doubt would be the following one... I would like to know how to print a pdf file that was displayed in my page ?... I mean the PDF file not the page...
    The PDF would be in this url:
    http://iprodesa.lasegunda.com.ar:8090/datos/pdf/830.pdf
    How could I implement this ?...

    This first question which comes to mind is how do you display the pdf file in the browser?
    For this the browser uses a plug in (e.g. adobe reader) which already has the ability to print the pdf file. Depending on the version of your plug in, printing is started differently.
    Timo
    Ps: which jdev version do you use?

  • How to remove white margin for pdf file shared by iCloud Keynote?

    iCould beta Keynote is very good. Thanks very much for Apple's effort.
    However, there is a litter problem that the pdf file shared by iClound Keynote has a white margin. How to remove this white margin? Or any bug there?

    No. I checked every page. Top side no white margin. In left and right side, the white margin is about 1mm, and in bottom side the white margin is about 2mm.

  • How do I add a PDF file for download to my iWeb page?

    How do I add a PDF file for download to my iWeb page?
    I have created one using Apples Pages program.
    Thanks!

    Hi-
    You need to create a text link to the file...
    On your page, type a word that you want to be the link... then select the word, and in the inspector pane, click the link tab (the arrow on the far right) and check "enable as hyperlink." Then choose "file" from the dropdown menu and a chooser box will open for you to locate the file on your hard drive.
    Choose the file by clicking "open" once it's located. Then the next time you publish, the file will be uploaded and linked to!
    Hope this helps... I think I got all the steps in there!

  • How can i send a PDF file to my i phone and be able to read it

    How can i send a PDF file to my i phone and be able to read it

    Use the free Adobe Reader for iPhone -> https://itunes.apple.com/us/app/adobe-reader/id469337564?mt=8.
    Clinton

  • Display all my pdf files according to their individual cover pages

    hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thank

    Moving to .NET support forum.
    To answer your question; yes, in a WEB app using the DHTML viewer. Go to the properties of the Crystal Reports viewer. Find the property "SeparatePages". Set this to false. There is no such option in a WIN app.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Starting yesterday I can scan a pdf file in from the scanner and can not send a pdf in an email attachment

    Starting yesterday I can scan a pdf file in from the scanner and can not send a pdf in an email attachment.  What happened?  Windows 8

    Adobe Reader can't scan documents. What software do you use?

  • My pdf files do not display the full page on Creative Cloud (side of pages missing)

    Hello
    My pdf files do not display the full page on Creative Cloud (side of pages missing).
    Does anyone else have this problem?
    Thanks

    Creative Cloud is the process used to download and install programs... which program are you using?
    If Acrobat, http://forums.adobe.com/community/acrobat may be a better place to ask

  • I want to view a PDF file from Right to Left (Japanese page order) in Apple Preview

    I want to view a PDF file from Right to Left (Japanese page order) instead of Left to Right (English page order) when I view 2 pages. Does someone know how to do this? I think I was able to accidentally get it to work before, someone please HELP!

    Sadly there's no way to do that on apple's Preview.
    Adobe reader, however, has this option.

  • Keynote and Pages files on Ipad

    My Videos app is crashing after renting a video on iTunes - so I want to restore settings.  Will I lose Keynote and Pages (and Goodreader, etc.) files when this happens - or will I get them back when I sync?

    Not if you restore from a backup you've made on iTunes.  All the settings, etc. will be the same.  Of course, there may be corrupted files in the backup that are causing your crash.  Give it a try and see what happens.

  • I was using my pad to work on keynote, and pages, I took off for a few days and all my files are un accessible.  How do I fix this?

    I was using my I pad for work and school using keynote and pages I took off for a holiday  and now my doc are not available on my pad. How did this happen and how do I fix this?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
     Cheers, Tom

  • I lost my keynote and pages file

    How do I restore keynote and pages file that seem to have vanished in icloud?

    Thanks Carolyn. But i still cant retrieve the files. They have vanished.  This is an embarassement to apple and its systems and an inconvenience to people like me who have lost the file. This is the only time i lost my file when i didnt think twice and just allowed the Keynote and pages files created to be stored on icloud. It was there for a few weeks and then suddenly i realised i coldnt find it anymore.
    Thanks so much for your help and feedback.
    Cheers

Maybe you are looking for

  • How to get application path in java bean

    hi all, We will be using <%= application.getRealPath("/") %> for getting the application path in jsp. is there any similar way to find the path using a bean. Please do help.... thanx Message was edited by: end

  • Personas- what are the settings required to make them display

    I have an XP machine where personas only show as a solid color. I have a WIN 7 machine with multiple users - some users work fine and some switch off and on between working and showing only a solid color. I want to know the config settings to look at

  • Static on playback?

    When I play my i tunes on my computer, it is choppy and some background static.  When I play XM online radio music, it sounds just fine. What is the problem?

  • Burning a DVD from FCPX

    My workflow is as follows: 1. Shoot in HXR-NX5u Sony AVCHD 1920x1080 | 29.97 fps 2. Import as is to FCPX letting FCPX create the project properties according to the first clip 3. Edit and create project. 4. Export as ProRes 422 5. Burn with iDVD to a

  • How to create own attributes in the graph.xml of 10g Reports

    Hi, Iam using 10g reports. Iam recreating the graphs in 10g which were created in Graphics builder earlier. While doing that I found lot of features are missing in 10g reports charts wizard. It has only limited number of Graph types when compared to