diff options
Diffstat (limited to 'pcl/pcfsel.h')
-rw-r--r-- | pcl/pcfsel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pcl/pcfsel.h b/pcl/pcfsel.h index 0f5f40669..85a18f065 100644 --- a/pcl/pcfsel.h +++ b/pcl/pcfsel.h @@ -12,6 +12,12 @@ /* This is used by both PCL and HP-GL/2. */ int pcl_reselect_font(P2(pcl_font_selection_t *pfs, const pcl_state_t *pcls)); +/* fallback if a glyph is not found in a font. This select the best + from the parameters, however, the font is chosen only from the + collection of fonts that actually have the desired character code */ +int pcl_reselect_substitute_font(P3(pcl_font_selection_t *pfs, + const pcl_state_t *pcls, + const uint chr)); /* * Select a font by ID, updating the selection parameters. Return 0 * normally, 1 if no font was found, or an error code. The pcl_state_t is |