diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-11-30 02:36:38 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-11-30 02:36:38 +0100 |
commit | 1fdb20ea8556ab9f9d4200cdc9e982aa3e6a7430 (patch) | |
tree | e16c4b2a5e79a043b82e2310a68592605f545d2a | |
parent | 4007d5c8e032ca43800e044c75fa33c000360cfc (diff) | |
download | mupdf-1fdb20ea8556ab9f9d4200cdc9e982aa3e6a7430.tar.xz |
Keep current font when pushing new graphics state onto stack.
-rw-r--r-- | mupdf/pdf_interpret.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mupdf/pdf_interpret.c b/mupdf/pdf_interpret.c index 75628816..3907f100 100644 --- a/mupdf/pdf_interpret.c +++ b/mupdf/pdf_interpret.c @@ -108,6 +108,8 @@ gsave(pdf_csi *csi) pdf_keepmaterial(&gs->stroke); pdf_keepmaterial(&gs->fill); + if (gs->font) + pdf_keepfont(gs->font); return fz_okay; } |