Rev 4187 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4187 | Rev 4188 | ||
---|---|---|---|
Line 103... | Line 103... | ||
103 | 103 | ||
104 | print "#define FONT_GLYPHS " . (@chars + 1). "\n"; |
104 | print "#define FONT_GLYPHS " . (@chars + 1). "\n"; |
105 | print "#define FONT_SCANLINES " . $height . "\n"; |
105 | print "#define FONT_SCANLINES " . $height . "\n"; |
106 | 106 | ||
107 | print "\n"; |
107 | print "\n"; |
108 | print "index_t fb_font_glyph(const wchar_t ch)\n"; |
108 | print "uint16_t fb_font_glyph(const wchar_t ch)\n"; |
109 | print "{\n"; |
109 | print "{\n"; |
110 | print "\tif (ch == 0x0000)\n"; |
110 | print "\tif (ch == 0x0000)\n"; |
111 | print "\t\treturn 0;\n\n"; |
111 | print "\t\treturn 0;\n\n"; |
112 | 112 | ||
113 | my $pos = 0; |
113 | my $pos = 0; |