diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1999-04-02 07:41:37 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1999-04-02 07:41:37 +0000 |
commit | 023d164a13a11c1bce9291fad8f9272b34bd607e (patch) | |
tree | 8d0f23577d81ea93ff19289e6458a6893ff398a0 /pcl/pcfont.h | |
parent | d8abcd6dda0c16ec723e00fbea84fe59a63c2203 (diff) |
Static removal phase 2. Moves pcl cursor (cap) back into pcl's state,
along with the cursor stack and stack size. Also, PCL was referencing
the state using the names pcs or pcls, now we use pcs only.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@797 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl/pcfont.h')
-rw-r--r-- | pcl/pcfont.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pcl/pcfont.h b/pcl/pcfont.h index 45fe823cf..b0d5252f8 100644 --- a/pcl/pcfont.h +++ b/pcl/pcfont.h @@ -15,18 +15,18 @@ * downloaded symbol set, or changing orientations--can cause this. * set == -1 means all. */ -extern void pcl_decache_font( pcl_state_t * pcls, int set ); +extern void pcl_decache_font( pcl_state_t * pcs, int set ); /* * Recompute the font if necessary. This is exported for resetting HMI. */ -extern int pcl_recompute_font( pcl_state_t * pcls ); +extern int pcl_recompute_font( pcl_state_t * pcs ); /* * Recompute the font if the glyph is not found at the time of rendering */ extern int pcl_recompute_substitute_font( - pcl_state_t * pcls, + pcl_state_t * pcs, const uint chr ); @@ -34,20 +34,20 @@ extern int pcl_recompute_substitute_font( * Do any underlining just before a break in motion (vertical motion or * negative horizontal motion)... */ -#define pcl_break_underline(pcls) \ +#define pcl_break_underline(pcs) \ BEGIN \ - if (pcls->underline_enabled) \ - pcl_do_underline(pcls); \ + if (pcs->underline_enabled) \ + pcl_do_underline(pcs); \ END /* ...and then, after repositioning, restart underlining if necessary... */ -#define pcl_continue_underline(pcls) \ +#define pcl_continue_underline(pcs) \ BEGIN \ - if (pcls->underline_enabled) \ - pcls->underline_start = pcl_cap; \ + if (pcs->underline_enabled) \ + pcs->underline_start = pcs->cap; \ END -extern void pcl_do_underline(P1(pcl_state_t *pcls)); +extern void pcl_do_underline(P1(pcl_state_t *pcs)); /* Define the common structure of downloaded font headers. */ typedef struct pcl_font_header_s { |