feat: LaTeX math (CSharpMath.Avalonia) - #53
Draft
Kryptos-FR wants to merge 1 commit into
Draft
Kryptos-FR wants to merge 1 commit into
Kryptos-FR wants to merge 1 commit into
Conversation
Replaces CSharpMath.SkiaSharp's bitmap rasterization with CSharpMath.Avalonia's native MathView control (vector draw, bindable TextColor), dropping the manual bitmap-rebuild-on-theme-change dance in favor of a plain property set.
Kryptos-FR
force-pushed
the
refactor/csharpmath-avalonia
branch
from
August 22, 2026 18:35
c802233 to
59f5b72
Compare
Contributor
SummarySummary
CoverageMarkView.Avalonia - 84.1%
MarkView.Avalonia.Math - 97.5%
MarkView.Avalonia.Mermaid - 47.8%
MarkView.Avalonia.Svg - 69.5%
MarkView.Avalonia.SyntaxHighlighting - 95.6%
|
Contributor
Mutation Testing SummarySummary
Mutation scoreMarkView.Avalonia - 77.06%
MarkView.Avalonia.Math - 45.90%
MarkView.Avalonia.Mermaid - 15.95%
MarkView.Avalonia.Svg - 72.97%
MarkView.Avalonia.SyntaxHighlighting - 62.34%
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Following #51, replace
CSharpMath.SkiaSharpwithCSharpMath.Avalonia(see verybadcat/CSharpMath#259).Warning
Prerelease dependency: this PR currently pins
CSharpMath.Avaloniato a1.0.0-pre.2prerelease build, since it's the version CSharpMath explicitly targets Avalonia 12/.NET 10 with.This branch/package must not be merged or released until CSharpMath ships a stable 1.0.0 — re-pin the version at that point.
Type of change
Test plan
dotnet test— all tests pass