fixed a small bug that prevented the loading of certain
fonts that use the DOS linefeed convention.., including the newest XFree86 4.0 B&H Type 1 fonts !!
This commit is contained in:
parent
231d0587b0
commit
1216e434cc
|
@ -836,6 +836,12 @@
|
||||||
cur[3] == 'e' && cur[4] == 'c' )
|
cur[3] == 'e' && cur[4] == 'c' )
|
||||||
{
|
{
|
||||||
cur += 6; /* we skip the newling after the "eexec" */
|
cur += 6; /* we skip the newling after the "eexec" */
|
||||||
|
|
||||||
|
/* XXX: Some fonts use DOS-linefeeds, i.e. \r\n, we need to skip */
|
||||||
|
/* the extra \n when we find it.. */
|
||||||
|
if (cur[0] == '\n')
|
||||||
|
cur++;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue