summaryrefslogtreecommitdiff
path: root/base/gscedata.h
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2021-10-25 11:24:26 +0100
committerKen Sharp <ken.sharp@artifex.com>2021-10-25 13:27:02 +0100
commitb4e8434defb8e05ea05bb130b92217290efd2fba (patch)
tree2226c326146d252cffd5f325c7d9127680d761a6 /base/gscedata.h
parent2594c15201e796759f095d70ba747d0e56e5c318 (diff)
downloadghostpdl-b4e8434defb8e05ea05bb130b92217290efd2fba.tar.gz
pdfwrite - regenerate gs_c_pdf_glyph_type array after Encoding changes
Commit 4d91c6ad3e76e19f36d23a50dce253fbbc7d0560 manually altered the 'known encoding' to add a number of missing strings. However this did not update an array which pdfwrite depends upon leading to incorrect ToUnicode entries being emitted. This commit regenerates the files gscedata.c, gscedata.h, gdevpdtv.c and gdevpdtv.h using the program toolbin/encs2c.ps which is the correct method for updating these files (from the stored encodings). In addition commit 87eed438b0cffba111371c25e1d169163f310465 updated the encs2c.ps program by adding some information to the comments regarding using the program, specifically to include gs_css_e.ps. This commit also updates the program still further to emit the current boilerplate for the copyright comments, stop writing the old CVS ID and adds a sterner warning to the comments in the .c and .h files about using the program to regenerate these files rather than manually modifying them.
Diffstat (limited to 'base/gscedata.h')
-rw-r--r--base/gscedata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/gscedata.h b/base/gscedata.h
index 47c034c08..c01d8aaef 100644
--- a/base/gscedata.h
+++ b/base/gscedata.h
@@ -12,7 +12,6 @@
Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato,
CA 94945, U.S.A., +1(415)492-9861, for further information.
*/
-
/*
* This file contains substantial parts of toolbin/encs2c.ps,
* which generated the remainder of the file mechanically from
@@ -23,13 +22,14 @@
* This source file is maintained manually under source code control,
* however its content should be regenerated by using encs2c.ps
* if changes are required.
+ * You should not manually alter this file! If you regenerate it using
+ * encs2c.ps you must regenerate all 4 files; base/gscedata.[c|h]
+ * and devices/vector/gdevpdtv.[c|h]
*/
#ifndef gscedata_INCLUDED
# define gscedata_INCLUDED
-#include "stdpre.h"
-
#define NUM_LEN_BITS 5
#define N(len,offset) (((offset) << NUM_LEN_BITS) + (len))