Skip to content

Users/pgo/dotnet10 pdfsharp - #17

Merged
pgourlain merged 9 commits into
mainfrom
users/pgo/dotnet10-pdfsharp
Sep 20, 2026
Merged

pgourlain merged 9 commits into
mainfrom
users/pgo/dotnet10-pdfsharp

Conversation

@pgourlain

Copy link
Copy Markdown
Owner

No description provided.

pgourlain and others added 9 commits September 18, 2026 13:41
CalculateTextSize's own wrap-height computation can go negative when
the resolved font's metrics are degenerate (no Arial on Linux CI, no
cross-platform font resolver registered). Width was already clamped;
this wraps the two call sites and falls back to the unwrapped
MeasureString, which does not hit that code path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@pgourlain
pgourlain merged commit 8e38c29 into main Sep 20, 2026
1 check passed
@pgourlain
pgourlain deleted the users/pgo/dotnet10-pdfsharp branch September 20, 2026 08:35
pgourlain added a commit that referenced this pull request Sep 20, 2026
Main's 1.0.6 work (dotnet10 migration, 90% coverage enforcement,
source-generator validation, modulo operator) is reimplemented on this
branch on top of TerraPDF. Its commits stay in history but its tree is
not carried forward, so this merge keeps the branch tree as-is.

Verified before merging: every test method added by #17 has an
equivalent here, and PdfSharpDsl.Language carries the Mod operator and
grammar changes. Files dropped on purpose: tasks.md, MyFontResolver.cs
(PdfSharpCore-specific), CSharpDrawer.cs (superseded by CSharpVisitor),
pdf1-table-merged.txt (replaced by inline DSL in VisitorTests).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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