lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent granados.ly image rotation in web.pdf (issue 317560043 by ad


From: trueroad
Subject: Re: Prevent granados.ly image rotation in web.pdf (issue 317560043 by address@hidden)
Date: Sat, 29 Apr 2017 05:18:30 -0700

Thank you for your reviewing.

Here's new commit message.

    Issue 5128: Prevent granados.ly image rotation in web.pdf

    granados.ly used 'landscape symbol for page settings.
    As a result, granados.pdf which was generated from granados.ly
    contained `/Rotate 90` that is not supported by XeTeX's PDFs
including.
    So the image in web.pdf which was generated by XeTeX
    was rotated 90 degree counter-clockwise.

    This commit makes the page settings does not have 'landscape symbol.
    We append `landscape` to the name of the paper size itself.
    So granados.ly image rotation in web.pdf is prevented.

    See Notation Reference "Setting the paper size".



https://codereview.appspot.com/317560043/diff/1/Documentation/ly-examples/granados.ly
File Documentation/ly-examples/granados.ly (right):

https://codereview.appspot.com/317560043/diff/1/Documentation/ly-examples/granados.ly#newcode16
Documentation/ly-examples/granados.ly:16: % as landscape letter size
instead of 'landscape symbol.
On 2017/04/29 10:09:05, dak wrote:
 From NR "Setting the paper size":

    If the symbol ‘'landscape’ is added to the paper size function,
pages
will be rotated by 90 degrees, and wider line widths will be set
accordingly.

      #(set-default-paper-size "a6" 'landscape)

    Swapping the paper dimensions _without_ having the print rotated
(like when printing to postcard size, or creating graphics for
inclusion
rather than a standalone document) can be achieved by appending
‘landscape’ to the name of the paper size itself:

      #(set-default-paper-size "a6landscape")

I've changed to "letterlandscape".

https://codereview.appspot.com/317560043/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]