OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * 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 |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include <ctype.h> | 8 #include <ctype.h> |
9 | 9 |
10 #include "SkData.h" | 10 #include "SkData.h" |
11 #include "SkFontHost.h" | |
12 #include "SkGlyphCache.h" | 11 #include "SkGlyphCache.h" |
13 #include "SkPaint.h" | 12 #include "SkPaint.h" |
14 #include "SkPDFCatalog.h" | 13 #include "SkPDFCatalog.h" |
15 #include "SkPDFDevice.h" | 14 #include "SkPDFDevice.h" |
16 #include "SkPDFFont.h" | 15 #include "SkPDFFont.h" |
17 #include "SkPDFFontImpl.h" | 16 #include "SkPDFFontImpl.h" |
18 #include "SkPDFStream.h" | 17 #include "SkPDFStream.h" |
19 #include "SkPDFTypes.h" | 18 #include "SkPDFTypes.h" |
20 #include "SkPDFUtils.h" | 19 #include "SkPDFUtils.h" |
21 #include "SkRefCnt.h" | 20 #include "SkRefCnt.h" |
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1489 | 1488 |
1490 insert("FontBBox", makeFontBBox(bbox, 1000))->unref(); | 1489 insert("FontBBox", makeFontBBox(bbox, 1000))->unref(); |
1491 insertInt("FirstChar", 1); | 1490 insertInt("FirstChar", 1); |
1492 insertInt("LastChar", lastGlyphID() - firstGlyphID() + 1); | 1491 insertInt("LastChar", lastGlyphID() - firstGlyphID() + 1); |
1493 insert("Widths", widthArray.get()); | 1492 insert("Widths", widthArray.get()); |
1494 insertName("CIDToGIDMap", "Identity"); | 1493 insertName("CIDToGIDMap", "Identity"); |
1495 | 1494 |
1496 populateToUnicodeTable(NULL); | 1495 populateToUnicodeTable(NULL); |
1497 return true; | 1496 return true; |
1498 } | 1497 } |
OLD | NEW |