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

Side by Side Diff: src/pdf/SkPDFFont.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pdf/SkPDFDevice.cpp ('k') | src/pdf/SkPDFFontImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9 8
10 #ifndef SkPDFFont_DEFINED 9 #ifndef SkPDFFont_DEFINED
11 #define SkPDFFont_DEFINED 10 #define SkPDFFont_DEFINED
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 62
64 63
65 /** \class SkPDFFont 64 /** \class SkPDFFont
66 A PDF Object class representing a font. The font may have resources 65 A PDF Object class representing a font. The font may have resources
67 attached to it in order to embed the font. SkPDFFonts are canonicalized 66 attached to it in order to embed the font. SkPDFFonts are canonicalized
68 so that resource deduplication will only include one copy of a font. 67 so that resource deduplication will only include one copy of a font.
69 This class uses the same pattern as SkPDFGraphicState, a static weak 68 This class uses the same pattern as SkPDFGraphicState, a static weak
70 reference to each instantiated class. 69 reference to each instantiated class.
71 */ 70 */
72 class SkPDFFont : public SkPDFDict { 71 class SkPDFFont : public SkPDFDict {
73 72
74 public: 73 public:
75 virtual ~SkPDFFont(); 74 virtual ~SkPDFFont();
76 75
77 /** Returns the typeface represented by this class. Returns nullptr for the 76 /** Returns the typeface represented by this class. Returns nullptr for the
78 * default typeface. 77 * default typeface.
79 */ 78 */
80 SkTypeface* typeface(); 79 SkTypeface* typeface();
81 80
82 /** Returns the font type represented in this font. For Type0 fonts, 81 /** Returns the font type represented in this font. For Type0 fonts,
83 * returns the type of the decendant font. 82 * returns the type of the decendant font.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 uint16_t fLastGlyphID; 195 uint16_t fLastGlyphID;
197 sk_sp<const SkAdvancedTypefaceMetrics> fFontInfo; 196 sk_sp<const SkAdvancedTypefaceMetrics> fFontInfo;
198 sk_sp<SkPDFDict> fDescriptor; 197 sk_sp<SkPDFDict> fDescriptor;
199 198
200 SkAdvancedTypefaceMetrics::FontType fFontType; 199 SkAdvancedTypefaceMetrics::FontType fFontType;
201 200
202 typedef SkPDFDict INHERITED; 201 typedef SkPDFDict INHERITED;
203 }; 202 };
204 203
205 #endif 204 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFDevice.cpp ('k') | src/pdf/SkPDFFontImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698