Skip to content

Commit

Permalink
fix glyphs at odd x offset with even width
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie committed Jan 6, 2022
1 parent 7dab3fd commit 723418d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/compressbmf.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,10 @@ export default class extends TOOL {
for (let j = 0; j < sourceLineBytes - 1; j++)
slb[j] = (slb[j] << 4) | (slb[j + 1] >> 4);
slb[sourceLineBytes - 1] = (slb[sourceLineBytes - 1] << 4) | 0x0F;
writer.send(sourceLine, 0, (sw + 1) >> 1);
}
writer.send(sourceLine);
else
writer.send(sourceLine);
}
else {
convert.process(sourceLine, destLine);
Expand Down

0 comments on commit 723418d

Please sign in to comment.