Add complex text and font family supports for printing on Linux. Please NOTE that this is just a quick hack. Instead of using fonts in Cairo, we draw texts' paths from the given paint.
Add complex text and font family supports for printing on Linux.
Please NOTE that this is just a quick hack.
Instead of using fonts in Cairo, we draw texts' paths from the given paint.

pros:
  1. Can be easily run within the sandbox.
  2. Paths give us many things for free.
     (complex text, different font family, outlined text, etc.)

cons:
  1. It's slow and takes more memory since we cannot reuse glyph information.
     (We have to store paths for the same glyph shown at differnt places.)

Patch written by Min-yu Huang <minyu.huang@gmail.com> in http://codereview.chromium.org/164025 .

Review URL: http://codereview.chromium.org/165281


git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@23032 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser