summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/truetype_font_resource.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add Pepper TrueType font API call to enumerate fonts in a given family.bbudge@chromium.org2013-04-191-1/+1
| | | | | | | | | | | | | | | Adds a new function, GetFontsInFamily, to the PPB_TrueTypeFont_Dev interface. This method returns an array of descriptors for every font in the given family on the host platform. Tests are currently disabled for Windows and Mac, since I got failures on XP and OSX 10.6 when landing them originally. I will re-enable them in follow on patches, which will be easier to land / revert if necessary. The tests pass locally for me on all platforms. BUG=79375,230130 TEST=browser_tests, gtest_filter="PPAPIOutOfProcessTest.TrueTypeFont" Review URL: https://chromiumcodereview.appspot.com/13913006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195082 0039d316-1c4b-4281-b951-d872f2087c98
* Add Pepper TrueType font API plumbing.bbudge@chromium.org2013-03-161-0/+130
Adds Font resource and host, font singleton resource and host. Adds PPAPI IPC messages to communicate with renderer and browser. Adds Browser process font listing helper class abstraction and impls for Windows, Mac, and Linux. Font family enumeration is done in the browser process and is a rework of the trusted BrowserFont API. Adds Renderer process font helper class abstraction and impl stubs. Font operations are done in the renderer process because of Linux sandbox restrictions. BUG=79375 Review URL: https://chromiumcodereview.appspot.com/12600019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188576 0039d316-1c4b-4281-b951-d872f2087c98