View Single Post
Old 05-04-2012, 05:32 PM   #367
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@kiwidude,

I've spent a good few hours using Quality Check and Modify Epub to remove embedded fonts and @font-faces. Most of it is done, so thank you. However, I'm getting an error message when I look at the log from Quality Check (included below).

There are now only 8 books in my library with embedded fonts, all of which I wish to leave as-is (7 test files, 1 real book).

I can't figure out whether the error is a 9th book whose name never reaches the log or whether it's something different. Any suggestions?

Log if 'Check embedded fonts' option used:
Spoiler:
Code:
C:\Calibre\Novels\Aaa Zzz\Kallisti (Michael Woods) (5815)\Kallisti (Michael Woods) - Aaa Zzz.epub 
  Font found: fonts/xAquiline.ttf 
  Font found: fonts/xBethHand.ttf 
  Font found: fonts/xBudHand.ttf 
  Font found: fonts/xCyberCal.ttf 
  Font found: fonts/xDelphine.ttf 
  Font found: fonts/xDueDate.ttf 
  Font found: fonts/xHenryMorgan.ttf 
  Font found: fonts/xLibMono.ttf 
  Font found: fonts/xLibMonoB.ttf 
  Font found: fonts/xLibMonoBCaps.ttf 
  Font found: fonts/xLibMonoCaps.ttf 
  Font found: fonts/xLibSans.ttf 
  Font found: fonts/xLibSansB.ttf 
  Font found: fonts/xLibSansBI.ttf 
  Font found: fonts/xLibSerif.ttf 
  Font found: fonts/xLibSerifB.ttf 
  Font found: fonts/xLibSerifBI.ttf 
  Font found: fonts/xLibSerifI.ttf 
  Font found: fonts/xOgirema.ttf 
  Font found: fonts/xOgiremaB.ttf 
  Font found: fonts/xOgiremaI.ttf 
  Font found: fonts/xOldNewspaper.ttf 
  Font found: fonts/xOptimus.ttf 
  Font found: fonts/xPetitscript.ttf 
  Font found: fonts/xTypewriter.ttf 
  Font found: fonts/xUglyQua.ttf 
C:\Calibre\Novels\Aaa Zzz\Three Men in a Boat (Zelda) (3576)\Three Men in a Boat (Zelda) - Aaa Zzz.epub 
  Font found: OEBPS/fonts/Fontin-Bold.ttf 
  Font found: OEBPS/fonts/Fontin-Italic.ttf 
  Font found: OEBPS/fonts/Fontin-Regular.ttf 
C:\Calibre\Novels\Aaa Zzz\Font Embed MediciText (5034)\Font Embed MediciText - Aaa Zzz.epub 
  Font found: OEBPS/fonts/MediciText.ttf 
C:\Calibre\Novels\Aaa Zzz\Font Embed CelticEels (5035)\Font Embed CelticEels - Aaa Zzz.epub 
  Font found: OEBPS/fonts/CelticEels.ttf 
C:\Calibre\Novels\Aaa Zzz\DropCaps - CelticEels (5036)\DropCaps - CelticEels - Aaa Zzz.epub 
  Font found: fonts/CelticEels.ttf 
C:\Calibre\Novels\Aaa Zzz\EPUB FontEmbed (5705)\EPUB FontEmbed - Aaa Zzz.epub 
  Font found: fonts/monob.ttf 
  Font found: fonts/monobi.ttf 
  Font found: fonts/monoi.ttf 
  Font found: fonts/monor.ttf 
  Font found: fonts/sansb.otf 
  Font found: fonts/sansbi.otf 
  Font found: fonts/sansi.otf 
  Font found: fonts/sansr.otf 
  Font found: fonts/serifb.ttf 
  Font found: fonts/serifbi.ttf 
  Font found: fonts/serifi.ttf 
  Font found: fonts/serifr.ttf 
C:\Calibre\Novels\Aaa Zzz\Jellby ePub Reader Test v2 (5814)\Jellby ePub Reader Test v2 - Aaa Zzz.epub 
  Font found: OEBPS/Fonts/Lobster_1.4.otf 
  Font found: OEBPS/Fonts/Fontin-Italic.otf 
  Font found: OEBPS/Fonts/Fontin-Regular.otf 
  Font found: OEBPS/Fonts/FreeSans.otf 
  Font found: OEBPS/Fonts/SILEOT.ttf 
  Font found: OEBPS/Fonts/FreeSansOblique.otf 
  Font found: OEBPS/Fonts/LateefRegOT.ttf 
