Go to file
reed@google.com 83787c55db impl part of SKFontMgr for mac
Here is some test code

    SkFontMgr* mgr = SkFontMgr::RefDefault();
    for (int i = 0; i < mgr->countFamilies(); ++i) {
        SkString familyName;
        mgr->getFamilyName(i, &familyName);
        SkDebugf("%s\n", familyName.c_str());
        SkFontStyleSet* styles = mgr->createStyleSet(i);
        for (int j = 0; j < styles->count(); ++j) {
            SkFontStyle fs;
            SkString styleName;
            styles->getStyle(j, &fs, &styleName);
            SkTypeface* face = styles->createTypeface(j);
            SkDebugf("    %s [%d %d] %x\n", styleName.c_str(), fs.weight(),
                     fs.width(), face);
        }
        styles->unref();
    }
    mgr->unref();
Review URL: https://codereview.chromium.org/13094005

git-svn-id: http://skia.googlecode.com/svn/trunk@8395 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-26 17:19:15 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Rebaseline Mac 10.8 performance flakes 2013-03-25 17:16:37 +00:00
debugger Sanitizing source files in Skia_Periodic_House_Keeping 2013-03-26 07:01:04 +00:00
experimental move fontmgr into include/ports for now 2013-03-25 18:44:17 +00:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Reverting r8376, r8373 and r8371 due to Android shader compilation failures 2013-03-25 22:16:02 +00:00
gyp Replace edge types with GrEdgeEffect. 2013-03-26 14:45:27 +00:00
include impl part of SKFontMgr for mac 2013-03-26 17:19:15 +00:00
samplecode Sanitizing source files in Skia_Periodic_House_Keeping 2013-03-19 07:15:10 +00:00
src impl part of SKFontMgr for mac 2013-03-26 17:19:15 +00:00
tests Fix unit test build break 2013-03-26 16:49:37 +00:00
third_party Add BSON implementation to third_party 2012-06-13 18:22:09 +00:00
tools Change the name of SkFlags to SkCommandLineFlags. 2013-03-21 19:43:15 +00:00
trybots_to_run Added cros_daisy to build bots list 2012-08-27 17:57:58 +00:00
.gitignore Add .swp files to gitignore. 2013-02-08 16:59:59 +00:00
codereview.settings Removing blank lines from codereview.settings. 2013-02-26 16:01:21 +00:00
DEPS Upstream Android modifications to the image encoders/decoders. 2013-03-14 14:42:18 +00:00
Doxyfile Pointing to http://skia-autogen.googlecode.com/svn/docs/html/index.html in Doxyfile 2012-07-03 11:35:07 +00:00
gyp_skia Update gyp to allow alternative out directories 2012-11-28 14:11:41 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.py gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
Makefile Update gyp to allow alternative out directories 2012-11-28 14:11:41 +00:00
Makefile.old Higher resolution timers for bench. 2011-06-07 19:16:02 +00:00
PRESUBMIT.py Presubmit should check that source files end in atleast one newline 2013-01-25 18:27:34 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
skia.gyp gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
whitespace.txt Trigger rebuilds on ChromeOS 2013-03-26 13:47:19 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot