title: Embedding font and non-ISO-8859-1 characters in PDF
body: <p><strong>Background</strong>:</p>
  
  <p>I am not able to install a 3rd party library as iText or anything similiar. I have to write a PDF package myself.</p>
  
  <p>I am looking for a resource covering and explaining how to embedd fonts and texts in the PDF file format. So far, I have a pretty good coverage about adding rectangles, ISO-8859-1 texts and n-hedrons using <code>Path</code> elements.</p>
  
  <p>Now, the next step is supporting UTF-8 charset (or overall just <code>different</code> charsets) with different fonts. Reading the ISO-32000:2008 I cannot understand how to that (the overall document is very techy and I am still a junior developer).</p>
  
  <p>I found PDFBox, but I am having a hard time understanding the overcomplicated principles and decisions made.</p>
  
  <p>If anyone has a reference to simple code examples or cookboks how to handle texts properly in the PDF file format, I appreciate if you link it. </p>
  
  <p><strong><em>If the language matters</em></strong>: </p>
  
  <p>I am using Java. But I am more looking for a generous text/ article covering the topic with examples in any language.</p>