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

Text rendering #7

Merged
merged 96 commits into from
Nov 24, 2024
Merged

Text rendering #7

merged 96 commits into from
Nov 24, 2024

Conversation

nieznanysprawiciel
Copy link
Owner

@nieznanysprawiciel nieznanysprawiciel commented Oct 26, 2024

Changes:

  • FontAsset and loading Fonts usign FreeType library
  • Rendering text atlas
  • Picking fonts based on font family, style and weight (not only by font path)
  • Arranging text
    • Left, right, center, justification
    • Breaking lines within bounding box
  • TextBlock control for displaying simple text (no input, only presenting) with background
  • Drawing primitives TextGeometry, TextDrawing
  • Rendering text with different brushes (solid color, gradients, texture)
    • Updating Brush interface to be resused across many controls
  • TextBlock dependancy properties for bindings
  • Helpers: Image class for handling 2d arrays
  • Helpers: UpdateCounter and UpdateTracker for tracking resource updates
  • Resize buffer functionality

@nieznanysprawiciel nieznanysprawiciel marked this pull request as ready for review November 23, 2024 18:09
@nieznanysprawiciel nieznanysprawiciel merged commit 9f30285 into master Nov 24, 2024
7 checks passed
@nieznanysprawiciel nieznanysprawiciel deleted the text-rendering branch November 24, 2024 12:21
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