View Single Post
Old 03-12-2019, 09:42 AM   #3
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)
Quote:
Originally Posted by RbnJrg View Post
Roger, are you working on epub2 or epub3? In epub2 ADE doesn't support "font-variant: small-caps", so forget to implement small-caps by means of CSS. And first you have to embbed the font before using it; did you do it?
Hi Ruben

I embed fonts since the dawn of times (nearly) , and this one particularly. I use ePub3 on a standard basis.

If you have a look at the nice links given by Tex2002ans, you'll find one Adobe recommendation (but it seems it's more focused on web design than ebook publishing). Adobe recommends this (the name of the class is mine):
Code:
.adobe {
  font-variant-caps: small-caps;
  -moz-font-feature-settings: "smcp";
  -webkit-font-feature-settings: "smcp";
}
I tried it on ePub3 to no avail.

So they forget the "low-level" property "font-feature-settings" and recommend "font-variant-caps" (not font-variant).

Up to now, the only software I found that makes a complete use of the OpenType feature is LibreOffice. So, I tried to export to ePub with LibreOffice an odt using this extra-feature. A pity, the extra OpenType feature which appeared nicely in the odt has not been converted in the ePub....
roger64 is offline   Reply With Quote