summaryrefslogtreecommitdiff
path: root/x11/xfstt/patches/patch-ap
blob: b43103538a4a6261ab5cb3e2c55ad332443efc30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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;
 }