1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

Fix glyph clipping in WebKit. Fixes #983

This commit is contained in:
daniel-j 2019-09-28 22:32:58 +02:00
parent d9c2559b21
commit 5edf4c3bf6

View file

@ -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");
}
/**