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

Fix and document font issues with PDF #72

Closed
petrbouchal opened this issue May 3, 2020 · 6 comments
Closed

Fix and document font issues with PDF #72

petrbouchal opened this issue May 3, 2020 · 6 comments
Labels
charts input-needed Further information is requested

Comments

@petrbouchal
Copy link
Collaborator

petrbouchal commented May 3, 2020

"invalid font"

"dot substituted..."

Also need note on embed_fonts().

Alternatively, it seems cairo_pdf does not throw the latter error, at least on a Mac.

@petrbouchal petrbouchal added input-needed Further information is requested charts labels May 4, 2020
@petrbouchal
Copy link
Collaborator Author

@jaromir-mazak @alesvomacka can you let me know if in the end you do need the PDF template/way to output PDF docs? If so, I may have figured out an optimal way to handle reschola-themed fonts in charts for PDF, but it would require some testing on your machines. (I would leave the LaTex styling to you though...)

@alesvomacka
Copy link

alesvomacka commented May 4, 2020

@petrbouchal I would definitely appreciate it.

@petrbouchal
Copy link
Collaborator Author

@alesvomacka did any of what I suggested via email re fonts work?

@alesvomacka
Copy link

@alesvomacka did any of what I suggested via email re fonts work?

@petrbouchal word graph changes work (the size of graphs needs to be changed through aspect ratio, not directly).

As for PDF, no combination of solutions work for me.

@petrbouchal
Copy link
Collaborator Author

OK - can you please try to 'Knit' (via RStudio button) the Rmd file in the attached ZIP and post back the resulting PDF after running extrafont::embed_fonts("reschola_pdf_fonts_testpad.pdf")?
reschola_pdf_fonts_testpad.Rmd.zip

@netique
Copy link
Member

netique commented Feb 25, 2021

There is schola_pdf format now in v0.2.13.9000. Please check & close.

@netique netique closed this as completed Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
charts input-needed Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants