Skip to content

Commit

Permalink
[type1] Bind the RD procedure
Browse files Browse the repository at this point in the history
As the RD procedure may be called several hundred times for a full font,
it is worth binding.
  • Loading branch information
Chris Wilson committed Nov 13, 2008
1 parent 0769d39 commit 47a56e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cairo-type1-fallback.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ cairo_type1_font_write_private_dict (cairo_type1_font_t *font,
_cairo_output_stream_printf (encrypted_output,
" dup /Private 9 dict dup begin\n"
"/RD {string currentfile exch readstring pop}"
" executeonly def\n"
" bind executeonly def\n"
"/ND {noaccess def} executeonly def\n"
"/NP {noaccess put} executeonly def\n"
"/BlueValues [] def\n"
Expand Down

0 comments on commit 47a56e0

Please sign in to comment.