diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-26 15:12:48 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-26 15:12:48 +0000 |
commit | 8625d3b73eb51d2100cdf15e7a43b998b8251dc9 (patch) | |
tree | c56f58a7f69b5fdc7b6934e5b92857c771270d46 /fpdfsdk/fpdf_view_c_api_test.c | |
parent | 2cbae7328b4eb31a78db5babc4d5995971de308f (diff) | |
download | pdfium-8625d3b73eb51d2100cdf15e7a43b998b8251dc9.tar.xz |
Add FPDFTextObj_GetFontSize() API
In contrast with FPDFText_GetFontSize(), this exposes the font size of
the text object according to the text state, rather than the font size
of a particular character.
Change-Id: Iac88d1aea8fb6bb5522bdaf01363aa6d32025b8f
Reviewed-on: https://pdfium-review.googlesource.com/35931
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_view_c_api_test.c')
-rw-r--r-- | fpdfsdk/fpdf_view_c_api_test.c | 1 |
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 90eca333d5..997423a4a8 100644 --- a/fpdfsdk/fpdf_view_c_api_test.c +++ b/fpdfsdk/fpdf_view_c_api_test.c @@ -195,6 +195,7 @@ int CheckPDFiumCApi() { CHK(FPDFPath_SetMatrix); CHK(FPDFPath_SetStrokeColor); CHK(FPDFPath_SetStrokeWidth); + CHK(FPDFTextObj_GetFontSize); CHK(FPDFText_GetMatrix); CHK(FPDFText_LoadFont); CHK(FPDFText_LoadStandardFont); |