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

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

Issue 1049753002: SkPDF: Factor SkPDFCatalog into SkPDFObjNumMap and SkPDFSubstituteMap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: full Created 5 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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
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 9
10 #ifndef SkPDFFont_DEFINED 10 #ifndef SkPDFFont_DEFINED
11 #define SkPDFFont_DEFINED 11 #define SkPDFFont_DEFINED
12 12
13 #include "SkAdvancedTypefaceMetrics.h" 13 #include "SkAdvancedTypefaceMetrics.h"
14 #include "SkBitSet.h" 14 #include "SkBitSet.h"
15 #include "SkPDFTypes.h" 15 #include "SkPDFTypes.h"
16 #include "SkTDArray.h" 16 #include "SkTDArray.h"
17 #include "SkTypeface.h" 17 #include "SkTypeface.h"
18 18
19 class SkPaint; 19 class SkPaint;
20 class SkPDFCanon; 20 class SkPDFCanon;
21 class SkPDFCatalog; 21 class SkPDFObjNumMap;
22 class SkPDFFont; 22 class SkPDFFont;
23 23
24 class SkPDFGlyphSet : SkNoncopyable { 24 class SkPDFGlyphSet : SkNoncopyable {
25 public: 25 public:
26 SkPDFGlyphSet(); 26 SkPDFGlyphSet();
27 27
28 void set(const uint16_t* glyphIDs, int numGlyphs); 28 void set(const uint16_t* glyphIDs, int numGlyphs);
29 bool has(uint16_t glyphID) const; 29 bool has(uint16_t glyphID) const;
30 void merge(const SkPDFGlyphSet& usage); 30 void merge(const SkPDFGlyphSet& usage);
31 void exportTo(SkTDArray<uint32_t>* glyphIDs) const; 31 void exportTo(SkTDArray<uint32_t>* glyphIDs) const;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 uint16_t fLastGlyphID; 196 uint16_t fLastGlyphID;
197 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fFontInfo; 197 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fFontInfo;
198 SkAutoTUnref<SkPDFDict> fDescriptor; 198 SkAutoTUnref<SkPDFDict> fDescriptor;
199 199
200 SkAdvancedTypefaceMetrics::FontType fFontType; 200 SkAdvancedTypefaceMetrics::FontType fFontType;
201 201
202 typedef SkPDFDict INHERITED; 202 typedef SkPDFDict INHERITED;
203 }; 203 };
204 204
205 #endif 205 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFCatalog.cpp ('k') | src/pdf/SkPDFFont.cpp » ('j') | src/pdf/SkPDFStream.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698