diff options
author | augustss <augustss@pkgsrc.org> | 1998-08-24 19:02:15 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 1998-08-24 19:02:15 +0000 |
commit | 6ff51e3f60fc7e35fbc841d624de0cc29ffbc684 (patch) | |
tree | 771ea7a787ba0b86f9290ddc5c9157ba0549d89d | |
parent | 1278287a613da4baed0cc5c7833eed8b95b823b0 (diff) | |
download | pkgsrc-6ff51e3f60fc7e35fbc841d624de0cc29ffbc684.tar.gz |
Don't treat ' ' specially, it doesn't work for mono-width fonts.
-rw-r--r-- | graphics/magicpoint/patches/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/magicpoint/patches/patch-aa b/graphics/magicpoint/patches/patch-aa new file mode 100644 index 00000000000..28409327b23 --- /dev/null +++ b/graphics/magicpoint/patches/patch-aa @@ -0,0 +1,22 @@ +*** draw.c.orig Mon Aug 24 20:37:32 1998 +--- draw.c Mon Aug 24 20:37:35 1998 +*************** +*** 829,834 **** +--- 829,835 ---- + while (len) { + code = kanjimode ? p[0] * 256 + p[1] : p[0]; + ++ #if 0 + if (code == ' ') { + char_len = char_size / 2; + p++; +*************** +*** 837,842 **** +--- 838,844 ---- + state->linewidth += HORIZ_STEP(char_size, char_len); + continue; + } ++ #endif + + #ifdef USE_XDRAWSTRING + char_len = draw_onechar_x(state, code, state->linewidth, |