Skip to content

Commit

Permalink
fix: pdf styles can now be italic and bold
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Sep 4, 2024
1 parent f2bc9f7 commit 0d92652
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions packages/pdf/src/report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ReportPDFDocument = ({ udap, htmlString, images }: ReportPDFDocumen
<html>
<body>
<style>
* {
body {
font-family: Helvetica;
}
Expand All @@ -41,7 +41,19 @@ export const ReportPDFDocument = ({ udap, htmlString, images }: ReportPDFDocumen
font-family: Helvetica-Oblique;
}
strong > em {
strong em span {
font-family: Helvetica-BoldOblique;
}
em strong span {
font-family: Helvetica-BoldOblique;
}
strong em {
font-family: Helvetica-BoldOblique;
}
em strong {
font-family: Helvetica-BoldOblique;
}
Expand Down

0 comments on commit 0d92652

Please sign in to comment.