summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2010-01-29 23:57:43 +0000
committerHenry Stiles <henry.stiles@artifex.com>2010-01-29 23:57:43 +0000
commit0afec9b3834137f1f62f2aa8a3cd82b940e8e80e (patch)
tree075659afbb49d2cc58da255f3e9da1dc53dcb380
parent6077e74d49f27e01961e4ca86dc47286fad92ced (diff)
Fixed missing codes on pcl 5c fts panel 1790. Codes are always
printable in transparent data mode. git-svn-id: http://svn.ghostscript.com/ghostscript/branches/pcl_font_mods@10673 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--pcl/pglabel.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/pcl/pglabel.c b/pcl/pglabel.c
index 2ebee40fa..8108676e7 100644
--- a/pcl/pglabel.c
+++ b/pcl/pglabel.c
@@ -87,9 +87,12 @@ static bool
hpgl_is_printable(
const pl_symbol_map_t * psm,
gs_char chr,
- bool is_stick
+ bool is_stick,
+ bool transparent
)
{
+ if (transparent)
+ return true;
if ( is_stick )
return (chr >= ' ') && (chr <= 0xff);
if ((psm == 0) || (psm->type >= 2))
@@ -1294,7 +1297,8 @@ print: {
const pcl_font_selection_t *pfs =
&pgls->g.font_selection[pgls->g.font_selected];
if ( !hpgl_is_printable(pfs->map, ch,
- (pfs->params.typeface_family & 0xfff) == STICK_FONT_TYPEFACE ) )
+ (pfs->params.typeface_family & 0xfff) == STICK_FONT_TYPEFACE,
+ pgls->g.transparent_data) )
continue;
}
hpgl_call(hpgl_ensure_font(pgls));