From 7e84cf811f78d11525fc6009268a0e17876e6bbd Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 7 Feb 2025 13:23:01 +0000 Subject: [PATCH] [hvgl] Simplify transform --- src/hb-aat-var-hvgl-table.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hb-aat-var-hvgl-table.cc b/src/hb-aat-var-hvgl-table.cc index c655eae97..03cd2c84c 100644 --- a/src/hb-aat-var-hvgl-table.cc +++ b/src/hb-aat-var-hvgl-table.cc @@ -473,10 +473,7 @@ PartComposite::get_path_at (const struct hvgl &hvgl, for (const auto &subPart : subParts.as_array (subPartCount)) { - hb_transform_t total_transform (transforms_head); - hb_transform_t &transform = transforms_tail[subPart.treeTransformIndex]; - total_transform.transform (transform); - transform = total_transform; + transforms_tail[subPart.treeTransformIndex].transform (transforms_head, true); hvgl.get_part_path_at (subPart.partIndex, draw_session, coords_tail.sub_array (subPart.treeAxisIndex), transforms_tail.sub_array (subPart.treeTransformIndex),