summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2012-01-23 11:12:04 +0000
committerKen Sharp <ken.sharp@artifex.com>2012-01-23 11:12:36 +0000
commit315a899b2f9bd8be2f247550a05d807a8c698f07 (patch)
treea907904aa8b4490dd3d8537b29e2df698e717c64
parentd0d411c0830b81fa9fb38e3f938ac855fde9a6e3 (diff)
downloadghostpdl-315a899b2f9bd8be2f247550a05d807a8c698f07.tar.gz
ps2write/pdfwrite - Don't arbitrarily change VVECTOR0 flag in type 1 info
Way back in 2003 code was added 'in lieu of proper CDevProc processing' to alter the behaviour of pdfwrite. In particular a flag was set which always causes pdfwrite to handle width chnages. However, we do now handle CDevProc correctly, and the arbitrary assignment of this flag causes serious problems for pdfwrite & ps2write in the (admittedly rare and unreasonable) case where the FontMatrix of an already used font is modified. Expected Differences: 14-12.ps 16-05.ps Both now work better with ps2write and pdfwrite, though not 100% correct
-rw-r--r--gs/base/gxtype1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gxtype1.c b/gs/base/gxtype1.c
index 7852f3440..e7b23a559 100644
--- a/gs/base/gxtype1.c
+++ b/gs/base/gxtype1.c
@@ -637,7 +637,7 @@ gs_type1_glyph_info(gs_font *font, gs_glyph glyph, const gs_matrix *pmat,
info->v.y = fixed2float(cis.lsb.y);
break;
}
- info->members |= width_members | (GLYPH_INFO_VVECTOR0 << wmode);
+ info->members |= width_members;
}
gs_glyph_data_free(&gdata, "gs_type1_glyph_info");