I have the following font definition

5 0 obj
<<
  /BaseFont /CourierNew
  /Encoding /WinAnsiEncoding
  /Name /Fo0
  /Subtype /TrueType
  /Type /Font
>>
endobj

When pdfbox renders the text is is all pushed together. The problem is

PDFont.getSpaceWidth(),PDFont.getAverageFontWidth() both return 0. Then in
PDFStreamEngine.processEncodedText() the startXPosition=endXPosition

I can not find anywhere that pdfbox makes an attempt to load system fonts
and then use that info for font sizing etc ...

Reply via email to