diff options
author | vanilla <vanilla@FreeBSD.org> | 1998-07-02 19:01:01 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 1998-07-02 19:01:01 +0800 |
commit | 0cf3d2333235a1bd9f74deb100d0e21c732f1c43 (patch) | |
tree | 2485850eb2565b8d5acc93df9d12bd83fd81da6d /graphics | |
parent | 2530534986e9a2fb0ae37ec4fa8e051ab5d560cb (diff) | |
download | freebsd-ports-graphics-0cf3d2333235a1bd9f74deb100d0e21c732f1c43.tar.gz freebsd-ports-graphics-0cf3d2333235a1bd9f74deb100d0e21c732f1c43.tar.zst freebsd-ports-graphics-0cf3d2333235a1bd9f74deb100d0e21c732f1c43.zip |
Add a patch from author's site.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xpdf/files/patch-ab | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/xpdf/files/patch-ab b/graphics/xpdf/files/patch-ab new file mode 100644 index 00000000000..57668053bf5 --- /dev/null +++ b/graphics/xpdf/files/patch-ab @@ -0,0 +1,11 @@ +--- xpdf/XOutputDev.cc.orig Wed Jul 1 22:54:59 1998 ++++ xpdf/XOutputDev.cc Wed Jul 1 22:56:09 1998 +@@ -275,7 +275,7 @@ + // rendering the font. This code tries to guess by looking at the + // width of the character 'm' (which breaks if the font is a + // subset that doesn't contain 'm'). +- if (w1 > 1.1 * w2 || w1 < 0.9 * w2) { ++ if (w1 > 0 && (w1 > 1.1 * w2 || w1 < 0.9 * w2)) { + w1 /= w2; + mat11 *= w1; + mat12 *= w1; |