summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_view_c_api_test.c
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-08-01 01:28:49 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-01 01:28:49 +0000
commit53d4f0a4526ef996caf5005ae84406a9467423f2 (patch)
treecf86d5f7bdd8996e5614fb00113fe6df2ddefdaf /fpdfsdk/fpdf_view_c_api_test.c
parentcede561c5ae665a563409ba3bfc93c3cd6da5248 (diff)
downloadpdfium-53d4f0a4526ef996caf5005ae84406a9467423f2.tar.xz
Add FPDFText_GetFontName() API
This follows the same pattern as DefaultGetFaceName(), so the client has to call this function twice, but allocation of the string buffer happens outside pdfium. Change-Id: I06b7dcd00aca9b9b94799dad3f139617d7f5451e Reviewed-on: https://pdfium-review.googlesource.com/38870 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_view_c_api_test.c')
-rw-r--r--fpdfsdk/fpdf_view_c_api_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/fpdf_view_c_api_test.c b/fpdfsdk/fpdf_view_c_api_test.c
index 4faf5bbf0f..91d24fd233 100644
--- a/fpdfsdk/fpdf_view_c_api_test.c
+++ b/fpdfsdk/fpdf_view_c_api_test.c
@@ -204,6 +204,7 @@ int CheckPDFiumCApi() {
CHK(FPDFPath_SetMatrix);
CHK(FPDFPath_SetStrokeColor);
CHK(FPDFPath_SetStrokeWidth);
+ CHK(FPDFTextObj_GetFontName);
CHK(FPDFTextObj_GetFontSize);
CHK(FPDFText_GetMatrix);
CHK(FPDFText_GetTextRenderMode);