Use freeserif font instead of helvetica to properly display foreign characters

This commit is contained in:
Marcus Hill 2025-08-16 15:54:28 +01:00
parent 804467b1ba
commit 98cf2f7a5a
1 changed files with 1 additions and 1 deletions

View File

@ -1066,7 +1066,7 @@ if (isset($_POST["export_client_pdf"])) {
// Build the HTML content with enhanced styling and semantic markup
$html = "
<style>
body { font-family: Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
body { font-family: sans-serif; margin: 0; padding: 0; }
.cover { text-align: center; margin-top: 50px; margin-bottom: 30px; }
.cover h1 { font-size: 28px; color: #000; margin-bottom: 10px; }
.cover h2 { font-size: 20px; color: #000; margin-bottom: 10px; }