icon

How to load custom fonts in a PDF

CraftMyPDF
CraftMyPDF

PDF format is capable of embedding fonts. CraftMyPDF not only supports Google fonts but also supports custom fonts.

In this short tutorial, we are going to guide you to use your own custom fonts for your PDF template.

Step 1 – Upload a font or use a CDN font

You may upload your custom fonts to online storage or use a font that is available on CDN such as https://www.cdnfonts.com/

Step 2 – Navigate to Settings

In the Additional CSS field, paste the CSS snippet in the text field.

Please make sure that the custom font starts with “https://“. Remember to click on the Apply button.

(i) If you are using a font on cdnfonts.com, please make sure to change the protocol to https:// and use @import to load the font CSS.

(ii) In addition, If you are using a custom font in your own CDN, you have to use the @font-face CSS at-rule to specify the location.

Step 3 – Changing the font property

In the PDF template designer, click to select a label and enter the font name, and press Enter

Table of Contents

Recent Posts
guide
CraftMyPDF

Teams

The teams feature is a shared workspace that allows you to collaborate and get things done in your organization, it’s much easier to share templates with your team.

Read More »
blog
CraftMyPDF

How to create mail merge PDF automatically

In the first part of this tutorial, we will briefly introduce what’s mail merge and the components of mail merge. In the second part, we are going to walk you through the steps to automate the process of mail merging into PDF.

Read More »
blog
CraftMyPDF

How to Make a Barcode in PDF

In this article we talk about what is a barcode, history of barcodes, use-cases, benefits and also how to create barcode in PDF with CraftMyPDF.

Read More »
blog
CraftMyPDF

How to Make a QR Code in PDF

Having QR codes in PDF is a handy thing in your business that can serve multiple purposes. You can share more information about your company or portfolio while sending a PDF proposal. If you wonder how to make a QR code in PDF, we’ve got you covered.

Read More »
guide
CraftMyPDF

CraftMyPDF’s Components for PDF Editor

The PDF template editor consists of a rich set of components for you to build beautiful PDFs with powerful expressions, page-breaks and data-bindings. In this article, we will cover all the components in the PDF designer.

Read More »
Copyright ©2022 CraftMyPDF.com

Email us at hello@craftmypdf.com for support