PDF MBS in linux no letters?

Hi all.
I’ve just been trying to make PDFs in Linux using DynaPDFMBS
The code works fine on Mac and Windows builds, but in Linux only, my PDF gets no letters appearing.

The Linux app is built on my Mac using Xojo 2018 R3
DynaPDFMBS libs are at version 18.2 for this build environment

Typical code…

  Call pdf.setfont(  "Arial", pdf.kfsNormal, siz, True, pdf.kcpunicode)
  Call pdf.WriteText ( leftposition , topposition ,"Number")

Is “Arial” installed on your Linux Distribution?

1 Like

Is “Arial” installed on your Linux Distribution?

errr… It never occurred to me that it might not be.
Isnt Arial one of the holy 14 PDF fonts?

Nope - Standard 14 PDF Fonts:

  • Times-Roman
  • Times-Bold
  • Time-Italic
  • Time-BoldItalic
  • Courier
  • Courier
  • Courier-Bold
  • Courier-Oblique
  • Helvetica
  • Helvetica-Bold
  • Helvetica-Oblique
  • Helvetica-BoldOblique
  • Symbol
  • ZapfDingbats
1 Like

I’ll this a try. Thanks for the heads up.

just change it to Helvetica.

2 Likes
Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.