summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2010-01-30 00:08:54 +0000
committerHenry Stiles <henry.stiles@artifex.com>2010-01-30 00:08:54 +0000
commit4550bd638a709f4b95a2e6665d8c3540fcc1938a (patch)
treeb200361086c6425559e380550902e2d5cec9c254
parent0afec9b3834137f1f62f2aa8a3cd82b940e8e80e (diff)
The wrong font was selected on pcl 5c fts panel 443 because the
selection criteria did not give partial credit when using an unbound font and the default symbol (requested symbol set unavailable). git-svn-id: http://svn.ghostscript.com/ghostscript/branches/pcl_font_mods@10674 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--pcl/pcfsel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcl/pcfsel.c b/pcl/pcfsel.c
index 7f6492d2b..ef6061036 100644
--- a/pcl/pcfsel.c
+++ b/pcl/pcfsel.c
@@ -180,6 +180,7 @@ check_support(const pcl_state_t *pcs, uint symbol_set, const pl_font_t *fp,
id[0] = 0x01;
id[1] = 0x15;
*mapp = pcl_find_symbol_map(pcs, id, gv, fp->font_type == plft_16bit);
+ return 1;
}
return 0; /* worst */
}