From db319ad0d5fe778fd0f0a1455c671761540d1f61 Mon Sep 17 00:00:00 2001 From: "lixuefei.1313" Date: Mon, 19 Jan 2026 18:57:31 +0800 Subject: [PATCH 1/2] fix: fix issue of textMeasure --- .../vrender-kits/src/canvas/contributions/browser/context.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vrender-kits/src/canvas/contributions/browser/context.ts b/packages/vrender-kits/src/canvas/contributions/browser/context.ts index acfc8be43..87a134aec 100644 --- a/packages/vrender-kits/src/canvas/contributions/browser/context.ts +++ b/packages/vrender-kits/src/canvas/contributions/browser/context.ts @@ -237,6 +237,7 @@ export class BrowserContext2d implements IContext2d { this.reset(); } else { this.nativeContext.restore(); + this._font = ''; } } From 7f53b5d84fde3805463833e99a56b5d602d5f5b5 Mon Sep 17 00:00:00 2001 From: "lixuefei.1313" Date: Mon, 19 Jan 2026 18:59:16 +0800 Subject: [PATCH 2/2] docs: update changlog of rush --- ...fix-fix-issue-of-textMeasure_2026-01-19-10-59.json | 11 +++++++++++ ...fix-fix-issue-of-textMeasure_2026-01-19-10-59.json | 11 +++++++++++ ...fix-fix-issue-of-textMeasure_2026-01-19-10-59.json | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 common/changes/@visactor/vrender-animate/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json create mode 100644 common/changes/@visactor/vrender-components/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json create mode 100644 common/changes/@visactor/vrender-kits/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json diff --git a/common/changes/@visactor/vrender-animate/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json b/common/changes/@visactor/vrender-animate/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json new file mode 100644 index 000000000..00e4f88d0 --- /dev/null +++ b/common/changes/@visactor/vrender-animate/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: fix issue of textMeasure\n\n", + "type": "none", + "packageName": "@visactor/vrender-animate" + } + ], + "packageName": "@visactor/vrender-animate", + "email": "lixuef1313@163.com" +} \ No newline at end of file diff --git a/common/changes/@visactor/vrender-components/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json b/common/changes/@visactor/vrender-components/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json new file mode 100644 index 000000000..739e90a1a --- /dev/null +++ b/common/changes/@visactor/vrender-components/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: fix issue of textMeasure\n\n", + "type": "none", + "packageName": "@visactor/vrender-components" + } + ], + "packageName": "@visactor/vrender-components", + "email": "lixuef1313@163.com" +} \ No newline at end of file diff --git a/common/changes/@visactor/vrender-kits/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json b/common/changes/@visactor/vrender-kits/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json new file mode 100644 index 000000000..aef01cb80 --- /dev/null +++ b/common/changes/@visactor/vrender-kits/fix-fix-issue-of-textMeasure_2026-01-19-10-59.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: fix issue of textMeasure\n\n", + "type": "none", + "packageName": "@visactor/vrender-kits" + } + ], + "packageName": "@visactor/vrender-kits", + "email": "lixuef1313@163.com" +} \ No newline at end of file