Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

There is no easy to make this work if you are generating PDF files.

Here are the instructions for adding fonts in the rest of ProcessMaker: ... ocessMaker

But the only way to add a font to TCPDF which generates the PDF files is to change the source code:
If you want to do that, see:

I was able to add a font, by using this HTML code in my Output Document template:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<style type = "text/css">
@font-face {
  font-family: "Crazy Killer";
  src: url("http://localhost:336/lib/fonts/Crazy-Killer.ttf");
p {
  font-family: "Crazy Killer";
  color: blue;

<p>This is test 1</p>
<h2><span style="font-family: Crazy Killer; color: green;">This is test 2 with Crazy Killer font!</span></h2>
<p style="font-family: Crazy Killer;">test 3</p>
When I have this file installed on my ProcessMaker server:

The font appears in the Output Document template editor. However, the font doesn't appear in the PDF generated by either TCPDF or PDF2HTML. If I install the font in my computer's operating system, then it appears in the DOC file when I open it in LibreOffice. In LibreOffice, I can export the DOC file as a PDF and it will appear in the exported PDF.

If you want the font to be embedded inside the PDF so the user doesn't have to install the font in their computer's operating system, the only solution is to hack the ProcessMaker source code.

Hi Amosbatto. I apologise, I have been away for w[…]

Export grid to excel or csv

I want to export a grid to any kind of excel or cs[…]

Custom inbox columns

Can we add a variable from a process as a column w[…]

Hi, I'm programming a case in which a logged-in us[…]