is now part of CreativePro.com!

InDesign to EPUB Text Scaling

6

Here’s a little tip or two about InDesign to EPUB text formatting that you might find useful if you’re dealing with scaled text.

Scaling applied to a text frame only affects EPUB text formatting if you set your scaling preferences to Apply to Content prior to scaling the frame:

and Preserve Local Overrides in the EPUB export dialog:

This holds true, whether the text was scaled by cmd/ctrl dragging a text frame, changing the scale values in the Control panel, or using the Scale tool.

All other combinations of the scaling preference and the export preference result in unscaled text in the EPUB.

If the text has been scaled unequally, the highest scaling value wins. For example, if you scale text 200% horizontally and 500% vertically, the text in the EPUB will be scaled 500% in both directions.

You can take a peek at the CSS to confirm this.

This seems like a fair compromise because I don’t think there’s a way to achieve unequal scaling of horizontal and vertical in the CSS.

It’s also interesting to note that scaling applied by a character style never makes it into EPUB. For example, if you have a character style that scales 200% H+V, that scaling is not reflected in the EPUB.

In the CSS, you can see why. The declaration for the character styled span is empty.

If you want that scaling to come out in the EPUB, you have to change the character style to apply a fixed point size to the text.

Which is reflected in the CSS.

These little scenarios might not keep you awake at night, but tuck them in the back of your mind for the day when you can’t figure out why the text in a cleanly styled InDesign document abruptly changes size when you export to EPUB.

Editor in Chief of CreativePro. Instructor at LinkedIn Learning with courses on InDesign, Illustrator, Photoshop, GIMP, Inkscape, and Affinity Publisher.
  • Bob Levine says:

    I would love to have a CSS panel in InDesign to avoid most of this trouble.

  • Mike Rankin says:

    You and me both, Bob. Then we’d really be cooking with gas. Right now, it feels like we’re being teased because in the Export Tagging options you can see all the CSS properties and values, but you can’t edit them.

  • Bob Levine says:

    Yeah…InDesign is effectively sticking its tongue out at us. Not very nice.

    Please, just give us a CSS panel with code hinting like Dreamweaver’s.

  • Marcel says:

    >>> I would love to have a CSS panel …

    … and more radically convert internal styles (char, par, obj, tab & cell) to linked external text file with css-like or JSON like syntax

  • derrick says:

    mike i have a small project that i think you are perfect for. please e mail me for more info.

  • Peter says:

    I must say that the text scaling infor on this site is great. Just passing by to see what you guys have here.

  • >