M5Stack

日本語表示

  • M5Stackで好きなフォントを使う – Watako-Lab.
  • Unicode 内のそれぞれの文字種の範囲 - みちのぶのねぐら 工作室 旧館
    • 上記を参考にunicodeBlocks内の下記のコメントを外す
      0x0021, 0x007E, //Basic Latin, 128, 128, Latin (52 characters), Common (76 characters)
      0x0080, 0x00FF, //Latin-1 Supplement, 128, 128, Latin (64 characters), Common (64 characters)
      0x0370, 0x03FF, //Greek and Coptic, 144, 135, Coptic (14 characters), Greek (117 characters), Common (4 characters)
      0x0400, 0x04FF, //Cyrillic, 256, 256, Cyrillic (254 characters), Inherited (2 characters)
      0x2100, 0x214F, //Letterlike Symbols, 80, 80, Greek (1 character), Latin (4 characters), Common (75 characters)
      0x2150, 0x218F, //Number Forms, 64, 60, Latin (41 characters), Common (19 characters)
      0x2190, 0x21FF, //Arrows, 112, 112, Common
      0x2200, 0x22FF, //Mathematical Operators, 256, 256, Common
      0x2300, 0x23FF, //Miscellaneous Technical, 256, 256, Common
      0x2500, 0x257F, //Box Drawing, 128, 128, Common
      0x25A0, 0x25FF, //Geometric Shapes, 96, 96, Common
      0x2600, 0x26FF, //Miscellaneous Symbols, 256, 256, Common
      0x3040, 0x309F, //Hiragana, 96, 93, Hiragana (89 characters), Common (2 characters), Inherited (2 characters)
      0x30A0, 0x30FF, //Katakana, 96, 96, Katakana (93 characters), Common (3 characters)
      0x4E00, 0x9FFF, //CJK Unified Ideographs, 20,992, 20,971, Han
      0xFF00, 0xFFEF, //Halfwidth and Fullwidth Forms, 240, 225, Hangul (52 characters), Katakana (55 characters), Latin (52 characters), Common (66 characters)
    • 下記2つは抜いておかないとなぜか1行分行間が空く
      0x2000, 0x206F, //General Punctuation, 112, 111, Common (109 characters), Inherited (2 characters)
      0x3000, 0x303F, //CJK Symbols and Punctuation, 64, 64, Han (15 characters), Hangul (2 characters), Common (43 characters), Inherited (4 characters)
  • TFT_eSPI
    • User_Setup_Select.hを編集
      //#include <User_Setup.h>           // Default setup is root library folder
      #include <User_Setups/Setup12_M5Stack.h>           // Setup file for the ESP32 based M5Stack
  • サンプルのDrawJpegで画像が表示されない
    • GIMPで作成してエクスポートしたJPEGファイルがプログレッシブになってたのがダメっぽい
Last edited by Anonymous, 2019-02-06 23:52:01