Skip to content

Conversation

@pushfoo
Copy link
Member

@pushfoo pushfoo commented Jul 8, 2024

TL;DR: Use width: int | None = None to follow upstream + tests

This is separates changes out from #2183 since that'll take a while to merge.

Changes

  • Use None as the default width it Text and draw_text
  • Update exceptions to cover this (s/width == 0/not width/)
  • Add missing tests for None handling

@pushfoo pushfoo merged commit 9a46297 into development Jul 8, 2024
@pushfoo pushfoo deleted the font-fixes-separate-from-2.1dev3 branch July 8, 2024 16:05
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.

2 participants