diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-10-06 11:17:39 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-10-21 15:38:14 +0100 |
commit | 253e26c536e92f78ae44b1862480b001a4933971 (patch) | |
tree | a67fa7b61e4a1b716b8d3dd64defcf00eca1bb50 /pcl | |
parent | cff2b8b436d1f8775830a1c3d7427a7ad5056940 (diff) | |
download | ghostpdl-253e26c536e92f78ae44b1862480b001a4933971.tar.gz |
Add text file interpreter for gpdl.
Spots ascii/utf8/utf16 and feeds to PCL interpreter.
May need further tweaking with both text file spotting and
font selection, but it's a decent start.
Diffstat (limited to 'pcl')
-rw-r--r-- | pcl/pl/plimpl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pcl/pl/plimpl.c b/pcl/pl/plimpl.c index 80d7e1845..e0518e30d 100644 --- a/pcl/pl/plimpl.c +++ b/pcl/pl/plimpl.c @@ -53,6 +53,8 @@ extern pl_interp_implementation_t png_implementation; extern pl_interp_implementation_t so_implementation; +extern pl_interp_implementation_t txt_implementation; + /* Zero-terminated list of pointers to implementations */ pl_interp_implementation_t *pdl_implementations[] = { &pjl_implementation, @@ -93,6 +95,9 @@ pl_interp_implementation_t *pdl_implementations[] = { #ifdef SO_INCLUDED &so_implementation, #endif +#ifdef TXT_INCLUDED + &txt_implementation, +#endif 0 }; |