summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2023-03-02 18:15:00 +0000
committerRobin Watts <Robin.Watts@artifex.com>2023-03-02 18:17:03 +0000
commitd43c7bb84f2165a2d7aaf3bce7be9eac46bc6442 (patch)
tree648039a613d6bcbe441e9b8b24874df573ce370e /devices
parent8cdcf2377f8cd2657acfce409f56c105f64a0a15 (diff)
downloadghostpdl-d43c7bb84f2165a2d7aaf3bce7be9eac46bc6442.tar.gz
Fix gdevdocxw.c breakage.
In copy/pasting from one function to another, I had failed to replace 'subfont' with 'font'. I thought tested this both locally, and in the cluster. The cluster doesn't test this file. I can offer no such excuse for why my own local testing didn't show it up. Apologies.
Diffstat (limited to 'devices')
-rw-r--r--devices/vector/gdevdocxw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/vector/gdevdocxw.c b/devices/vector/gdevdocxw.c
index e0773e7a7..d579db79d 100644
--- a/devices/vector/gdevdocxw.c
+++ b/devices/vector/gdevdocxw.c
@@ -1022,8 +1022,8 @@ docxwrite_process_plain_text(gx_device_docxwrite_t *tdev, gs_text_enum_t *pte)
return code;
if (!prevFontName && penum->text_state->FontName) {
- gs_rect *fbbox = &((gs_font_base *)subfont)->FontBBox;
- gs_matrix fm = *&((gs_font_base *)subfont)->FontMatrix;
+ gs_rect *fbbox = &((gs_font_base *)font)->FontBBox;
+ gs_matrix fm = *&((gs_font_base *)font)->FontMatrix;
gs_rect bbox;
code = gs_bbox_transform(fbbox, &fm, &bbox);