Bug 11442 - PS output optimizations
Summary: PS output optimizations
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: postscript backend (show other bugs)
Version: 1.5.1
Hardware: Other All
: low normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-01 12:02 UTC by Ken Herron
Modified: 2007-09-16 04:04 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch v1 (2.05 KB, patch)
2007-07-01 12:05 UTC, Ken Herron
Details | Splinter Review

Description Ken Herron 2007-07-01 12:02:37 UTC
the PS backend defines a series of command aliases, like "M" for "moveto", to reduce the size of the generated postscript. However, it doesn't actually use these aliases.

Also, fonts are selected using a findfont/makefont/setfont operator series. Level 2 PS includes a more efficient operator called selectfont.
Comment 1 Ken Herron 2007-07-01 12:05:47 UTC
Created attachment 10541 [details] [review]
Patch v1

This patches cairo-ps-surface.c to use the aliases for moveto, lineto, curveto, and closepath. It also uses selectfont to select fonts.
Comment 2 Adrian Johnson 2007-09-16 04:04:35 UTC
Patch has been committed

http://gitweb.freedesktop.org/?p=cairo;a=commit;h=03f7a51f47717af45afbc439ce2178789449ab32


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.