diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 16:47:46 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 16:47:46 +0000 |
commit | 483f5860d7d3478b97a7291bc196621a53f8388b (patch) | |
tree | ab0230ea52301b75eeefce146460d4b1ac761202 /google_update | |
parent | e34ddc09061b665cc0cccc7aa29302ce43661bcf (diff) | |
download | chromium_src-483f5860d7d3478b97a7291bc196621a53f8388b.zip chromium_src-483f5860d7d3478b97a7291bc196621a53f8388b.tar.gz chromium_src-483f5860d7d3478b97a7291bc196621a53f8388b.tar.bz2 |
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: svn://svn.chromium.org/chrome/trunk/src@23032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_update')
0 files changed, 0 insertions, 0 deletions