summaryrefslogtreecommitdiff
path: root/pxl/pxgstate.h
diff options
context:
space:
mode:
authorStefan Kemper <stefan.kemper@artifex.com>2002-03-05 01:06:00 +0000
committerStefan Kemper <stefan.kemper@artifex.com>2002-03-05 01:06:00 +0000
commit720f864507ca73cf7a3689948a5571c18290699e (patch)
tree32f64d021a6fd81ba5d668ce9ed6b5129427c36a /pxl/pxgstate.h
parentdf1defd2cb266f31fdde0b8f6682de354b91a21a (diff)
downloadghostpdl-720f864507ca73cf7a3689948a5571c18290699e.tar.gz
Invalidate the character cache whenever pxl algorithmic bolding is used.
This force is done to prevent false cache hits on bolding changed chars. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1613 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pxl/pxgstate.h')
-rw-r--r--pxl/pxgstate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pxl/pxgstate.h b/pxl/pxgstate.h
index 3fbca150c..adbee3539 100644
--- a/pxl/pxgstate.h
+++ b/pxl/pxgstate.h
@@ -71,6 +71,9 @@ typedef struct px_pattern_s {
void px_free_pattern(P3(gs_memory_t *, void *, client_name_t));
/* Purge the pattern cache up to a given persistence level. */
void px_purge_pattern_cache(P2(px_state_t *, pxePatternPersistence_t));
+/* purge font cache - all characters */
+void px_purge_character_cache(px_state_t *pxs);
+
/* Define a structure for a brush or pen. These only exist */
/* within a px_gstate_t; they are never allocated separately. */