Add support JIS X 0201.
Fork of GT20L16J1Y_font by
Diff: GT20L16J1Y_font.h
- Revision:
- 3:48c4a173bdab
- Parent:
- 2:aed20a7685b9
--- a/GT20L16J1Y_font.h Thu Sep 04 06:54:40 2014 +0000
+++ b/GT20L16J1Y_font.h Sun Sep 21 08:04:40 2014 +0000
@@ -17,8 +17,9 @@
/** Read font data from SJIS code
*
* @param code Japanese Kanji font code (Shift JIS code)
+ * @return font width (8 or 16)
*/
- void read(unsigned short code);
+ int read(unsigned short code);
/** Read font data from Ku-Ten code
*
@@ -27,6 +28,12 @@
*/
int read_kuten(unsigned short code);
+ /** Read font data from ROM address
+ *
+ * @param address Japanese Kanji font ROM Address
+ */
+ void read_direct(unsigned long address);
+
unsigned char bitmap[32];
private:
ban4jp -
