View Single Post
Old 12-03-2014, 05:30 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Font discrimination

Hi

1. Discrimination
I use a main embedded font (Linux Libertine O) declared in the body. However for some styles (book index for example) I also use a dedicated smallcap font (Linux Libertine Capitals) declared for some styles.

For some reason, the Calibre editor does not accept to subset it and discard it as "unused". This font provide smallcaps and only smallcaps.

Quote:
@font-face {
font-family:'Linux Libertine Capitals';
font-weight: normal;
font-style: normal;
src:url(../styles/LinLibertine_aS.ttf) format('truetype');
}
Two styles using it:
Quote:
p.smcpindex {margin-left:1.0cm;margin-right:0.499cm;margin-top:0.0cm;margin-bottom:0.101cm;border:none;padding:0;background-color:transparent;text-indent:-0.499cm;text-align:justify;font-family:'Linux Libertine Capitals';}
h2 {page-break-before:always;margin-left:0.0cm;margin-right:0.0cm;margin-top:1.499cm;margin-bottom:1.0cm;border:none;padding:0.0cm;text-indent:0.0cm;text-align:center;font-family:'Linux Libertine Capitals';font-style:normal;font-variant:normal;font-weight:normal;text-decoration:none;text-transform:none;clear:left}
Question: what must I do to force the Calibre editor to take it into account (the Inspector can see it)?

2. Another thing is a constant complaint about mime-type for ttf fonts. What exactly should I write and where to get rid of this warning message?
roger64 is offline   Reply With Quote