summaryrefslogtreecommitdiff
path: root/tree/debug.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-10-19 04:07:51 +0200
committerTor Andersson <tor@ghostscript.com>2004-10-19 04:07:51 +0200
commit3342d0657522d6b3acaae5216b7026165154ab52 (patch)
treec4b06d02c86944a6d835b3614873a0f6ce113cd6 /tree/debug.c
parentbbf53bb5172130d375ac4e6214c685d24120204b (diff)
downloadmupdf-3342d0657522d6b3acaae5216b7026165154ab52.tar.xz
moved cidtogid into pdf_font, added colorspaces and pdf_page object
Diffstat (limited to 'tree/debug.c')
-rw-r--r--tree/debug.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tree/debug.c b/tree/debug.c
index c56464ba..583608f5 100644
--- a/tree/debug.c
+++ b/tree/debug.c
@@ -68,8 +68,12 @@ static void lisptransform(fz_transformnode *node, int level)
static void lispcolor(fz_colornode *node, int level)
{
+ int i;
indent(level);
- printf("(color %g %g %g)\n", node->r, node->g, node->b);
+ printf("(color ");
+ for (i = 0; i < node->n; i++)
+ printf("%g ", node->samples[i]);
+ printf(")\n");
}
static void lisplink(fz_linknode *node, int level)