cc32130045
compile when using gcc 2.95.
40 lines
989 B
Text
40 lines
989 B
Text
$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;
|
|
}
|