OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef PUBLIC_FPDF_SYSFONTINFO_H_ | 7 #ifndef PUBLIC_FPDF_SYSFONTINFO_H_ |
8 #define PUBLIC_FPDF_SYSFONTINFO_H_ | 8 #define PUBLIC_FPDF_SYSFONTINFO_H_ |
9 | 9 |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 * For some platforms Foxit SDK implement a default version of system | 283 * For some platforms Foxit SDK implement a default version of system |
284 *font info interface. | 284 *font info interface. |
285 * The default implementation can be used in FPDF_SetSystemFontInfo | 285 * The default implementation can be used in FPDF_SetSystemFontInfo |
286 *function. | 286 *function. |
287 * Parameters: | 287 * Parameters: |
288 * None | 288 * None |
289 * Return Value: | 289 * Return Value: |
290 * Pointer to a FPDF_SYSFONTINFO structure describing the default | 290 * Pointer to a FPDF_SYSFONTINFO structure describing the default |
291 *interface. | 291 *interface. |
292 * Or NULL if the platform doesn't have a default interface. | 292 * Or NULL if the platform doesn't have a default interface. |
293 * Application should call FPDF_FreeMemory to free the returned | 293 * Application should call FPDF_FreeDefaultSystemFontInfo to free the |
294 *pointer. | 294 *returned pointer. |
295 **/ | 295 **/ |
296 DLLEXPORT FPDF_SYSFONTINFO* STDCALL FPDF_GetDefaultSystemFontInfo(); | 296 DLLEXPORT FPDF_SYSFONTINFO* STDCALL FPDF_GetDefaultSystemFontInfo(); |
297 | 297 |
| 298 /** |
| 299 * Function: FPDF_FreeDefaultSystemFontInfo |
| 300 * Free a default system font info interface |
| 301 * Comments: |
| 302 * This function should be called on the output from |
| 303 *FPDF_SetSystemFontInfo once it is no longer needed by the client. |
| 304 * Parameters: |
| 305 * pFontInfo - Pointer to a FPDF_SYSFONTINFO structure |
| 306 * Return Value: |
| 307 * None |
| 308 **/ |
| 309 DLLEXPORT void FPDF_FreeDefaultSystemFontInfo(FPDF_SYSFONTINFO* pFontInfo); |
| 310 |
298 #ifdef __cplusplus | 311 #ifdef __cplusplus |
299 } | 312 } |
300 #endif | 313 #endif |
301 | 314 |
302 #endif // PUBLIC_FPDF_SYSFONTINFO_H_ | 315 #endif // PUBLIC_FPDF_SYSFONTINFO_H_ |
OLD | NEW |