mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Text widgets, crengine: fix wrong vertical positioning (#6093)
Noticable with nastaliq arabic fonts. bump crengine: fix wrong usage of Harfbuzz y_offset Same in TextWidget and TextBoxWidget
This commit is contained in:
@@ -793,7 +793,7 @@ function TextBoxWidget:_renderText(start_row_idx, end_row_idx)
|
||||
end
|
||||
self._bb:colorblitFrom(glyph.bb,
|
||||
xglyph.x0 + glyph.l + xglyph.x_offset,
|
||||
y - glyph.t + xglyph.y_offset,
|
||||
y - glyph.t - xglyph.y_offset,
|
||||
0, 0, glyph.bb:getWidth(), glyph.bb:getHeight(), color)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user