Merge branch 'fix/pdf-export-heading-fonts' of github.com:alexwoo-awso/BookStack into alexwoo-awso-fix/pdf-export-heading-fonts

This commit is contained in:
Dan Brown
2026-04-20 14:13:48 +01:00

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%;
}
}
}