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

Side by Side Diff: fpdfsdk/fpdfview_c_api_test.c

Issue 2485283002: Add FPDF_FreeDefaultSystemFontInfo API (Closed)
Patch Set: Nit Created 4 years, 1 month 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 | « fpdfsdk/fpdf_sysfontinfo.cpp ('k') | public/fpdf_sysfontinfo.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 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This "C" (not "C++") file ensures that the public headers compile 5 // This "C" (not "C++") file ensures that the public headers compile
6 // and link for "C" (and not just "C++"). 6 // and link for "C" (and not just "C++").
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 #include "fpdfsdk/fpdfview_c_api_test.h" 10 #include "fpdfsdk/fpdfview_c_api_test.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 CHK(FPDF_SaveWithVersion); 151 CHK(FPDF_SaveWithVersion);
152 152
153 // fpdf_searchex.h 153 // fpdf_searchex.h
154 CHK(FPDFText_GetCharIndexFromTextIndex); 154 CHK(FPDFText_GetCharIndexFromTextIndex);
155 155
156 // fpdf_sysfontinfo.h 156 // fpdf_sysfontinfo.h
157 CHK(FPDF_GetDefaultTTFMap); 157 CHK(FPDF_GetDefaultTTFMap);
158 CHK(FPDF_AddInstalledFont); 158 CHK(FPDF_AddInstalledFont);
159 CHK(FPDF_SetSystemFontInfo); 159 CHK(FPDF_SetSystemFontInfo);
160 CHK(FPDF_GetDefaultSystemFontInfo); 160 CHK(FPDF_GetDefaultSystemFontInfo);
161 CHK(FPDF_FreeDefaultSystemFontInfo);
161 162
162 // fpdf_text.h 163 // fpdf_text.h
163 CHK(FPDFText_LoadPage); 164 CHK(FPDFText_LoadPage);
164 CHK(FPDFText_ClosePage); 165 CHK(FPDFText_ClosePage);
165 CHK(FPDFText_CountChars); 166 CHK(FPDFText_CountChars);
166 CHK(FPDFText_GetUnicode); 167 CHK(FPDFText_GetUnicode);
167 CHK(FPDFText_GetFontSize); 168 CHK(FPDFText_GetFontSize);
168 CHK(FPDFText_GetCharBox); 169 CHK(FPDFText_GetCharBox);
169 CHK(FPDFText_GetCharIndexAtPos); 170 CHK(FPDFText_GetCharIndexAtPos);
170 CHK(FPDFText_GetText); 171 CHK(FPDFText_GetText);
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 #ifdef PDF_ENABLE_XFA 237 #ifdef PDF_ENABLE_XFA
237 CHK(FPDF_BStr_Init); 238 CHK(FPDF_BStr_Init);
238 CHK(FPDF_BStr_Set); 239 CHK(FPDF_BStr_Set);
239 CHK(FPDF_BStr_Clear); 240 CHK(FPDF_BStr_Clear);
240 #endif 241 #endif
241 242
242 return 1; 243 return 1;
243 } 244 }
244 245
245 #undef CHK 246 #undef CHK
OLDNEW
« no previous file with comments | « fpdfsdk/fpdf_sysfontinfo.cpp ('k') | public/fpdf_sysfontinfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698