diff options
Diffstat (limited to 'pdf/pdf_interpret.c')
-rw-r--r-- | pdf/pdf_interpret.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf/pdf_interpret.c b/pdf/pdf_interpret.c index fe0e1ce8..0976912e 100644 --- a/pdf/pdf_interpret.c +++ b/pdf/pdf_interpret.c @@ -818,10 +818,10 @@ pdf_init_gstate(pdf_gstate *gs, fz_matrix ctm) gs->ctm = ctm; gs->clip_depth = 0; - gs->stroke_state.start_cap = 0; - gs->stroke_state.dash_cap = 0; - gs->stroke_state.end_cap = 0; - gs->stroke_state.linejoin = 0; + gs->stroke_state.start_cap = FZ_LINECAP_BUTT; + gs->stroke_state.dash_cap = FZ_LINECAP_BUTT; + gs->stroke_state.end_cap = FZ_LINECAP_BUTT; + gs->stroke_state.linejoin = FZ_LINEJOIN_MITER; gs->stroke_state.linewidth = 1; gs->stroke_state.miterlimit = 10; gs->stroke_state.dash_phase = 0; |