(dumpglyphs): After calling ccl_driver, set cp->byte1 to
zero for 1-byte font.
This commit is contained in:
parent
a01588fc82
commit
9dfb82d5cc
1 changed files with 2 additions and 2 deletions
|
@ -747,7 +747,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp)
|
|||
/* We assume that MSBs are appropriately
|
||||
set/reset by CCL program. */
|
||||
if (font->max_byte1 == 0) /* 1-byte font */
|
||||
cp->byte2 = ccl->reg[1];
|
||||
cp->byte1 = 0, cp->byte2 = ccl->reg[1];
|
||||
else
|
||||
cp->byte1 = ccl->reg[1], cp->byte2 = ccl->reg[2];
|
||||
}
|
||||
|
@ -760,7 +760,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp)
|
|||
/* We assume that MSBs are appropriately
|
||||
set/reset by CCL program. */
|
||||
if (font->max_byte1 == 0) /* 1-byte font */
|
||||
cp->byte2 = ccl->reg[1];
|
||||
cp->byte1 = 0, cp->byte2 = ccl->reg[1];
|
||||
else
|
||||
cp->byte1 = ccl->reg[1], cp->byte2 = ccl->reg[2];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue