mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 09:38:22 +02:00
PS: execute type3 glyphs in their own dictionary
The PS emulation of the PDF text operators stores some data on the user dict between calls to operators. When using the PDF text operators in type 3 glyphs, the PDF operators were overwriting the same data as the PDF operators in the page. Fix this by creating a new dictionary to execute each type 3 glyph in.
This commit is contained in:
parent
b56075ee51
commit
d878924cf8
1 changed files with 2 additions and 1 deletions
|
|
@ -554,7 +554,8 @@ _cairo_ps_surface_emit_type3_font_subset (cairo_ps_surface_t *surface,
|
|||
"/FontBBox [%f %f %f %f] def\n"
|
||||
"/BuildChar {\n"
|
||||
" exch /Glyphs get\n"
|
||||
" exch get exec\n"
|
||||
" exch get\n"
|
||||
" 10 dict begin exec end\n"
|
||||
"} bind def\n"
|
||||
"currentdict\n"
|
||||
"end\n"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue