View Single Post
Old 05-02-2018, 11:26 AM   #52
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by roger64 View Post
I had been told this property is unsupported by many readers [...]
I haven't really investigated this, but, AFAIK, very few fonts support "real small caps." I.e., if you use small caps it's usually better to embed a font known to support them. BTW, all current Kindle models support font-variant: small-caps; without embedded fonts.

Quote:
Originally Posted by jackie_w View Post
Too bad it didn't work. Another possibility, in Kobo kepubs this also worked:
Code:
-webkit-font-feature-settings: "liga", "dlig";
Unfortunately, that doesn't seem to work with the desktop version of ADE 4.5 either.

Stylesheet:

Code:
body {
    text-rendering: optimizeLegibility;
}

/* Common/standard ligatures (liga) */
.liga {
  font-variant-ligatures: common-ligatures;
  -moz-font-feature-settings: "liga", "clig";
  -webkit-font-feature-settings: "liga", "clig";
  font-feature-settings: "liga", "clig";
}

/* Discretionary ligatures (dlig) */
.dlig {
  font-variant-ligatures: discretionary-ligatures;
  -moz-font-feature-settings: "dlig";
  -webkit-font-feature-settings: "dlig";
  font-feature-settings: "dlig";
}
HTML file:

Code:
  <h2 id="sigil_toc_id_1">Common/standard ligatures (liga)</h2>

  <p>ff fi fl ffi</p>

  <p class="liga">ff fi fl ffi</p>

  <h2 id="sigil_toc_id_2">Discretionary ligatures (dlig)<br/></h2>

  <p>ct sp st ct Th</p>

  <p class="dlig">ct sp st ct Th</p>
Maybe the version of Minion Pro bundled with ADE 4.5 simply doesn't support these features. Most likely the Kobo developers bundled the RMSDK based Kobo ADE app with better fonts.
Doitsu is offline   Reply With Quote