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

Add ability to have notes in print-pdf #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dubit0
Copy link

@dubit0 dubit0 commented Dec 14, 2021

This patch as an overlay canvas to the generated PDF print version to
render the notes added to the slides. To keep the current default behavior,
this feature must be enabled by setting the new configuration option "printNotes"
to true.

Unfortunately the relative positioning between the drawings and the slide content
is not perfect since the rendering of the slide content slightly differs in the
pdf-print mode.

This patch addresses issue #97

This patch as an overlay canvas to the generated PDF print version to
render the notes added to the slides. To keep the current default behavior,
this feature must be enabled by setting the new configuration option "printNotes"
to `true`.

Unfortunatly the relative positioning between the drawings and the slide content
is not perfect since th rendering of the slide content slightly differs in the
pdf-print mode.

This patch adresses issue rajgoel#97
@TS-CUBED
Copy link

Is there anything keeping this from being merged?

Thinking about forking for my own lectures.

@rajgoel
Copy link
Owner

rajgoel commented Sep 20, 2022

Yes, the limitation regarding the relative positioning:

Unfortunately the relative positioning between the drawings and the slide content is not perfect

I didn't check myself, but this can be a real problem (in particual for different screen sizes e.g. phones).

@rajgoel
Copy link
Owner

rajgoel commented Sep 20, 2022

If there is a quality indication about the worst case offset that can occur I'd be willing to inspect this in more detail.

@TS-CUBED
Copy link

TS-CUBED commented Sep 20, 2022 via email

@TS-CUBED
Copy link

TS-CUBED commented Sep 20, 2022 via email

@rajgoel
Copy link
Owner

rajgoel commented Sep 20, 2022

The calculation of the correct coordinates is pretty tricky and so far I haven't found a clear solution to this. For live presentations and printouts of chalkboard drawings, this is not a big problem, but for printouts of notes this is a different story.

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