summaryrefslogtreecommitdiff
path: root/xps/xpsdoc.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2007-03-20 16:33:38 +0000
committerTor Andersson <tor.andersson@artifex.com>2007-03-20 16:33:38 +0000
commitf46775942f14254e38412ed548f80cfc06e9fbde (patch)
treef6067ccdf1d26596f0226cc537af995a2ea8865d /xps/xpsdoc.c
parent1fdeb5fe6c415d631769a47c3307379a46eba13c (diff)
downloadghostpdl-f46775942f14254e38412ed548f80cfc06e9fbde.tar.gz
Decode UTF-8 strings in Glyphs element.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2808 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'xps/xpsdoc.c')
-rw-r--r--xps/xpsdoc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xps/xpsdoc.c b/xps/xpsdoc.c
index 2f2646893..17804ffe8 100644
--- a/xps/xpsdoc.c
+++ b/xps/xpsdoc.c
@@ -159,7 +159,10 @@ xps_get_content_type(xps_context_t *ctx, char *partname)
type = xps_find_override(ctx->overrides, partname);
if (type)
+ {
+ dprintf1(" override -> %s\n", type);
return type;
+ }
extension = strrchr(partname, '.');
if (extension)
@@ -167,7 +170,10 @@ xps_get_content_type(xps_context_t *ctx, char *partname)
type = xps_find_default(ctx->defaults, extension);
if (type)
+ {
+ dprintf1(" extension -> %s\n", type);
return type;
+ }
return NULL;
}