diff --git a/src/contents.js b/src/contents.js index be6e5fc..77b8594 100644 --- a/src/contents.js +++ b/src/contents.js @@ -1044,6 +1044,10 @@ class Contents { this.css(COLUMN_GAP, gap+"px"); this.css(COLUMN_WIDTH, columnWidth+"px"); + + // Fix glyph clipping in WebKit + // https://github.com/futurepress/epub.js/issues/983 + this.css("-webkit-line-box-contain", "block glyphs replaced"); } /**