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

Make two DrawText methods obsolete because of #3122 #3165

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pauldendulk
Copy link

Description of Change

Made two DrawText methods obsolete that use the obsolete SKPaint.TextAlign, which caused a text to disappeared after drawing the same text multiple times. Two other DrawText methods were already obsolete, seemingly also because of the obsolete SKPaint.TextAlign.

Bugs Fixed

API Changes

Users will get a warning (or error if WarningAsError is true) when calling these methods.

Made obsolete:

  • public void DrawText (string text, SKPoint p, SKFont font, SKPaint paint)
  • public void DrawText (string text, SKPoint p, SKTextAlign textAlign, SKFont font, SKPaint paint)

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

Perhaps documentation needs to be updated, not sure what or how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

[BUG] x86 fonts are corrupted
1 participant