1 //////////////////////////////////////////////////////////////////////////
2 // This file contains a HD44780 font and a font for big numbers. //
3 // The HD44780 font in this file was shamelessly stolen from //
4 // Michael Reinelt / lcd4linux and is //
5 // Copyright 1999, 2000 by Michael Reinelt (reinelt@eunet.at) //
6 // The rest of this file is //
8 // (C) 2001 Robin Adams ( robin@adams-online.de ) //
10 // This file is released under the GPL. See file COPYING in this //
11 // package for further details. //
12 //////////////////////////////////////////////////////////////////////////
49 unsigned char fontmap
[256][8] = {
837 //FIXME: make big chars use less memory
839 char *fontbignum
[10][24] = {
841 "++++++++++++++++++",
842 "++++++++++++++++++",
843 "++++++++++++++++++",
844 "++++++++....++++++",
845 "++++++........++++",
846 "+++++..........+++",
847 "+++++....++....+++",
848 "+++++...++++...+++",
849 "++++....++++....++",
850 "++++....++++....++",
851 "++++....++++....++",
852 "++++....++++....++",
853 "++++....++++....++",
854 "++++....++++....++",
855 "++++....++++....++",
856 "++++....++++....++",
857 "++++....++++....++",
858 "+++++...++++...+++",
859 "+++++....++....+++",
860 "+++++..........+++",
861 "++++++........++++",
862 "++++++++....++++++",
863 "++++++++++++++++++",
864 "++++++++++++++++++"},
866 "++++++++++++++++++",
867 "++++++++++++++++++",
868 "++++++++++++++++++",
869 "+++++++++++++...++",
870 "++++++++++++....++",
871 "+++++++++++.....++",
872 "++++++++++......++",
873 "++++++++........++",
874 "+++++++.........++",
875 "+++++++....+....++",
876 "+++++++...++....++",
877 "+++++++.++++....++",
878 "++++++++++++....++",
879 "++++++++++++....++",
880 "++++++++++++....++",
881 "++++++++++++....++",
882 "++++++++++++....++",
883 "++++++++++++....++",
884 "++++++++++++....++",
885 "++++++++++++....++",
886 "++++++++++++....++",
887 "++++++++++++....++",
888 "++++++++++++++++++",
889 "++++++++++++++++++"},
891 "++++++++++++++++++",
892 "++++++++++++++++++",
893 "++++++++++++++++++",
894 "++++++++.....+++++",
895 "++++++.........+++",
896 "+++++..........+++",
897 "+++++....+++....++",
898 "+++++...++++....++",
899 "++++++..++++....++",
900 "++++++++++++....++",
901 "++++++++++++....++",
902 "+++++++++++....+++",
903 "++++++++++....++++",
904 "+++++++++.....++++",
905 "++++++++.....+++++",
906 "+++++++....+++++++",
907 "++++++....++++++++",
908 "++++++....++++++++",
909 "+++++...........++",
910 "+++++...........++",
911 "+++++...........++",
912 "+++++...........++",
913 "++++++++++++++++++",
914 "++++++++++++++++++"},
916 "++++++++++++++++++",
917 "++++++++++++++++++",
918 "++++++++++++++++++",
919 "+++++++.....++++++",
920 "+++++.........++++",
921 "+++++.........++++",
922 "++++....+++....+++",
923 "++++....+++....+++",
924 "+++++++++++....+++",
925 "++++++++++....++++",
926 "+++++++++.....++++",
927 "+++++++++...++++++",
928 "+++++++++.....++++",
929 "+++++++++++....+++",
930 "++++++++++++....++",
931 "++++++++++++....++",
932 "++++....++++....++",
933 "++++....++++....++",
934 "+++++....++....+++",
935 "+++++..........+++",
936 "++++++........++++",
937 "+++++++.....++++++",
938 "++++++++++++++++++",
939 "++++++++++++++++++"},
941 "++++++++++++++++++",
942 "++++++++++++++++++",
943 "++++++++++++++++++",
944 "++++++++++....++++",
945 "++++++++++....++++",
946 "+++++++++.....++++",
947 "++++++++......++++",
948 "++++++++......++++",
949 "+++++++.......++++",
950 "++++++........++++",
951 "++++++...+....++++",
952 "+++++...++....++++",
953 "+++++...++....++++",
954 "++++...+++....++++",
955 "+++...++++....++++",
956 "+++.............++",
957 "+++.............++",
958 "+++.............++",
959 "++++++++++....++++",
960 "++++++++++....++++",
961 "++++++++++....++++",
962 "++++++++++....++++",
963 "++++++++++++++++++",
964 "++++++++++++++++++"},
966 "++++++++++++++++++",
967 "++++++++++++++++++",
968 "++++++++++++++++++",
969 "++++++.........+++",
970 "++++++.........+++",
971 "+++++..........+++",
972 "+++++....+++++++++",
973 "+++++....+++++++++",
974 "+++++...++++++++++",
975 "+++++...+....+++++",
976 "++++..........++++",
977 "++++...........+++",
978 "++++....+++.....++",
979 "++++++++++++....++",
980 "++++++++++++....++",
981 "++++++++++++....++",
982 "++++....++++....++",
983 "++++....++++....++",
984 "+++++....++....+++",
985 "+++++..........+++",
986 "++++++........++++",
987 "+++++++.....++++++",
988 "++++++++++++++++++",
989 "++++++++++++++++++"},
991 "++++++++++++++++++",
992 "++++++++++++++++++",
993 "++++++++++++++++++",
994 "++++++++.....+++++",
995 "+++++++........+++",
996 "++++++.........+++",
997 "+++++....++.....++",
998 "+++++...++++....++",
999 "++++....++++++++++",
1000 "++++....++++++++++",
1001 "++++....+....+++++",
1002 "++++..........++++",
1003 "++++...........+++",
1004 "++++.....++.....++",
1005 "++++....++++....++",
1006 "++++....++++....++",
1007 "++++....++++....++",
1008 "+++++...++++....++",
1009 "+++++....++.....++",
1010 "++++++.........+++",
1011 "++++++........++++",
1012 "++++++++.....+++++",
1013 "++++++++++++++++++",
1014 "++++++++++++++++++"},
1016 "++++++++++++++++++",
1017 "++++++++++++++++++",
1018 "++++++++++++++++++",
1019 "++++............++",
1020 "++++............++",
1021 "++++............++",
1022 "++++++++++++....++",
1023 "+++++++++++....+++",
1024 "++++++++++....++++",
1025 "++++++++++....++++",
1026 "+++++++++....+++++",
1027 "+++++++++...++++++",
1028 "++++++++....++++++",
1029 "++++++++....++++++",
1030 "+++++++....+++++++",
1031 "+++++++....+++++++",
1032 "+++++++....+++++++",
1033 "+++++++...++++++++",
1034 "++++++....++++++++",
1035 "++++++....++++++++",
1036 "++++++....++++++++",
1037 "++++++....++++++++",
1038 "++++++++++++++++++",
1039 "++++++++++++++++++"},
1041 "++++++++++++++++++",
1042 "++++++++++++++++++",
1043 "++++++++++++++++++",
1044 "+++++++......+++++",
1045 "+++++..........+++",
1046 "+++++....++....+++",
1047 "++++....++++....++",
1048 "++++....++++....++",
1049 "++++....++++....++",
1050 "++++....++++....++",
1051 "+++++....++....+++",
1052 "++++++........++++",
1053 "++++++........++++",
1054 "+++++....++....+++",
1055 "++++....++++....++",
1056 "++++....++++....++",
1057 "++++....++++....++",
1058 "++++....++++....++",
1059 "++++....++++....++",
1060 "+++++....++....+++",
1061 "+++++..........+++",
1062 "+++++++......+++++",
1063 "++++++++++++++++++",
1064 "++++++++++++++++++"},
1066 "++++++++++++++++++",
1067 "++++++++++++++++++",
1068 "++++++++++++++++++",
1069 "+++++++.....++++++",
1070 "++++++........++++",
1071 "+++++.........++++",
1072 "++++.....++....+++",
1073 "++++....++++...+++",
1074 "++++....++++....++",
1075 "++++....++++....++",
1076 "++++....++++....++",
1077 "++++.....++.....++",
1078 "+++++...........++",
1079 "++++++..........++",
1080 "+++++++....+....++",
1081 "++++++++++++....++",
1082 "++++++++++++....++",
1083 "++++....++++...+++",
1084 "++++.....++....+++",
1085 "+++++.........++++",
1086 "+++++........+++++",
1087 "+++++++.....++++++",
1088 "++++++++++++++++++",
1089 "++++++++++++++++++"}
1092 char *fontbigdp
[] = {