Skip to content

draw_text8x8: Fix off-by-one#8

Open
fearnoeval wants to merge 1 commit intordagger:masterfrom
fearnoeval:draw_text8x8-off_by_one
Open

draw_text8x8: Fix off-by-one#8
fearnoeval wants to merge 1 commit intordagger:masterfrom
fearnoeval:draw_text8x8-off_by_one

Conversation

@fearnoeval
Copy link

Steps to reproduce

display.draw_text8x8(15 * 8, 0, "A")
display.draw_text8x8(0, 7 * 8, "A")

# x-coordinate: 128 above maximum of 127.
# y-coordinate: 64 above maximum of 63.

Rationale

  • Coordinates (120, 0) or (0, 56) are within range for 8x8 text

Other

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