Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Character is incomplete #4

@TimonPeng

Description

@TimonPeng

JSON file:

{
    "0x0020-0x007F": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x4e16-0x4e16": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x7edf-0x7edf": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x8bbe-0x8bbe": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x56de-0x56de": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x597d-0x597d": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x4f60-0x4f60": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x53e3-0x53e3": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x7f6e-0x7f6e": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x7cfb-0x7cfb": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0],
    "0x754c-0x754c": ["0;-24;0;0;0;400;0;0;0;0;3;2;1;2;\u5b8b\u4f53", -1, 0]
}

demo:

#include <M5Stack.h>
#include "ST_24px.h"

void setup()
{
  M5.begin();

  M5.Lcd.setTextColor(TFT_WHITE);
  M5.Lcd.setFreeFont(&ST_24px);

  M5.Lcd.setTextDatum(TC_DATUM);

  M5.Lcd.fillScreen(0);
  M5.Lcd.setCursor(0, 30);
  M5.Lcd.printf("你好世界系统设置回口.AgjihvtTy:");
}

void loop()
{
}

You can see that the characters are incomplete:

  • h
  • .(dot)

and if you use this font file in m5ez, some characters cannot be displayed:

  • .(dot)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions