Subversion Repositories Kolibri OS

Rev

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

Rev 6784 Rev 6785
Line 191... Line 191...
191
{
191
{
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
		notify("'Error: KFONT is not loaded.' -E"); 
197
		io.run("/sys/@notify", "'Error: KFONT is not loaded.' -E"); 
197
		return false;
198
		return false;
198
	}
199
	}
199
	font_begin = font = label_io.buffer_data;
200
	font_begin = font = label_io.buffer_data;
200
	height = DSBYTE[calc(font_begin+label_io.FILES_SIZE)-1];
201
	height = DSBYTE[calc(font_begin+label_io.FILES_SIZE)-1];
201
	width = DSBYTE[calc(font_begin+label_io.FILES_SIZE)-2];
202
	width = DSBYTE[calc(font_begin+label_io.FILES_SIZE)-2];