[UPDATED] Temporary Issue with Cardo Font in PDF Exports

This issue has now been resolved, but some users may need to make a small change if they are using Custom CSS with any of the affected themes. See instructions on how to fix the problem at the end of this post.

We’ve recently encountered an issue with our PDF conversion tool that will temporarily impact books that use the Cardo font in PDF. If you have recently noticed a change in page count, this is the culprit, but we have isolated the issue and are working on a solution.

To give some background, Pressbooks uses third-party PDF-rendering software (PrinceXML). The latest Prince update resulted in a change in rendering calculations for some TrueType fonts (including Cardo). Here are some more details:

The problem: The line-height has changed in books using a theme with the Cardo body font.

Affected Themes: 

  • Luther
  • Atwood
  • Eliot
  • Bradbury Color
  • Kolbert
  • Leguin
  • Lovecraft
  • Vonnegut
  • Vonnegut Color

The impact: Books using the above themes exported after October 2016 will have a different line-height and therefore different total number of pages that exports of the same book done before October 2016.

What we are doing: We are in communication with PrinceXML to see if there is a fix on their end. In parallel, we are testing adjusting the line-heights on affected themes in CSS, which should solve the problem.

When we’ll be finished: Likely not before next week (end of November), but should be resolved within two weeks.

We apologize if this has an impact on any planned reprints. If you have a print run that will be affected by this issue, we should be able to implement a temporary manual workaround — please contact us to arrange this.

We will keep you updated as we progress on fixing the issue, but if you have any questions or concerns, please let us know by emailing us at support@pressbooks.com.

UPDATE: How to fix your line height if you’re using custom CSS

The issue identified has now been resolved, and anyone using the standard versions of the themes above shouldn’t notice any changes. However, if you have used the custom CSS option with any of the affected themes, you will need to update the line height in your PDF stylesheet. Here’s how to do so:

  1. Go to “Edit CSS” and make sure you are in the PDF stylesheet (indicated at the top of the page)
  2. Find the body line height setting, which will look something like this:

body {
font-family: “Cardo”, “Times New Roman”, serif;
font-size: 10pt;
line-height: 1.1; }

  1. If you are using Luther, you will also need to locate this section, just below the one indicated above:

p {
margin-bottom: 0;
line-height: 1.2;
text-align: justify; }

  1. Change the line-height in accordance with this table:


  1. Save and export to see your changes.

If you run into any trouble with this process, or have a line height that isn’t listed on this table, let us know at support@pressbooks.com and we will help you figure it out.

Related Posts

Pressbooks.com Scheduled Maintenance: Jan. 2 & Jan. 3 / 2 a.m. – 7 a.m. EST

To boost the performance and security of our network, we intend to perform scheduled maintenance on the Pressbooks server between 2 a.m.-7 a.m. EST on Thursday, Jan. 2 and between 2 a.m.-7 a.m. EST on Friday, Jan. 3.  Pressbooks.com will be unavailable for anywhere between 30 to 120 minutes during the maintenance window on Jan.

Read More

A Big, Warm Welcome to Pressbooks’ Newest team members: Carlos, Ho Man, and Başak

It’s time for us to lift the curtain on some major changes here at Pressbooks!  We’ve spent a lot of time over the last month doing some much-needed maintenance across the platform, including theme improvements and changes to the user experience for institutions using single-sign on technology. These past weeks also included important work on

Read More

Introducing: Malala

Take a look at our new textbook theme and try out its coolest feature: interchangeable fonts As some of you may have noticed, we have a tradition here at Pressbooks of naming our book themes after famous authors. We’ve tried to imprint the legacy that these authors and their books have left on literature onto

Read More