summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-09-07 10:24:46 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-09-07 15:02:21 +0100
commit1a6f2b08a16ffe2af28ddb3fcf0e7295226ad73d (patch)
treee78a342a82b654786d670a8217258b7c46b41b35
parentab3bb369d5d531446f4a5482672204dc479f10b2 (diff)
[ps] Support B PDF operator.
Add the procedure definition for fill-stroke path operators, B and B*.
-rw-r--r--src/cairo-ps-surface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index 9006dc01..6a9c900a 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -186,6 +186,8 @@ _cairo_ps_surface_emit_header (cairo_ps_surface_t *surface)
"/S { stroke } bind def\n"
"/f { fill } bind def\n"
"/f* { eofill } bind def\n"
+ "/B { fill stroke } bind def\n"
+ "/B* { eofill stroke } bind def\n"
"/n { newpath } bind def\n"
"/W { clip } bind def\n"
"/W* { eoclip } bind def\n"