Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1112)

Issue 13094005: impl part of SKFontMgr for mac (Closed)

Created:
7 years, 9 months ago by reed1
Modified:
7 years, 9 months ago
Reviewers:
bungeman-skia, sugoi
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

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(); Committed: https://code.google.com/p/skia/source/detail?r=8395

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -7 lines) Patch
M include/ports/SkFontMgr.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/core/SkFontHost.cpp View 1 chunk +62 lines, -0 lines 1 comment Download
M src/ports/SkFontHost_mac.cpp View 1 chunk +158 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
reed1
7 years, 9 months ago (2013-03-26 16:00:33 UTC) #1
reed1
Committed patchset #1 manually as r8395 (presubmit successful).
7 years, 9 months ago (2013-03-26 17:19:20 UTC) #2
sugoi
This new warning popped in on my side. I thought I'd mention it just in ...
7 years, 9 months ago (2013-03-26 18:03:42 UTC) #3
reed1
7 years, 9 months ago (2013-03-26 18:44:01 UTC) #4
Message was sent while issue was closed.
On 2013/03/26 18:03:42, sugoi wrote:
> This new warning popped in on my side. I thought I'd mention it just in
case...
> 
> https://codereview.chromium.org/13094005/diff/1/src/core/SkFontHost.cpp
> File src/core/SkFontHost.cpp (right):
> 
>
https://codereview.chromium.org/13094005/diff/1/src/core/SkFontHost.cpp#newco...
> src/core/SkFontHost.cpp:66: fUnion.fR.fSlant = kUpright_Slant;
> Not sure if this is the intended behavior, but there is a "slant" parameter
> that's ignore and kUpright_Slant seems to be used instead. Just mentioning it
in
> case it was a mistake.

doh, bug. thanks. fill fix.

Powered by Google App Engine
This is Rietveld 408576698