Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default page size to A4 #375

Merged
merged 1 commit into from
Dec 16, 2015
Merged

Conversation

stephenhay
Copy link
Contributor

Resolves #319.

Visually confirmed in Evince: File > Properties.

@@ -1,4 +1,4 @@
# encoding: UTF-8
# encoding: utf-8
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably shouldn't be part of this PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. Ruby stores encoding names internally in uppercase, so technically UTF-8 is more correct (though both cases work).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies. My editor changed that automatically and I missed it.

@mojavelinux
Copy link
Member

Thanks! The change to the page_size is correct. Could you revert the encoding line, amend the commit (git commit --amend lib/asciidoctor-pdf/converter.rb), then force push the branch (git push --force)?

Resolves asciidoctor#319.

Visually confirmed in Evince: File > Properties.
@stephenhay
Copy link
Contributor Author

This has been done.

@mojavelinux
Copy link
Member

Nice work again @stephenhay!

mojavelinux added a commit that referenced this pull request Dec 16, 2015
Set default page size to A4
@mojavelinux mojavelinux merged commit d74e604 into asciidoctor:master Dec 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants