Learning Xojo

If you want to use the fantastic DynaPdf Xojo Plugin from MBS be aware that you have to tell the plugin where to find the fonts.

It is documented in the plugin but a bit hard to find, and that sad news are that you won’t get an error message, the creation of the pdf is just not working.

Installing the Microsoft fonts on Ubuntu

It is a simple as executing the following command:

sudo apt install ttf-mscorefonts-installer

You will find the newly installed fonts under the following path:


Customization in Xojo

Ensure that you are telling the plugin where to find the fonts. In the above example your Xojo Code has to look like follows:

var pdf as new DynaPDFMBS

if TargetLinux then
  call pdf.AddFontSearchPath "/usr/share/fonts/truetype/msttcorefonts", true
end if


Sign in or become a blog.xojoDOCs.com member to join the conversation.
Just enter your email below to get a log in link.

You’ve successfully subscribed to blog.xojoDOCs.com
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Your link has expired
Success! Check your email for magic link to sign-in.