HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › HTML entities ≤ and ≥ result in questionmarks in rendered pdf.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36111

    Hi,

    we have an issue with ≤ and ≥

    example code:

    <html>
     <head> 
      <title>Neue HTML Datei</title> 
      <style type="text/css">
      body {
        color: black; background-color: white;
        font-size: 100.01%;
        font-family: Helvetica,Arial,sans-serif;
        margin: 0; padding: 1em;
      }
    
      div#Inhalt {
        margin-left: 1em;
        padding: 0 1em;
        border: 1px solid #dddddd;
    	width: 170mm;
      }
      div#Inhalt #title {
        font-size: 1.5em;
        margin: 0 0 1em;
      }
    </style> 
     </head> 
     <body> 
      <div> 
       <div>
        etrewr ౷ 
       </div> Kurzbeschreibung:
       <br />
       <p></p> 
       <p>@@@@@ ≤ ≥</p> 
      </div>  
     </body>
    </html>

    Thanks a lot for an advice or ideas

    Attachments:
    You must be logged in to view attached files.
    #36113

    Hi! To render non-Latin-1 glyphs, you need to use the PD4ML TTF embedding feature.

    See https://pd4ml.com/pdf-fonts/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.