Quote:
Originally Posted by JSWolf
I did say not to delete the font-size from smallcap classes. Usually, it's very easy to tell based on the class name.
|
I read what you wrote as saying to remove all font-sizes less than 1em excluding smallcap styles.
I was attempting to point out that some styles involve font sizes less than 1em are not easy to recognize as a smallcaps style. And some smallcap styles are not very clear -- in one case, the class that handled AM/PM/etc. was found in the stylesheet as span.abbrv. doing fake smallcaps using font-size 0.8em while another span wrapped around this one was named span.condc2sc which used @support to either use real smallcaps (if supported) using c2sc with a font-size of 1.25 em or doing nothing. It was supposed to be epub3 and web readable. If you left the font-size of 1.25em in place and removed the 0.8em, it would look rather odd when displayed by software that did not support real smallcaps.
The other item I was trying to make clear is not all stylesheets use the em as a unit.
Quote:
Originally Posted by JSWolf
You just have to see what's there and deal appropriately.
|
Your advice,
in my opinion, comes very close to that utility that nuked the style information in an epub to fix a bug in early Kobo firmware. There are just too many variant techniques to allow for one-size-fits-all advice.