File last modified on August 18, 2022

Drop Caps

When referencing the printer PDF make sure to look at the beginning paragraph of each new section/chapter to see if small caps exist. Sometimes the InDesign export doesn’t include the small-caps. If small caps are written in the CSS with something like:

css
1
p.first:first-line {
2
font-variant: small-caps;
3
text-transform: none;
4
}

Review the line and remove the CSS declaration if it modifies the entire line and not the intended selection only.

Rewrite the <p> tag to a <span> tag, remove first:first-line and set the value to small_caps, smallcaps or smallCaps in the CSS, example:

Renaming

If a section begins with a drop cap letter the name can be replaced, example:

Before

css
1
._idGenDropcap-1 {
2
font-family: 'Times New Roman';
3
font-size: 2.7em;
4
line-height: 1.2;
5
float: left;
6
margin: -0.16em 0.09em 0 0;
7
}

After

css
1
.dropcap {
2
font-family: 'Times New Roman';
3
font-size: 2.7em;
4
line-height: 1.2;
5
float: left;
6
margin: -0.16em 0.09em 0 0;
7
}

Channel Issues

We experience a lot of issues with Amazon regarding drop cap. While we try to always implement the same design so the title is seamless between print and digital for some reason Amazon's rendering issues clash with the drop cap's CSS.

If a rework issue was created for the drop cap the drop cap should be removed and the removal should be noted in the file (example: 20-11-11_amazon_reworks.txt) by commenting out the CSS:

css
1
/* .dropcap {
2
font-family: 'Times New Roman';
3
font-size: 2.7em;
4
line-height: 1.2;
5
float: left;
6
margin: -0.16em 0.09em 0 0;
7
} */

It is encouraged to create an Amazon only title (example: eISBN_mobi.epub) and the Distribution spreadsheet updated with Amazon Only.

Last build: Thursday, 08/18/2022, 01:01:08 AM