| OLD | NEW |
| 1 /* |
| 2 * Copyright 2013 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 |
| 1 #include "SkPdfFont.h" | 8 #include "SkPdfFont.h" |
| 2 | 9 |
| 3 #include "SkStream.h" | 10 #include "SkStream.h" |
| 4 #include "SkTypeface.h" | 11 #include "SkTypeface.h" |
| 5 #include "SkPdfNativeTokenizer.h" | 12 #include "SkPdfNativeTokenizer.h" |
| 6 | 13 |
| 7 SkTDict<SkPdfStandardFontEntry>& getStandardFonts() { | 14 SkTDict<SkPdfStandardFontEntry>& getStandardFonts() { |
| 8 static SkTDict<SkPdfStandardFontEntry> gPdfStandardFonts(100); | 15 static SkTDict<SkPdfStandardFontEntry> gPdfStandardFonts(100); |
| 9 | 16 |
| 10 // TODO (edisonn): , vs - ? what does it mean? | 17 // TODO (edisonn): , vs - ? what does it mean? |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 encoding = NULL; | 456 encoding = NULL; |
| 450 } | 457 } |
| 451 | 458 |
| 452 #ifdef PDF_TRACE | 459 #ifdef PDF_TRACE |
| 453 if (encoding == NULL) { | 460 if (encoding == NULL) { |
| 454 printf("Encoding not found: %s\n", name); | 461 printf("Encoding not found: %s\n", name); |
| 455 } | 462 } |
| 456 #endif | 463 #endif |
| 457 return encoding; | 464 return encoding; |
| 458 } | 465 } |
| OLD | NEW |