Fix custom fit with fallback to font measurement

The renderer.getMetrics() may not be accessible since it's private.
Added fallback to measure cell size using a test span element with
the configured font family and size.
This commit is contained in:
GitHub Copilot
2026-01-28 07:39:35 +00:00
parent b90be26952
commit e05c1cd1b4
2 changed files with 57 additions and 15 deletions
File diff suppressed because one or more lines are too long