-
Jan-Marek Glogowski yazdı
The glyphs from SalLayout already have the correct position, so one doesn't have to advance them. This is why PS glyphs were positioned "off-by-one", which is especially visible, if your test document has words with spaces. "dm d" was almost rendered / printed as "d md". This is a regression from commit 2325f9ac ("fix bug in GlyphSet::DrawGlyph"), which assumed the dead / unused code was a bug, introduced by commit b157b82a ("Use GlyphItem in more places"), which out of luck, seem to have been correct. Since nobody uses the advance anywhere, just drop the parameter. Change-Id: I40e8f99a98f84d48446a9190566af8cfe441cd88 Reviewed-on: https://gerrit.libreoffice.org/59510Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by:
Jan-Marek Glogowski <glogow@fbihome.de> Tested-by:
Jan-Marek Glogowski <glogow@fbihome.de>
b0a5a564