aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/FontHostTest.cpp
Commit message (Collapse)AuthorAge
* Result of running tools/sanitize_source_files.py (which was added in ↵Gravatar rmistry@google.com2012-08-23
| | | | | | | | | https://codereview.appspot.com/6465078/) This CL is part II of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6474054 git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix units per em test.Gravatar bungeman@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4873 2bbb7eff-a529-9590-31e7-b0007b416f81
* add getUnitsPerEm() to SkTypefaceGravatar reed@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4863 2bbb7eff-a529-9590-31e7-b0007b416f81
* Need to apply matrix to advance in generateAdvance (as we already were in ↵Gravatar reed@google.com2012-07-18
| | | | | | | | | | | generateMetrics) Fixes b/6833339 Expand existing unittest to detect this (we needed to set both scale and skew on the paint) git-svn-id: http://skia.googlecode.com/svn/trunk@4647 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in testsGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6301045 git-svn-id: http://skia.googlecode.com/svn/trunk@4175 2bbb7eff-a529-9590-31e7-b0007b416f81
* retarget fonttable tests to use SkTypeface api, rather than ↵Gravatar reed@google.com2012-04-19
| | | | | | (should-be-private) SkFontHost api git-svn-id: http://skia.googlecode.com/svn/trunk@3732 2bbb7eff-a529-9590-31e7-b0007b416f81
* Glyph advances from generateAdvance do not always match generateMetrics results.Gravatar bungeman@google.com2012-03-23
| | | | | | | http://codereview.appspot.com/5841071/ git-svn-id: http://skia.googlecode.com/svn/trunk@3480 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix memory leak in GetTableData() and add unittests for itGravatar reed@google.com2012-02-23
| | | | | | Review URL: https://codereview.appspot.com/5693048 git-svn-id: http://skia.googlecode.com/svn/trunk@3239 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't require tableCount>0 since some platform fonts may not support thatGravatar reed@google.com2012-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3238 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove 'OS/2' table from known-sizes, since its size is not always the sameGravatar reed@google.com2012-02-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3236 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unittest for FontHost (just tables at the moment)Gravatar reed@google.com2012-02-23
git-svn-id: http://skia.googlecode.com/svn/trunk@3233 2bbb7eff-a529-9590-31e7-b0007b416f81