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

Unified Diff: public/fpdf_sysfontinfo.h

Issue 1253603002: Fix FX_BOOL type mismatches. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Public API Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/src/javascript/PublicMethods.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/fpdf_sysfontinfo.h
diff --git a/public/fpdf_sysfontinfo.h b/public/fpdf_sysfontinfo.h
index dbadb89afe69df047cab2077839362d2dd2051b2..61465f4262a0703e12efaa16fd2916df6a97f059 100644
--- a/public/fpdf_sysfontinfo.h
+++ b/public/fpdf_sysfontinfo.h
@@ -94,13 +94,13 @@ typedef struct _FPDF_SYSFONTINFO {
* charset - Character set identifier for the requested font. See above defined constants.
* pitch_family - A combination of flags. See above defined constants.
* face - Typeface name. Currently use system local encoding only.
- * bExact - Pointer to an boolean value receiving the indicator whether mapper found the exact match.
+ * bExact - Pointer to a boolean value receiving the indicator whether mapper found the exact match.
* If mapper is not sure whether it's exact match, ignore this paramter.
* Return Value:
* An opaque pointer for font handle, or NULL if system mapping is not supported.
**/
- void* (*MapFont)(struct _FPDF_SYSFONTINFO* pThis, int weight, int bItalic, int charset, int pitch_family,
- const char* face, int* bExact);
+ void* (*MapFont)(struct _FPDF_SYSFONTINFO* pThis, int weight, FPDF_BOOL bItalic, int charset, int pitch_family,
+ const char* face, FPDF_BOOL* bExact);
/**
* Method: GetFont
« no previous file with comments | « fpdfsdk/src/javascript/PublicMethods.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698