| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkAdvancedTypefaceMetrics.h" | 8 #include "SkAdvancedTypefaceMetrics.h" |
| 9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
| 10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| 11 #include "SkColorPriv.h" | 11 #include "SkColorPriv.h" |
| 12 #include "SkDescriptor.h" | 12 #include "SkDescriptor.h" |
| 13 #include "SkFDot6.h" | 13 #include "SkFDot6.h" |
| 14 #include "SkFontHost.h" | |
| 15 #include "SkFontHost_FreeType_common.h" | 14 #include "SkFontHost_FreeType_common.h" |
| 16 #include "SkGlyph.h" | 15 #include "SkGlyph.h" |
| 17 #include "SkMask.h" | 16 #include "SkMask.h" |
| 18 #include "SkMaskGamma.h" | 17 #include "SkMaskGamma.h" |
| 19 #include "SkMatrix22.h" | 18 #include "SkMatrix22.h" |
| 20 #include "SkOTUtils.h" | 19 #include "SkOTUtils.h" |
| 21 #include "SkScalerContext.h" | 20 #include "SkScalerContext.h" |
| 22 #include "SkStream.h" | 21 #include "SkStream.h" |
| 23 #include "SkString.h" | 22 #include "SkString.h" |
| 24 #include "SkTemplates.h" | 23 #include "SkTemplates.h" |
| (...skipping 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1711 if (style) { | 1710 if (style) { |
| 1712 *style = SkFontStyle(weight, width, slant); | 1711 *style = SkFontStyle(weight, width, slant); |
| 1713 } | 1712 } |
| 1714 if (isFixedPitch) { | 1713 if (isFixedPitch) { |
| 1715 *isFixedPitch = FT_IS_FIXED_WIDTH(face); | 1714 *isFixedPitch = FT_IS_FIXED_WIDTH(face); |
| 1716 } | 1715 } |
| 1717 | 1716 |
| 1718 FT_Done_Face(face); | 1717 FT_Done_Face(face); |
| 1719 return true; | 1718 return true; |
| 1720 } | 1719 } |
| OLD | NEW |