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

Implement full text measuring system for all engines and platforms #1525

Open
Danielku15 opened this issue Jun 2, 2024 · 0 comments
Open
Assignees
Labels
area-rendering Everything related to the rendering platform-all Affects all platforms state-accepted This is a valid topic to work on. type-improvement 🚀

Comments

@Danielku15
Copy link
Member

The current text measurement is very inconsistent and results in incorrect sizes for SVG. In this work item we will:

  1. [All] Ensure we have a way of measuring text using a raster rendering engine when possible (proper textmetrics like canvas measureText for all platforms)
  2. [Web] Try to use OffScreenCanvas when possible.
  3. [Web] Build FontSize lookup (fallback) dynamically when needed.
@Danielku15 Danielku15 added type-improvement 🚀 area-rendering Everything related to the rendering state-accepted This is a valid topic to work on. platform-all Affects all platforms labels Jun 2, 2024
@Danielku15 Danielku15 self-assigned this Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-rendering Everything related to the rendering platform-all Affects all platforms state-accepted This is a valid topic to work on. type-improvement 🚀
Projects
None yet
Development

No branches or pull requests

1 participant