aboutsummaryrefslogtreecommitdiff
path: root/graphics/xpdf
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-07-02 11:01:01 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-07-02 11:01:01 +0000
commite34b2a93ca6eb81914e8572eafee5d7196033f46 (patch)
tree4fdfaa7cba5bdcecd666b75875ca176bf98a7dce /graphics/xpdf
parent122a4d71a95b594d9d4c0fed4bbcabadeb1d377a (diff)
downloadports-e34b2a93ca6eb81914e8572eafee5d7196033f46.tar.gz
ports-e34b2a93ca6eb81914e8572eafee5d7196033f46.zip
Notes
Diffstat (limited to 'graphics/xpdf')
-rw-r--r--graphics/xpdf/files/patch-ab11
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 000000000000..57668053bf5a
--- /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;