Subversion Repositories Kolibri OS

Rev

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

Rev 5761 Rev 5765
Line 334... Line 334...
334
:byte FONT::load(dword path)
334
:byte FONT::load(dword path)
335
{
335
{
336
	dword tmp;
336
	dword tmp;
337
	buffer_size = 0;
337
	buffer_size = 0;
338
	IF(data)free(data);
338
	IF(data)free(data);
339
	if (!io.read(path))
339
	if (!io.readKPACK(path))
340
	{
340
	{
341
		debug("Error while loading font: ");
341
		debug("Error while loading font: ");
342
		debugln(path);
342
		debugln(path);
343
		return false;
343
		return false;
344
	}
344
	}