Skip to content

The 2.3.4 version introduced numerous bugs to text drawing #2

@lobodpav

Description

@lobodpav

In my app, I use custom characters, one of them being °C. This code adds it:

oled.addChar(oled.charImage(`
    #  #  #  .  .  .  .  .
    #  .  #  .  .  .  .  .
    #  #  #  .  #  #  #  .
    .  .  .  #  .  .  .  #
    .  .  .  #  .  .  .  .
    .  .  .  #  .  .  .  .
    .  .  .  #  .  .  .  #
    .  .  .  .  #  #  #  .
`), degreeCelsius)

In the attached pictures, I've taken macro photos and left the battery symbol in place for visual reference.

In v2.3.3, this is how my temperature reading was rendered this way:

Image

In v2.3.4 though:

  1. The letters are squeezed together like the width of the custom characters would be 8px no more
  2. The custom character is shifted 1px up
  3. The custom character misses the first column

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions