vcl/skia/gdiimpl.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit 50171eb5ba7b7b0cfbe9d0cc5577cd8e8b33fa22 Author: Xisco Fauli <[email protected]> AuthorDate: Mon Dec 22 10:45:46 2025 +0100 Commit: Adolfo Jayme Barrientos <[email protected]> CommitDate: Sun Dec 28 19:11:40 2025 +0100 tdf#168076: fix vertical glyphs position Regression after commit 027c65e72e49c1c5dae9d6b5f8151cd2d27442a7 Author: Xisco Fauli <[email protected]> Date: Wed Jul 2 14:31:20 2025 +0200 skia: upgrade to m139 Adapt code accordingly after https://skia-review.googlesource.com/c/skia/+/1004298 Change-Id: Ic308c17eeee081f1c44ea089599a8a4ef6b7ca02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196082 Reviewed-by: Xisco Fauli <[email protected]> Tested-by: Jenkins (cherry picked from commit 145775f9ac25170c803d2538f807cd06ed8ee654) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196098 Reviewed-by: Adolfo Jayme Barrientos <[email protected]> diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx index 49ddbdbf3b3c..40091ec62069 100644 --- a/vcl/skia/gdiimpl.cxx +++ b/vcl/skia/gdiimpl.cxx @@ -2129,11 +2129,8 @@ void SkiaSalGraphicsImpl::drawGenericLayout(const GenericSalLayout& layout, Colo { bool verticalRun = *pos; std::vector<bool>::const_iterator rangeEnd = std::find(pos + 1, end, !verticalRun); - size_t index = pos - verticals.cbegin(); - size_t count = rangeEnd - pos; - sk_sp<SkTextBlob> textBlob = SkTextBlob::MakeFromRSXform( - glyphIds.data() + index, count * sizeof(SkGlyphID), glyphForms, - verticalRun ? verticalFont : font, SkTextEncoding::kGlyphID); + sk_sp<SkTextBlob> textBlob = SkTextBlob::MakeFromRSXformGlyphs( + glyphIds, glyphForms, verticalRun ? verticalFont : font); addUpdateRegion(textBlob->bounds()); SkPaint paint = makeTextPaint(textColor); getDrawCanvas()->drawTextBlob(textBlob, 0, 0, paint);
