summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-11 18:16:50 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-11 18:16:50 +0200
commitc6934bd8de9d593ec51f60b7c0db9f8a2125352e (patch)
treef964a662ebe3ad5e79cd55215eedc7fd4eb05434 /fitz/res_font.c
parent6d2ca771127fb9186372566e5671c79c354b04b9 (diff)
downloadmupdf-c6934bd8de9d593ec51f60b7c0db9f8a2125352e.tar.xz
Add triangle caps; separate start, dash and end cap styles for XPS.
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c
index e2542f9b..fdcfb77b 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -432,7 +432,7 @@ fz_render_ft_stroked_glyph(fz_font *font, int gid, fz_matrix trm, fz_matrix ctm,
return NULL;
}
- FT_Stroker_Set(stroker, linewidth, state->linecap, state->linejoin, state->miterlimit * 65536);
+ FT_Stroker_Set(stroker, linewidth, state->start_cap, state->linejoin, state->miterlimit * 65536);
fterr = FT_Get_Glyph(face->glyph, &glyph);
if (fterr)