Rev 7769 | Rev 7853 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7769 | Rev 7798 | ||
---|---|---|---|
Line 71... | Line 71... | ||
71 | { |
71 | { |
72 | IO label_io; |
72 | IO label_io; |
73 | if(font)free(font); |
73 | if(font)free(font); |
74 | label_io.read(font_path); |
74 | label_io.read(font_path); |
75 | if(!EAX) { |
75 | if(!EAX) { |
76 | //debugln(font_path); |
- | |
77 | label_io.run("/sys/@notify", "'Error: KFONT is not loaded.' -E"); |
76 | label_io.run("/sys/@notify", "'Error: KFONT is not loaded.' -E"); |
78 | return false; |
77 | return false; |
79 | } |
78 | } |
80 | font_begin = label_io.buffer_data; |
79 | font_begin = label_io.buffer_data; |
81 | changeSIZE(); |
80 | changeSIZE(); |
Line 149... | Line 148... | ||
149 | dword iii = 0; |
148 | dword iii = 0; |
150 | dword offs; |
149 | dword offs; |
151 | dword tmp, _; |
150 | dword tmp, _; |
152 | byte X; |
151 | byte X; |
153 | byte chaw_width=0; |
152 | byte chaw_width=0; |
154 | if(s==32)return width/4; |
153 | if(s==32)return width/4+1; |
155 | if(s==9)return width; |
154 | if(s==9)return width; |
156 | s = Cp866ToAnsi(s); |
155 | s = Cp866ToAnsi(s); |
157 | tmp = block*s << 2 + font; |
156 | tmp = block*s << 2 + font; |
158 | for(yi=0; yi |
157 | for(yi=0; yi |
159 | { |
158 | { |