View Single Post
Old 03-02-2022, 06:35 PM   #15
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@gregorio...I had a good look at your epub and discovered two things. First, because you used Adobe InDesign to generate your epub, the embedded fonts used in your epub's Font directory are all obfuscated using crypto. They shouldn't be obfuscated -- that will always give you a fail when you run the Epubcheck plugin. If you want to resolve or fix that font obfuscation problem then just open your test epub in Sigil and, in the Fonts directory, just right-click on each font in turn and select Font Obfuscation > None.

Secondly, I also state quite clearly in the plugin release notes -- in the Caveats section -- that this plugin will not convert pixel values to 'em' values. And the main reason I prefer not to convert pixels to em is because pixels should really only ever be used for the likes of image dimension values like "height" and "width" in the css and should not be used for font or font spacing values such as "font-size", "margin", "padding" and "text-indent" values etc.

I used Adobe InDesign about 10 years ago but eventually gave up using that app because of all the epub problems it still throws up whenever you use their epub converter. Also I found that their conversion to epub always created a vast amount of unnecessary cludge and clutter in the epub html which takes alot of extra work and time to clear up. Nowadays I tend to use Jutoh with Sigil for my epub conversions -- for speed. And both Jutoh and Scrivener(I have both) epub converters will always correctly give all css font and spacing values in 'em', properly done.

Anyway I will have a look at the plugin and see if I can incorporate the conversion of pixel values to em values in the css.

Last edited by slowsmile; 03-02-2022 at 07:50 PM.
slowsmile is offline   Reply With Quote