mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-30 10:21:46 +08:00
Counterpart to the existing FPDFTextObj_GetFontSize() getter. The internal hook already exists — FPDFPageObj_CreateTextObj() and FPDFPageObj_NewTextObj() both call CPDF_TextObject::mutable_text_state().SetFontSize() — so the new public wrapper is a thin export mirroring FPDFTextObj_SetTextRenderMode() in shape: FPDF_BOOL FPDFTextObj_SetFontSize(FPDF_PAGEOBJECT text, float size); Input validation matches FPDFPageObj_SetStrokeWidth() — null handles and negative sizes are rejected; zero is permitted to mirror FPDFPageObj_NewTextObj() with size 0 (already exercised by AddStandardFontTextOfSizeZero). SetDirty(true) runs after the mutation so the content stream regenerates on the next render or save. A new FPDFEditEmbedderTest.SetFontSize covers round-trip, rejection paths (null handle, negative size), and FPDF_SaveAsCopy() persistence. Bug: 515079553 Change-Id: Iabcdef1234567890abcdef1234567890abcdef12 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/148170 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Andy Phan <andyphan@chromium.org> Commit-Queue: Andy Phan <andyphan@chromium.org>
74 lines
2.4 KiB
Plaintext
74 lines
2.4 KiB
Plaintext
# Names should be added to this file with this pattern:
|
||
#
|
||
# For individuals:
|
||
# Name <email address>
|
||
#
|
||
# For organizations:
|
||
# Organization <fnmatch pattern>
|
||
#
|
||
# See python fnmatch module documentation for more information.
|
||
#
|
||
# Please keep the list sorted.
|
||
|
||
# BEGIN individuals section.
|
||
AbdAlRahman Gad <abdobngad@gmail.com>
|
||
Abdelkarim Sellamna <abdelkarim.se@gmail.com>
|
||
Aleksei Skotnikov <fineaskotnikov@gmail.com>
|
||
Antonio Gomes <tonikitoo@igalia.com>
|
||
Aryan P Krishnan <aryankrishnan4b@gmail.com>
|
||
Bill Denney <wdenney@humanpredictions.com>
|
||
Chenguang Shao <chenguangshao1@gmail.com>
|
||
Chery Cherian <cherycherian@gmail.com>
|
||
Claudio DeSouza <claudiomdsjr@gmail.com>
|
||
Dan Ilan <danilan@gmail.com>
|
||
Dmitrii Chunikhin <chunikhindf@gmail.com>
|
||
Dorian Rudolph <dorianrudo97@gmail.com>
|
||
Felix Kauselmann <licorn@gmail.com>
|
||
GiWan Go <gogil@stealien.com>
|
||
Haoran Tang <haoran.tang.personal@gmail.com>
|
||
Helmut Januschka <helmut@januschka.com>
|
||
Huy Ngo <huyna89@gmail.com>
|
||
Ivan Odulo <ivanodulo@gmail.com>
|
||
Jiang Jiang <jiangj@opera.com>
|
||
Justin Pierce <brkfstmnchr@gmail.com>
|
||
Ke Liu <stackexploit@gmail.com>
|
||
Luật Nguyễn <manhluat93.php@gmail.com>
|
||
Manuel Geißer <geisserml@gmail.com>
|
||
Matt Jolly <kangie@gentoo.org>
|
||
Michael Doppler <m.doppler@gmail.com>
|
||
Michael Reed <mike@reedtribe.org>
|
||
Miklos Vajna <vmiklos@vmiklos.hu>
|
||
Minh Trần <myoki.crystal@gmail.com>
|
||
Mostafa Aboalkasim <mostafa.aboalkasim.offical@gmail.com>
|
||
Peter Varga <pvarga@inf.u-szeged.hu>
|
||
Ralf Sippl <ralf.sippl@gmail.com>
|
||
Robert Collyer <rcollyer99@gmail.com>
|
||
Rulong Chen(陈汝龙) <rulong.crl@alibaba-inc.com>
|
||
Ryan Wiley <wileyrr@gmail.com>
|
||
Satvic Dhawan <satvicdhawan14@gmail.com>
|
||
Stefan Ziegler <sz5000@gmx.de>
|
||
Stephan Hartmann <stha09@googlemail.com>
|
||
Tibor Dusnoki <tdusnoki@inf.u-szeged.hu>
|
||
Tyler Denniston <denniston.t@gmail.com>
|
||
Wang Chuan <jdyaomo@gmail.com>
|
||
Wang Qing <wangqing-hf@loongson.cn>
|
||
Wang Yongjie <tycket033@gmail.com>
|
||
Zhuo Qingliang <zhuo.dev@gmail.com>
|
||
# END individuals section.
|
||
|
||
# BEGIN organizations section.
|
||
Ada Logics Ltd. <*@adalogics.com>
|
||
Collabora Ltd. <*@collabora.com>
|
||
DocsCorp Pty Ltd. <*@docscorp.com>
|
||
Dropbox <*@dropbox.com>
|
||
Foxit Software Inc <*@foxitsoftware.com>
|
||
Google Inc. <*@google.com>
|
||
Igalia S.L. <*@igalia.com>
|
||
LG Electronics, Inc. <*@lge.com>
|
||
Loongson Technology Corporation Limited. <*@loongson.cn>
|
||
Medical Information Technology, Inc. <*@meditech.com>
|
||
Microsoft <*@microsoft.com>
|
||
PSPDFKit GmbH <*@pspdfkit.com>
|
||
The Chromium Authors <*@chromium.org>
|
||
# END organizations section.
|