C:\Calibre\Novels\Stephen King\11-22-63 (5816)\11-22-63 - Stephen King.epub 
  Font found: ops/fonts/AldusLTStd-Italic.otf 
  Font found: ops/fonts/AldusLTStd-Roman.otf 
  Font found: ops/fonts/AlternateGothicNo2BTStd-Regular.otf 
  Font found: ops/fonts/AmericanTypewriterStd-Med.otf 
  Font found: ops/fonts/CalibanStd.otf 
  Font found: ops/fonts/CheltenhamStd-BoldCond.otf 
  Font found: ops/fonts/CheltenhamStd-BoldCondIt.otf 
  Font found: ops/fonts/CooperBlackStd-Italic.otf 
  Font found: ops/fonts/CooperBlackStd.otf 
  Font found: ops/fonts/EngraversLTStd-BoldFace.otf 
  Font found: ops/fonts/FrutigerLTStd-Black.otf 
  Font found: ops/fonts/FrutigerLTStd-Bold.otf 
  Font found: ops/fonts/Garamond3LTStd-Bold.otf 
  Font found: ops/fonts/Garamond3LTStd-BoldItalic.otf 
  Font found: ops/fonts/Garamond3LTStd-Italic.otf 
  Font found: ops/fonts/Garamond3LTStd.otf 
  Font found: ops/fonts/HelveticaInseratLTStd-Roman.otf 
  Font found: ops/fonts/HelveticaLTStd-Blk.otf 
  Font found: ops/fonts/HelveticaLTStd-BlkObl.otf 
  Font found: ops/fonts/HelveticaLTStd-Obl.otf 
  Font found: ops/fonts/HelveticaLTStd-Roman.otf 
  Font found: ops/fonts/MemphisLTStd-Bold.otf 
  Font found: ops/fonts/NewsGothicBTStd-Bold.otf 
  Font found: ops/fonts/NewsGothicBTStd-BoldCondensedItalic.otf 
  Font found: ops/fonts/NewsGothicBTStd-Italic.otf 
  Font found: ops/fonts/NewsGothicBTStd-Roman.otf 
  Font found: ops/fonts/StencilStd.otf 
  Font found: ops/fonts/TimesNewRomanMTStd-Bold.otf 
  Font found: ops/fonts/TimesNewRomanMTStd-BoldIt.otf 
  Font found: ops/fonts/TimesNewRomanMTStd-Italic.otf 
  Font found: ops/fonts/TimesNewRomanMTStd.otf 
  Font found: ops/fonts/TradeGothicLTStd-BdCn20.otf 
  Font found: ops/fonts/TradeGothicLTStd-BdCn20Obl.otf 
  Font found: ops/fonts/TradeGothicLTStd.otf 
ERROR parsing book:  None 
Traceback (most recent call last):
  File "calibre_plugins.quality_check.check_epub", line 816, in evaluate_book
  File "site-packages\calibre\utils\zipfile.py", line 751, in __init__
  File "site-packages\calibre\utils\zipfile.py", line 786, in _GetContents
  File "site-packages\calibre\utils\zipfile.py", line 797, in _RealGetContents
  File "site-packages\calibre\utils\zipfile.py", line 228, in _EndRecData
AttributeError: 'NoneType' object has no attribute 'seek'


Log if 'Check @font-face' option used:

Spoiler:
Code:
11-22-63 - Stephen King 
	CSS file contains @font-face: ops/styles/9781451627305.css 
Kallisti (Michael Woods) - Aaa Zzz 
	CSS file contains @font-face: adversary1.css 
Three Men in a Boat (Zelda) - Aaa Zzz 
	CSS file contains @font-face: OEBPS/css/main.css 
Font Embed MediciText - Aaa Zzz 
	CSS file contains @font-face: stylesheet.css 
Font Embed CelticEels - Aaa Zzz 
	CSS file contains @font-face: stylesheet.css 
DropCaps - CelticEels - Aaa Zzz 
	CSS file contains @font-face: stylesheet.css 
EPUB FontEmbed - Aaa Zzz 
	CSS file contains @font-face: stylesheet.css 
Jellby ePub Reader Test v2 - Aaa Zzz 
	CSS file contains @font-face: OEBPS/Styles/style-08.css 
ERROR parsing book:  None 
Traceback (most recent call last):
  File "calibre_plugins.quality_check.check_epub", line 847, in evaluate_book
  File "site-packages\calibre\utils\zipfile.py", line 751, in __init__
  File "site-packages\calibre\utils\zipfile.py", line 786, in _GetContents
  File "site-packages\calibre\utils\zipfile.py", line 797, in _RealGetContents
  File "site-packages\calibre\utils\zipfile.py", line 228, in _EndRecData
AttributeError: 'NoneType' object has no attribute 'seek'
jackie_w is offline   Reply With Quote