diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-04-05 00:37:22 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-04-05 00:37:22 +0000 |
commit | 2aad3c05f3936c3ecad6b2f67da83a44fcc2a06a (patch) | |
tree | 58d4f7d07d5a86d03b90523229a6c6ec2c6fd711 | |
parent | 7a8326e283d0fa2fd90e46904dc7cca82dab012e (diff) | |
download | rockbox-2aad3c05f3936c3ecad6b2f67da83a44fcc2a06a.tar.gz rockbox-2aad3c05f3936c3ecad6b2f67da83a44fcc2a06a.zip |
Player: Found two more Latin extended chars on the old LCD, and mapped them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13025 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd-charset-player.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/firmware/drivers/lcd-charset-player.c b/firmware/drivers/lcd-charset-player.c index db1cd04884..35520788a0 100644 --- a/firmware/drivers/lcd-charset-player.c +++ b/firmware/drivers/lcd-charset-player.c | |||
@@ -59,13 +59,14 @@ enum { | |||
59 | XF_yACUTE, XF_yDIERESIS, | 59 | XF_yACUTE, XF_yDIERESIS, |
60 | 60 | ||
61 | /* Latin extended A */ | 61 | /* Latin extended A */ |
62 | XF_aOGONEK, XF_cACUTE, XF_cCARON, XF_dCARON, | 62 | XF_aBREVE, XF_aOGONEK, XF_cACUTE, XF_cCARON, |
63 | XF_dSTROKE, XF_eOGONEK, XF_eCARON, XF_GBREVE, | 63 | XF_dCARON, XF_dSTROKE, XF_eOGONEK, XF_eCARON, |
64 | XF_gBREVE, XF_IDOT, XF_DOTLESSi, XF_lSTROKE, | 64 | XF_GBREVE, XF_gBREVE, XF_IDOT, XF_DOTLESSi, |
65 | XF_nACUTE, XF_nCARON, XF_ODBLACUTE, XF_oDBLACUTE, | 65 | XF_lSTROKE, XF_nACUTE, XF_nCARON, XF_ODBLACUTE, |
66 | XF_rCARON, XF_sACUTE, XF_SCEDILLA, XF_sCEDILLA, | 66 | XF_oDBLACUTE, XF_rCARON, XF_sACUTE, XF_SCEDILLA, |
67 | XF_sCARON, XF_tCARON, XF_uRING, XF_UDBLACUTE, | 67 | XF_sCEDILLA, XF_sCARON, XF_tCEDILLA, XF_tCARON, |
68 | XF_uDBLACUTE, XF_zACUTE, XF_zDOT, XF_zCARON, | 68 | XF_uRING, XF_UDBLACUTE, XF_uDBLACUTE, XF_zACUTE, |
69 | XF_zDOT, XF_zCARON, | ||
69 | #define XF_DSTROKE XF_ETH | 70 | #define XF_DSTROKE XF_ETH |
70 | 71 | ||
71 | /* Greek */ | 72 | /* Greek */ |
@@ -305,6 +306,7 @@ const struct xchar_info xchar_info_newlcd[] = { | |||
305 | { 0xff, XF_yDIERESIS, 1, 0x79 }, /* ÿ (y dieresis) */ | 306 | { 0xff, XF_yDIERESIS, 1, 0x79 }, /* ÿ (y dieresis) */ |
306 | 307 | ||
307 | /* Latin extended A */ | 308 | /* Latin extended A */ |
309 | { 0x0103, XF_aBREVE, 1, 0x61 }, /* a breve */ | ||
308 | { 0x0105, XF_aOGONEK, 1, 0x61 }, /* a ogonek */ | 310 | { 0x0105, XF_aOGONEK, 1, 0x61 }, /* a ogonek */ |
309 | { 0x0107, XF_cACUTE, 1, 0x63 }, /* c acute */ | 311 | { 0x0107, XF_cACUTE, 1, 0x63 }, /* c acute */ |
310 | { 0x010d, XF_cCARON, 1, 0x63 }, /* c caron */ | 312 | { 0x010d, XF_cCARON, 1, 0x63 }, /* c caron */ |
@@ -327,6 +329,7 @@ const struct xchar_info xchar_info_newlcd[] = { | |||
327 | { 0x015e, XF_SCEDILLA, 1, 0x53 }, /* S cedilla */ | 329 | { 0x015e, XF_SCEDILLA, 1, 0x53 }, /* S cedilla */ |
328 | { 0x015f, XF_sCEDILLA, 1, 0x73 }, /* s cedilla */ | 330 | { 0x015f, XF_sCEDILLA, 1, 0x73 }, /* s cedilla */ |
329 | { 0x0161, XF_sCARON, 1, 0x73 }, /* s caron */ | 331 | { 0x0161, XF_sCARON, 1, 0x73 }, /* s caron */ |
332 | { 0x0163, XF_tCEDILLA, 1, 0x74 }, /* t cedilla */ | ||
330 | { 0x0165, XF_tCARON, 1, 0x74 }, /* t caron */ | 333 | { 0x0165, XF_tCARON, 1, 0x74 }, /* t caron */ |
331 | { 0x016f, XF_uRING, 1, 0x75 }, /* u with ring above */ | 334 | { 0x016f, XF_uRING, 1, 0x75 }, /* u with ring above */ |
332 | { 0x0170, XF_UDBLACUTE, 1, 0x55 }, /* U double acute */ | 335 | { 0x0170, XF_UDBLACUTE, 1, 0x55 }, /* U double acute */ |
@@ -805,6 +808,7 @@ const struct xchar_info xchar_info_oldlcd[] = { | |||
805 | { 0xff, XF_yDIERESIS, 1, 0x7d }, /* ÿ (y dieresis) */ | 808 | { 0xff, XF_yDIERESIS, 1, 0x7d }, /* ÿ (y dieresis) */ |
806 | 809 | ||
807 | /* Latin extended A */ | 810 | /* Latin extended A */ |
811 | { 0x0103, 0, 0, 0xe9 }, /* a breve */ | ||
808 | { 0x0105, 0, 0, 0xb3 }, /* a ogonek */ | 812 | { 0x0105, 0, 0, 0xb3 }, /* a ogonek */ |
809 | { 0x0107, 0, 0, 0xb1 }, /* c acute */ | 813 | { 0x0107, 0, 0, 0xb1 }, /* c acute */ |
810 | { 0x010d, 0, 0, 0xab }, /* c caron */ | 814 | { 0x010d, 0, 0, 0xab }, /* c caron */ |
@@ -827,6 +831,7 @@ const struct xchar_info xchar_info_oldlcd[] = { | |||
827 | { 0x015e, 0, 0, 0xc3 }, /* S cedilla */ | 831 | { 0x015e, 0, 0, 0xc3 }, /* S cedilla */ |
828 | { 0x015f, 0, 0, 0xc4 }, /* s cedilla */ | 832 | { 0x015f, 0, 0, 0xc4 }, /* s cedilla */ |
829 | { 0x0161, 0, 0, 0xac }, /* s caron */ | 833 | { 0x0161, 0, 0, 0xac }, /* s caron */ |
834 | { 0x0163, 0, 0, 0xd9 }, /* t cedilla */ | ||
830 | { 0x0165, 0, 0, 0xbb }, /* t caron */ | 835 | { 0x0165, 0, 0, 0xbb }, /* t caron */ |
831 | { 0x016f, 0, 0, 0xae }, /* u with ring above */ | 836 | { 0x016f, 0, 0, 0xae }, /* u with ring above */ |
832 | { 0x0170, 0, 0, 0xc7 }, /* U double acute */ | 837 | { 0x0170, 0, 0, 0xc7 }, /* U double acute */ |
@@ -1142,6 +1147,7 @@ const unsigned char xfont_fixed[][HW_PATTERN_SIZE] = { | |||
1142 | [XF_yACUTE] = { 0x02, 0x04, 0x11, 0x11, 0x0f, 0x01, 0x0e}, /* ý */ | 1147 | [XF_yACUTE] = { 0x02, 0x04, 0x11, 0x11, 0x0f, 0x01, 0x0e}, /* ý */ |
1143 | [XF_yDIERESIS] = { 0x0a, 0x00, 0x11, 0x11, 0x0f, 0x01, 0x0e}, /* ÿ */ | 1148 | [XF_yDIERESIS] = { 0x0a, 0x00, 0x11, 0x11, 0x0f, 0x01, 0x0e}, /* ÿ */ |
1144 | /* Latin extended A */ | 1149 | /* Latin extended A */ |
1150 | [XF_aBREVE] = { 0x09, 0x06, 0x0e, 0x01, 0x0f, 0x11, 0x0f}, | ||
1145 | [XF_aOGONEK] = { 0x0e, 0x01, 0x0f, 0x11, 0x0f, 0x02, 0x03}, | 1151 | [XF_aOGONEK] = { 0x0e, 0x01, 0x0f, 0x11, 0x0f, 0x02, 0x03}, |
1146 | [XF_cACUTE] = { 0x02, 0x04, 0x0f, 0x10, 0x10, 0x10, 0x0f}, | 1152 | [XF_cACUTE] = { 0x02, 0x04, 0x0f, 0x10, 0x10, 0x10, 0x0f}, |
1147 | [XF_cCARON] = { 0x0a, 0x04, 0x0f, 0x10, 0x10, 0x10, 0x0f}, | 1153 | [XF_cCARON] = { 0x0a, 0x04, 0x0f, 0x10, 0x10, 0x10, 0x0f}, |
@@ -1163,6 +1169,7 @@ const unsigned char xfont_fixed[][HW_PATTERN_SIZE] = { | |||
1163 | [XF_SCEDILLA] = { 0x0e, 0x10, 0x0e, 0x01, 0x0e, 0x04, 0x0c}, | 1169 | [XF_SCEDILLA] = { 0x0e, 0x10, 0x0e, 0x01, 0x0e, 0x04, 0x0c}, |
1164 | [XF_sCEDILLA] = { 0x00, 0x0e, 0x10, 0x0e, 0x01, 0x0e, 0x04}, | 1170 | [XF_sCEDILLA] = { 0x00, 0x0e, 0x10, 0x0e, 0x01, 0x0e, 0x04}, |
1165 | [XF_sCARON] = { 0x0a, 0x04, 0x0e, 0x10, 0x0e, 0x01, 0x1e}, | 1171 | [XF_sCARON] = { 0x0a, 0x04, 0x0e, 0x10, 0x0e, 0x01, 0x1e}, |
1172 | [XF_tCEDILLA] = { 0x04, 0x0f, 0x04, 0x04, 0x04, 0x03, 0x06}, | ||
1166 | [XF_tCARON] = { 0x09, 0x09, 0x08, 0x1e, 0x08, 0x08, 0x06}, | 1173 | [XF_tCARON] = { 0x09, 0x09, 0x08, 0x1e, 0x08, 0x08, 0x06}, |
1167 | [XF_uRING] = { 0x04, 0x0a, 0x04, 0x11, 0x11, 0x13, 0x0d}, | 1174 | [XF_uRING] = { 0x04, 0x0a, 0x04, 0x11, 0x11, 0x13, 0x0d}, |
1168 | [XF_UDBLACUTE] = { 0x05, 0x0a, 0x11, 0x11, 0x11, 0x11, 0x0e}, | 1175 | [XF_UDBLACUTE] = { 0x05, 0x0a, 0x11, 0x11, 0x11, 0x11, 0x0e}, |