OLD | NEW |
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 #include "SkPDFCatalog.h" | 10 #include "SkPDFCatalog.h" |
11 #include "SkPDFDevice.h" | |
12 #include "SkPDFDocument.h" | 11 #include "SkPDFDocument.h" |
13 #include "SkPDFFont.h" | 12 #include "SkPDFFont.h" |
14 #include "SkPDFPage.h" | 13 #include "SkPDFPage.h" |
15 #include "SkPDFTypes.h" | 14 #include "SkPDFTypes.h" |
16 #include "SkStream.h" | 15 #include "SkStream.h" |
17 | 16 |
18 | 17 |
19 static void perform_font_subsetting(SkPDFCatalog* catalog, | 18 static void perform_font_subsetting(SkPDFCatalog* catalog, |
20 const SkTDArray<SkPDFPage*>& pages, | 19 const SkTDArray<SkPDFPage*>& pages, |
21 SkTDArray<SkPDFObject*>* substitutes) { | 20 SkTDArray<SkPDFObject*>* substitutes) { |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 } | 221 } |
223 } | 222 } |
224 if (notSubsettableCount) { | 223 if (notSubsettableCount) { |
225 *notSubsettableCount = notSubsettable; | 224 *notSubsettableCount = notSubsettable; |
226 | 225 |
227 } | 226 } |
228 if (notEmbeddableCount) { | 227 if (notEmbeddableCount) { |
229 *notEmbeddableCount = notEmbeddable; | 228 *notEmbeddableCount = notEmbeddable; |
230 } | 229 } |
231 } | 230 } |
OLD | NEW |