• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Adding fonts in PDf

Adding fonts in PDf 5 days 18 hours ago #39536

  • pat59
  • pat59's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 2
I was trying to change the font on a Full Name field when sent in a PDF to make it look like a signature.
Just in case someone is trying to do something like this or is trying to change the fonts in the pdf:

Note that by adding the font file, there will be no particular option for you to actually select it via RSForm!Pro configuration. You'll need to specify this from the PDF contents and you can try similar steps:

- ensure the font is placed under the correct path (this is an example with "DaunTeav.ttf" font):

\administrator\components\com_rsform\helpers\pdf\dompdf8\lib\fonts\DaunTeav.ttf

- backend > Components > RSForm!Pro > Manage Forms > your form > Properties > User or Admin Email (where you have the PDF configured) > your "PDF Layout (HTML)" layout should be similar with the following:

<style type="text/css">
@font-face {
font-family: 'DaunTeav';
src: url(mywebsite.com/administrator/components/c...b/fonts/DaunTeav.ttf) format('truetype');
}
</style>
<body style="font-family:DaunTeav">
<div>This is some sample message.</div>
</body>

Of course, replace mywebsite.com with your actual website and the font-family declarations accordingly.

Other alternate methods are pointed out here:

github.com/dompdf/dompdf/wiki/UnicodeHow...aracters-into-dompdf

Good Luck!
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!