Fix PDF heading font fallback for export

This commit is contained in:
ololukaszuk
2026-03-25 15:23:15 +01:00
parent 25790fd024
commit 0b659671fe

View File

@@ -64,6 +64,11 @@ body.export-format-pdf {
font-size: 14px;
line-height: 1.2;
// Ensure heading glyph coverage for PDF engines that don't handle CSS vars well.
h1, h2, h3, h4, h5, h6 {
font-family: 'DejaVu Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
line-height: 1.2;
}
@@ -100,4 +105,4 @@ body.export-format-pdf.export-engine-dompdf {
.page-content td a > img {
max-width: 100%;
}
}
}