Font Load: How to Force Font Syntax

Modified on Thu, Feb 15, 2018 at 10:03 AM

In order to get fonts to work you need to upload the fonts to the server first and then reference them in the font load section.

Go to Product Setup for a PDF Lib Block product. Then go to the Fonts tab. Click on the Upload Fonts button towards the bottom of the page.

Upload your fonts then below you will see an Orange refresh icon. To see all your fonts refresh the page. All your fonts will appear in the dropdown below.

Select the font and Add to List.

Fonts with the same filenames will have to be named manually.

This is the syntax for the font load section.

Note that the pdflib block can use Alias names meaning that the font name can be whatever you like. The important thing is to match the name Blocks to the fontfile you uploaded.

Alias names can be used when same name fonts are found in more than one font file
Select 'Load' font type then add the alias fontname followed by a colon : followed by the filename to the force load field
   
   
fontname1:filename1,fontname2:filename2,fontname3,fontname4
   
Example:  
   
Arial:Arial.ttf,Helvetica:hv____.pfm,Kids
   
   
[For automatic operation, you can type the actual fontname only without the file, do not use an alias in this case
Mixing manual with with aliases and automatic without aliases is allowed]
   
   
   
   
Fonts Problems  
   
1 An empty block with underline set to true will show a one character underline even if there are no characters entered.
   
  Workaround:
  Set the block to textflow = true


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article