View Single Post
Old 04-13-2022, 08:24 PM   #1
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 777
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
Don't Understand Error Message: ... but found '"liga" 0'

I have almost no knowledge of CSS. I'm using the Editor in Calibre on an epub I own and ran the bugcheck function on it. It's given me 8 errors that are basically the same thing for different places of CSS:

Quote:
ERROR: Expected (<feature-tag-value> | normal) but found '"liga" 0'.****[stylesheet.css]
That one points to the 6th line of the following (the second occurence of "liga"):

Code:
.char-of-normal {
  -webkit-font-feature-settings: "liga" 0;
  -webkit-font-kerning: Normal;
  -webkit-font-variant-ligatures: no-common-ligatures;
  font-family: "Times New Roman", "TimesNewRomanPSMT", "Times", "serif";
  font-feature-settings: "liga" 0;
  font-kerning: Normal;
  font-size: 0.75rem;
  text-decoration: none;
}
Here's the specific line pulled out of the above:

Code:
font-feature-settings: "liga" 0;
Following the help link doesn't really tell me much. But, if I search for that line, I come up with pages showing it as valid CSS. Also, 4 lines above it is almost the identical line (except it's prefixed with "-webkit-") and it doesn't have a problem with that.

Can anyone explain why the Editor doesn't like that line? What's it supposed to be doing?
enuddleyarbl is online now   Reply With Quote