Using DynaPdfMBS in Xojo Web 2.0

Jeannot Muller
Oct 8 · 1 min read

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:

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

/usr/share/fonts/truetype/msttcorefonts

Image for post
Image for post

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:

Jeannot Muller

Written by

Managing director at https://teccompanion.com, physician, founder & executive consultant, developer and blogger.

Learn Xojo

Code snippets, tips and tricks to develop like a pro with the fantastic xojo.com tool on Windows, macOS, iOS, Web and Linux

Jeannot Muller

Written by

Managing director at https://teccompanion.com, physician, founder & executive consultant, developer and blogger.

Learn Xojo

Code snippets, tips and tricks to develop like a pro with the fantastic xojo.com tool on Windows, macOS, iOS, Web and Linux

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store