-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.4.0 Avalonia Update has been released! #112
Comments
Hi thanks for the update I update my Xamarin Forms Solution to 0.4.0.
|
try deleting bin/obj folders and rebuilding? |
tried it still not working also cleared nuget cache |
When I reset to 0.3.0 it works for me I don't know if the issue is from my solution or the update |
I can investigate if you send me your solution. |
Sure check it https://we.tl/t-QoEgR1xKQL |
Figured it out. Somehow CSharpMath.Forms 0.4.0 had a dependency on CSharpMath.SkiaSharp 0.4.0-beta instead of 0.4.0. |
Any suggestions to fix this? So the bug isn't from my solution? |
Pushed a 0.4.0.1. |
Or you can explicitly specify a dependency on CSharpMath.SkiaSharp 0.4.0. |
I guess I have to add a test for loading and using the latest NuGet. |
@Happypig375 has there been a change to mathPainter.Draw or to the definition of .Measure? All the mathPainter positioning is out of place now. I will need to work out what the current definition is, and how to fix all usages of Draw, if the new API is stable. I suspect the new one is incorrect though. |
It's looking like a change in the definition of Measure. I remember there were problems with the vertical coordinates of the measure in early releases. We have the following code to adjust y positioning based on whether you want the lining to be at y or the center or the top. Only YTextAlign.Line works now which suggests a bug with measure. let yCoordinateToDrawTo =
y +
match yAlign with
| YTextAlign.Line -> 0.f // works
| YTextAlign.Center -> -0.5f * (measure.Top + measure.Bottom) // fails
| YTextAlign.Top -> - measure.Top // fails |
The behavior of CSharpMath/CSharpMath.Rendering.Tests/TestMeasure.cs Lines 40 to 58 in 6678311
|
Edit: sorry when you said has been fixed you meant you just fixed it. Testing now! |
Fix works. Thanks! |
Have been noticing missing text related to starting TeX with Just |
Superseded by #190. |
With the co[DEMONETIZED]us🦠 shutting down schools, I have had more time to work on CSharpMath lol 🚀
New additions
CSharpMath/CSharpMath/Atom/LaTeXSettings.cs
Lines 588 to 818 in de1458a
\colorbox
es!CSharpMath/CSharpMath.Forms.Example/CSharpMath.Forms.Example/Controls/MathKeyboard.xaml
Lines 159 to 161 in 824d0df
What's next?
Since the exams, although delayed, are still coming up, I will need to temporarily leave once again. However, there are already a bunch of planned items for the next update once I come back. Stay tuned!
Leftovers from 0.2.0 checklist (see #104)
\middle
Stay safe🦺, 💪stay healthy🧼 and 🥚🐇Happy Easter🐣🐰!
Supersedes #104.
The text was updated successfully, but these errors were encountered: