Skip to content

Issue 4902: Fix linewidth of stroked text.#4937

Merged
robinwatts merged 1 commit intomainfrom
fixsubst
Mar 12, 2026
Merged

Issue 4902: Fix linewidth of stroked text.#4937
robinwatts merged 1 commit intomainfrom
fixsubst

Conversation

@robinwatts
Copy link
Collaborator

This relies on an upstream fix from MuPDF that will be in the 1.28.0 release, but is not in 1.27.2.

Copy link
Collaborator

@julian-smith-artifex-com julian-smith-artifex-com left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Formatting things:

  • Please remove tab chars.
  • Use {...} even for single-line blocks.
  • Use 4-char indentation.

This relies on an upstream fix from MuPDF that will be in the
1.28.0 release, but is not in 1.27.2.

There is a subtle change here; we now return linewidth as None
for filled spans, rather than a bogus value.
@robinwatts robinwatts merged commit 2f362bd into main Mar 12, 2026
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
@robinwatts robinwatts deleted the fixsubst branch March 12, 2026 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants