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 #443

Merged
merged 28 commits into from
Apr 26, 2020
Merged

Text #443

merged 28 commits into from
Apr 26, 2020

Conversation

AstraLuma
Copy link
Member

@AstraLuma AstraLuma commented Apr 21, 2020

Implements basic text rending. No wrapping or rich text supported.

Depends on #432, #436

Closes #146

@AstraLuma
Copy link
Member Author

AstraLuma commented Apr 21, 2020

Ok, basic text rendering is done. Things not implemented:

  • render-time bold/italitc/underline/strikethrough (will do bold/italic if you're using a bold/italic font face)
  • outline rendering
  • hinting/kerning settings [Ed: I'm not convinced there's good reasons to disable hinting/kerning]

Note that this is the list of features provided by SDL_ttf, not the list of features we should have.

@AstraLuma AstraLuma marked this pull request as ready for review April 21, 2020 18:23
@AstraLuma AstraLuma requested a review from a team as a code owner April 21, 2020 18:23
Copy link
Collaborator

@pathunstrom pathunstrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I have thoughts regarding system font support, but doesn't need to hold this up.

bors r+

bors bot added a commit that referenced this pull request Apr 26, 2020
443: Text r=pathunstrom a=astronouth7303

Implements basic text rending. No wrapping or rich text supported.

Depends on #432, #436 

Closes #146 

Co-authored-by: Jamie Bliss <jamie@ivyleav.es>
@bors
Copy link
Contributor

bors bot commented Apr 26, 2020

Build failed:

@pathunstrom
Copy link
Collaborator

bors retry

@bors bors bot merged commit 92a2a20 into ppb:master Apr 26, 2020
@AstraLuma AstraLuma deleted the text branch May 11, 2020 23:08
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.

Text Sprites
2 participants