add SkCreateTypefaceFromCTFont() to create a typeface directly from a CTFontRef
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 22 Mar 2011 14:07:59 +0000 (14:07 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 22 Mar 2011 14:07:59 +0000 (14:07 +0000)
commitdf49991eb36286bca10d8c3da4ebcecaec187bbf
tree1b894f3894c05089900c9bef4a53d32dbc1bc56e
parent08526c07f4f530e56b70d4b22f5a4af35d9ebcca
add SkCreateTypefaceFromCTFont() to create a typeface directly from a CTFontRef

Compute the actual style from the returned CTFontRef, rather than assuming the
request will always be met.

git-svn-id: http://skia.googlecode.com/svn/trunk@979 2bbb7eff-a529-9590-31e7-b0007b416f81
Makefile
include/ports/SkTypeface_mac.h [new file with mode: 0644]
samplecode/SampleTypeface.cpp
src/ports/SkFontHost_mac_coretext.cpp