diff options
Diffstat (limited to 'x11/xfstt/patches/patch-ap')
-rw-r--r-- | x11/xfstt/patches/patch-ap | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11/xfstt/patches/patch-ap b/x11/xfstt/patches/patch-ap new file mode 100644 index 00000000000..b43103538a4 --- /dev/null +++ b/x11/xfstt/patches/patch-ap @@ -0,0 +1,40 @@ +$NetBSD: patch-ap,v 1.1 2004/02/14 22:27:30 kristerw Exp $ + +--- libfstt/table_hdmx.cc.orig Sat Feb 14 22:56:47 2004 ++++ libfstt/table_hdmx.cc Sat Feb 14 22:57:11 2004 +@@ -36,7 +36,7 @@ + int + HdmxTable::getMaxWidth(int mppemx) + { +- debug("hdmx(mppemx = %d) ", mppemx); ++ debug1("hdmx(mppemx = %d) ", mppemx); + + seekAbsolute(8); + // XXX: is it possible to avoid the linear search? +@@ -47,7 +47,7 @@ + int maxWidth = readUByte(); + if (ppem > mppemx) + debug("<"); +- debug("= %d\n", maxWidth); ++ debug1("= %d\n", maxWidth); + + return maxWidth; + } +@@ -61,7 +61,7 @@ + int + HdmxTable::getGlyphWidth(int mppemx, int glyphNo) + { +- debug("hdmx(mppemx = %d, glyphNo = %d)", mppemx, glyphNo); ++ debug2("hdmx(mppemx = %d, glyphNo = %d)", mppemx, glyphNo); + + seekAbsolute(8); + // XXX: is it possible to avoid the linear search? +@@ -78,7 +78,7 @@ + + seekRelative(glyphNo + 1); + int width = readUByte(); +- debug(" = %d\n", width); ++ debug1(" = %d\n", width); + + return width; + } |