projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aec3ff
)
exclude unused functions when mac uses freetype (for pdf)
author
caryclark
<caryclark@google.com>
Wed, 20 Jul 2016 20:15:51 +0000
(13:15 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 20 Jul 2016 20:15:51 +0000
(13:15 -0700)
R=bungeman@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2163833004
Review-Url: https://codereview.chromium.org/
2163833004
src/ports/SkFontHost_FreeType.cpp
patch
|
blob
|
history
diff --git
a/src/ports/SkFontHost_FreeType.cpp
b/src/ports/SkFontHost_FreeType.cpp
index
d0f86d9
..
45e4eae
100644
(file)
--- a/
src/ports/SkFontHost_FreeType.cpp
+++ b/
src/ports/SkFontHost_FreeType.cpp
@@
-456,9
+456,6
@@
SkAdvancedTypefaceMetrics* SkTypeface_FreeType::onGetAdvancedTypefaceMetrics(
PerGlyphInfo perGlyphInfo,
const uint32_t* glyphIDs,
uint32_t glyphIDsCount) const {
-#if defined(SK_BUILD_FOR_MAC)
- return nullptr;
-#else
AutoFTAccess fta(this);
FT_Face face = fta.face();
if (!face) {
@@
-654,7
+651,6
@@
SkAdvancedTypefaceMetrics* SkTypeface_FreeType::onGetAdvancedTypefaceMetrics(
}
return info;
-#endif
}
///////////////////////////////////////////////////////////////////////////