View Single Post
Old 06-13-2022, 04:51 PM   #1
mazdaspeed
Member
mazdaspeed began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2018
Device: calibre
Adobe Fonts Not All Handled Properly by Calibre

Since Adobe CC Fonts are licensed for EPUB distribution, I export them using InDesign to a reflowable EPUB, and the packaged .epub file contains the subset fonts, as well as the encryption.xml file to extract them.

Calibre opens the EPUB with the Adobe fonts already subset, however, I am recently finding that some Adobe fonts are being mishandled when using bold, applying bold to some characters and not to others.

This is not true of all Adobe fonts, and I'm having great difficulty narrowing down the issue. Neither is the issue just local to Calibre, since when I convert using Kindle Viewer, the bold inconsistencies carry through the conversion.

Here's a screenshot and an explanation:

In the screenshot, the first "Chapter 1" is using "h1.h1SerifChapter".
The second "Chapter 1" is using "h1.ChapterHeading".
Both are bold fonts.
As you can see, the "Ch" and "e" are bold (or bolder?) and the other characters are not.

https://www.mobileread.com/forums/at...1&d=1655152696

Here are the relevant parts of my CSS:

@font-face {
src: url(../WarnockPro-BoldDisp.otf);
font-family: "Warnock Pro Display";
font-weight: bold;
font-style: normal;
font-stretch: normal;
}
@font-face {
font-family: "Kepler Std Disp";
font-style: normal;
font-weight: bold;
src: url(../KeplerStd-BoldDisp.otf);
}
h1.h1SerifChapter {
color: #606060;
font-family: "Warnock Pro Display", serif;
font-size: 1.8rem;
font-style: normal;
font-weight: bold;
line-height: 1.2;
margin: 0.5em 0 0.2em 0;
orphans: 1;
text-align: center;
text-indent: 0;
widows: 1;
}
h1.ChapterHeading {
color: #606060;
font-family: "Kepler Std Display", serif;
font-size: 1.8em;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: 1.2;
margin: 0.5em 0 0.2em 0;
orphans: 1;
text-align: center;
text-indent: 0;
widows: 1;
}

Anyone have any ideas?
Attached Thumbnails
Click image for larger version

Name:	Adobe Font Screenshot.jpg
Views:	369
Size:	7.8 KB
ID:	194358  

Last edited by mazdaspeed; 06-13-2022 at 04:53 PM.
mazdaspeed is offline   Reply With Quote