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

pdf generator needs a style.yml #3

Open
3 of 4 tasks
jakoch opened this issue Jan 11, 2017 · 7 comments
Open
3 of 4 tasks

pdf generator needs a style.yml #3

jakoch opened this issue Jan 11, 2017 · 7 comments

Comments

@jakoch
Copy link
Member

jakoch commented Jan 11, 2017

  • create style for pdf document
  • select font
  • set image/image banner/logo for front page
  • find a suitable font, able to render box drawing chars

https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc

@LinuxDonald
Copy link
Collaborator

LinuxDonald commented Jan 12, 2017

Added something that is created by you on an other repo :)
6345579

@LinuxDonald
Copy link
Collaborator

cb92e06

@jakoch
Copy link
Member Author

jakoch commented Jan 13, 2017

:( Well, the asciidoctor-pdf generation was commented out for a reason.

@jakoch
Copy link
Member Author

jakoch commented Jan 13, 2017

Ok, i exchanged the font used for rendering and enabled autofit.

The last problem is due to using AsciiArt/Box-drawing chars in the dev manual to describe a folder tree.
These symbols have no counterpart in the font. I added two emoji fonts, but none covers the missing symbols. Maybe a real fallback font like VL Gothic is needed or simply a better monospaced font.

@Niektory
Copy link
Contributor

Niektory commented Jan 13, 2017

@jakoch
Copy link
Member Author

jakoch commented Jan 13, 2017

Great find!! I didn't know that there is a list of fonts, which support box-drawing chars. That's very helpful.
Turns out, the emoji things do not work, so i'm changing the font to FreeSerif, which is in the list of fonts.

We are error dangling between Prawn::Errors::CannotFit (for fonts supporting the symbols)
and The following text could not be fully converted to the Windows-1252 character set: | ├ (for fonts missing the symbols).

@jakoch
Copy link
Member Author

jakoch commented Jan 14, 2017

See build history starting from build 156 and up: https://travis-ci.org/fifengine/fifengine-docs/builds

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

No branches or pull requests

3 participants