Skip to content

feat: add TextLayoutMeasurer for measuring text line count and height#1400

Open
T5ive wants to merge 1 commit intoQuestPDF:mainfrom
T5ive:feat/text-layout-measurer
Open

feat: add TextLayoutMeasurer for measuring text line count and height#1400
T5ive wants to merge 1 commit intoQuestPDF:mainfrom
T5ive:feat/text-layout-measurer

Conversation

@T5ive
Copy link
Copy Markdown

@T5ive T5ive commented Feb 14, 2026

  • Expose TextBlock.LineMetrics for external text layout measurement
  • Introduce TextLayoutMeasurer to calculate line count and total height based on width and padding
  • Add unit tests to validate text wrapping and measurement behavior
  • Add companion runner document to manually verify text layout metrics

- Expose TextBlock.LineMetrics for external text layout measurement
- Introduce TextLayoutMeasurer to calculate line count and total height based on width and padding
- Add unit tests to validate text wrapping and measurement behavior
- Add companion runner document to manually verify text layout metrics
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

Successfully merging this pull request may close these issues.

1 participant