Your ePub Is fine(andreklein.net)
895 points by sohkamyung 45 days ago | 305 comments
tl;dr: An author's EPUB passed epubcheck validation and worked on Kindle, Apple Books, and Thorium, but failed silently on Kobo devices. The culprit was a single line of modern CSS (`max-width: min(150px, 30vw)`) that Adobe's RMSDK rendering engine—frozen circa 2013 and used by Kobo for standard EPUBs—couldn't parse, causing it to drop the entire book instead of ignoring the unknown declaration as the CSS spec has required since 1996. Workaround: rename files to `.kepub.epub` to route them to Kobo's actively maintained WebKit renderer instead.
HN Discussion:
  • Adobe has a long history of poor software maintenance and abandoning ecosystems
  • RMSDK is inaccessible and Adobe is unresponsive to developers
  • EPUB spec itself is problematic and epubcheck isn't as reliable as the author suggests
  • Kobo is moving away from RMSDK; workarounds like kepubify or .kepub.epub help
  • ~EPUB readers vary so much that minimal styling is the safest approach