OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
11 #include "SkColorPriv.h" | 11 #include "SkColorPriv.h" |
(...skipping 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1677 *style = (SkTypeface::Style) tempStyle; | 1677 *style = (SkTypeface::Style) tempStyle; |
1678 } | 1678 } |
1679 if (isFixedPitch) { | 1679 if (isFixedPitch) { |
1680 *isFixedPitch = FT_IS_FIXED_WIDTH(face); | 1680 *isFixedPitch = FT_IS_FIXED_WIDTH(face); |
1681 } | 1681 } |
1682 | 1682 |
1683 FT_Done_Face(face); | 1683 FT_Done_Face(face); |
1684 FT_Done_FreeType(library); | 1684 FT_Done_FreeType(library); |
1685 return true; | 1685 return true; |
1686 } | 1686 } |
OLD | NEW |