antvis / antvis/G6

[Bug]:设置文字旋转后 导出图片与画布中展示的内容有差别

Open
#7,474 2 comments 0 reactions 0 assignees View on GitHub
bug 🐛
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

设置文字旋转后 导出图片 与画布中展示的内容有差别
Image

### Reproduction link / 复现链接

https://stackblitz.com/edit/react-t3n45kc7?file=index.js

### Steps to Reproduce the Bug or Issue / 重现步骤

_No response_

### Version / 版本

🆕 5.x

### OS / 操作系统

- [x] macOS
- [ ] Windows
- [ ] Linux
- [ ] Others / 其他

### Browser / 浏览器

- [x] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the React reproduction at StackBlitz, using index.js to reproduce the rotated-text discrepancy between the canvas and exported image. Trace the TypeScript rendering and image-export entry points involved, then verify that exported rotated text matches the canvas presentation in the reproduction case.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.