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

Side by Side Diff: experimental/PdfViewer/SkPdfFont.cpp

Issue 23361009: pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to matc… (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « experimental/PdfViewer/SkPdfFont.h ('k') | experimental/PdfViewer/SkPdfGraphicsState.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkPdfFont.h ('k') | experimental/PdfViewer/SkPdfGraphicsState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698