Subversion Repositories Kolibri OS

Rev

Rev 6785 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6785 Rev 6786
Line 192... Line 192...
192
	IO label_io;
192
	IO label_io;
193
	IF(font)free(font);
193
	IF(font)free(font);
194
	label_io.read(font_path);
194
	label_io.read(font_path);
195
	IF(!EAX) {
195
	IF(!EAX) {
196
		debugln(font_path);
196
		debugln(font_path);
197
		io.run("/sys/@notify", "'Error: KFONT is not loaded.' -E"); 
197
		label_io.run("/sys/@notify", "'Error: KFONT is not loaded.' -E"); 
198
		return false;
198
		return false;
199
	}
199
	}
200
	font_begin = font = label_io.buffer_data;
200
	font_begin = font = label_io.buffer_data;
201
	height = DSBYTE[calc(font_begin+label_io.FILES_SIZE)-1];
201
	height = DSBYTE[calc(font_begin+label_io.FILES_SIZE)-1];
202
	width = DSBYTE[calc(font_begin+label_io.FILES_SIZE)-2];
202
	width = DSBYTE[calc(font_begin+label_io.FILES_SIZE)-2];