Skip to content

Commit

Permalink
fix(pdf): Fix line height issue with superscripts (#1165)
Browse files Browse the repository at this point in the history
Fixes #1160
  • Loading branch information
kesara authored Nov 7, 2024
1 parent f0aeb65 commit bf52f86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xml2rfc/writers/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ def flatten_unicode_spans(self, html):
tt, code, pre {{
font-family: {mono-fonts};
}}
sup {{
line-height: 0;
}}
@page {{
size: A4;
font-size: 12px; /* needed for the page header and footer text */
Expand Down

0 comments on commit bf52f86

Please sign in to comment.