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

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

Issue 2221163002: SkPDF: SkPDFFont organization changes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-08-09 (Tuesday) 15:24:15 EDT Created 4 years, 4 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 | « include/core/SkTypeface.h ('k') | src/pdf/SkPDFConvertType1FontStream.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkPDFConvertType1FontStream_DEFINED
9 #define SkPDFConvertType1FontStream_DEFINED
10
11 #include "SkData.h"
12 #include "SkStream.h"
13
14 /*
15 "A standard Type 1 font program, as described in the Adobe Type 1
16 Font Format specification, consists of three parts: a clear-text
17 portion (written using PostScript syntax), an encrypted portion, and
18 a fixed-content portion. The fixed-content portion contains 512
19 ASCII zeros followed by a cleartomark operator, and perhaps followed
20 by additional data. Although the encrypted portion of a standard
21 Type 1 font may be in binary or ASCII hexadecimal format, PDF
22 supports only the binary format."
23 */
24 sk_sp<SkData> SkPDFConvertType1FontStream(
25 std::unique_ptr<SkStreamAsset> srcStream, size_t* headerLen,
26 size_t* dataLen, size_t* trailerLen);
27
28 #endif // SkPDFConvertType1FontStream_DEFINED
OLDNEW
« no previous file with comments | « include/core/SkTypeface.h ('k') | src/pdf/SkPDFConvertType1FontStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698