diff --git a/src/contents.js b/src/contents.js index 41aa4c5..01f589a 100644 --- a/src/contents.js +++ b/src/contents.js @@ -1041,6 +1041,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"); } /**