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

Footer Misalignment in PDF Export When Using Emojis #403

Open
marianozunino opened this issue Dec 5, 2024 · 2 comments
Open

Footer Misalignment in PDF Export When Using Emojis #403

marianozunino opened this issue Dec 5, 2024 · 2 comments

Comments

@marianozunino
Copy link

marianozunino commented Dec 5, 2024

Hi @mfontanini,

First off, let me say it again—amazing work on this project! I've been catching up on all the new changes and features, and they’re really impressive.

That said, I’ve encountered a bug that took me some time to diagnose. It seems to affect the PDF export functionality, particularly with footers. When a slide contains an emoji, it causes the footer to shift downward, and in some cases, it ends up on the next slide.

Here’s my environment setup:

OS: Linux
Tmux: tmux 3.5a
Terminal: kitty/wezterm
presenterm-export: 0.2.5

Here’s a minimal reproducible example:

---
options:
  implicit_slide_ends: true
theme:
  override:
    code:
      alignment: left
      background: true
    footer:
      style: template
title: Title
---
slide 1
===
## 🎓 Test

slide 2
===
## 🎓 Test

slide 3
===

test

slide 4
===
test

slide 5
===
test

test.pdf

Let me know if you need any additional details or further testing!

Thanks again for the fantastic work!

@mfontanini
Copy link
Owner

Thanks for the kind words! I'm able to reproduce it, will have a look.

@mfontanini
Copy link
Owner

Created Kozea/WeasyPrint#2324 to track this. I've found a few issues similar to this one and always found a way to re-arrange the HTML that gets converted to PDF but I can't find a way around this one.

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

2 participants