diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2002-01-08 00:45:09 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2002-01-08 00:45:09 +0000 |
commit | bd9bb7748022455f1f6166d48ba4990fb42f8e2d (patch) | |
tree | 52a2dd1d96bf107d196c21738374eed35a1d8bf6 /pcl/pcsfont.c | |
parent | 28355188f5357b485fa95546a26db4f56c0e3b5d (diff) |
The fast path of printing text has been disabled because of
incompatibilities with the UFST interface.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1579 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl/pcsfont.c')
-rw-r--r-- | pcl/pcsfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcl/pcsfont.c b/pcl/pcsfont.c index 64eeff787..f807776ea 100644 --- a/pcl/pcsfont.c +++ b/pcl/pcsfont.c @@ -154,7 +154,7 @@ pcl_font_control(pcl_args_t *pargs, pcl_state_t *pcs) pcs->memory, "pcl_font_control()"); if ( plfont == 0 ) - return_error(e_Memory); + return 0; code = gs_definefont(pcs->font_dir, plfont->pfont); if ( code < 0 ) return code; @@ -351,7 +351,7 @@ bitmap: pfont = gs_alloc_struct(mem, gs_font_base, &st_gs_font_base, } /* pfh->Pitch is design unit width for scalable fonts. */ { uint pitch_cp = - pl_get_uint16(pfh->Pitch) * 100 * pfont->FontMatrix.xx; + pl_get_uint16(pfh->Pitch) * 100 / 8782.0; pl_fp_set_pitch_cp(&plfont->params, pitch_cp); } break; |