Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化 RTL 时,控件文本渲染的逻辑 #477

Closed
HerbertHe opened this issue Mar 18, 2024 · 2 comments
Closed

优化 RTL 时,控件文本渲染的逻辑 #477

HerbertHe opened this issue Mar 18, 2024 · 2 comments

Comments

@HerbertHe
Copy link
Contributor

version

0.9.69

Link to minimal reproduction

No response

Steps to reproduce

#468 中提到进行二次排序,批量计算实际坐标的问题,但在控件的文本分割上存在问题。在默认 LTR 的绘制实现上,通过 textSpacing 的时机和 checkbox 渲染前时机进行触发,二次混排之后采用按行渲染的方式进行触发。存在需要对控件内文本进行特殊化 id 计算的方式以解决 checkbox 等不同组件的绘制,但控件内不同组件及文本绘制应该做实质区分。

image

针对于富文本样式渲染的问题,已经实现格式文本下的正常绘制渲染:

image

控件的渲染问题是个独立的问题。其他依赖 range 进行事件绘制,在 #472 问题中进行重新实现

What is expected?

将控件内不同的元素组合进行重新标记,以实现文本的正确分割

What is actually happening?

文本分割粘连

System Info

No response

Any additional comments?

No response

@HerbertHe
Copy link
Contributor Author

计划通过 type='control'valueSets 进行试验性实现

@Hufe921
Copy link
Owner

Hufe921 commented Apr 1, 2024

#428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants