Skip to content
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

Fonts package referenced in sample projects is outdated #20

Closed
enriko-riba opened this issue Aug 12, 2023 · 4 comments
Closed

Fonts package referenced in sample projects is outdated #20

enriko-riba opened this issue Aug 12, 2023 · 4 comments

Comments

@enriko-riba
Copy link

enriko-riba commented Aug 12, 2023

The projects are still referencing beta 19 of Fonts packages.
Further issue is that upgrading to Fonts v1.0.0. breaks some samples e.g.
Method not found: 'Void SixLabors.Fonts.IGlyphRenderer.BeginText(SixLabors.Fonts.FontRectangle)'. in DrawingTextAlongAPath

@JimBobSquarePants
Copy link
Member

Feel free to open a PR to update them

@enriko-riba
Copy link
Author

Updating is easy, the real issue are breaking changes causing exceptions

@JimBobSquarePants
Copy link
Member

Gimme a week. I’ll get Drawing V1 done

@enriko-riba
Copy link
Author

@JimBobSquarePants seems its working with Drawing 1.0.0-beta15.14 + minor breaking change fixes like TextMeasurer.Measure -> TextMeasurer.MeasureAdvance and TextOptions -> RichTextOptions.
Although technically not needed I had to upgrade .NET framework to 7.0.

Wanted to create a PR with fixes but have no permissions to push new branches into the repo.

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

No branches or pull requests

2 participants