Always parse fonts with skia when checks requested. [pdfium : main]

0 views
Skip to first unread message

Tom Sepez (Gerrit)

unread,
Mar 13, 2026, 2:54:52 PM (4 days ago) Mar 13
to Lei Zhang, Pdfium LUCI CQ, pdfium-...@googlegroups.com
Attention needed from Lei Zhang and Tom Sepez

Tom Sepez removed a vote from this change

Removed Code-Review+1 by Lei Zhang <the...@chromium.org>
Open in Gerrit

Related details

Attention is currently required from:
  • Lei Zhang
  • Tom Sepez
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: deleteVote
Gerrit-Project: pdfium
Gerrit-Branch: main
Gerrit-Change-Id: I9f403648f581a5df79e5b9c54c1b68dfaa6988fe
Gerrit-Change-Number: 144732
Gerrit-PatchSet: 7
Gerrit-Owner: Tom Sepez <tse...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Attention: Tom Sepez <tse...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Tom Sepez (Gerrit)

unread,
Mar 13, 2026, 2:55:23 PM (4 days ago) Mar 13
to Lei Zhang, Pdfium LUCI CQ, pdfium-...@googlegroups.com
Attention needed from Lei Zhang

Tom Sepez added 1 comment

File core/fxge/cfx_face.cpp
Line 358, Patchset 2:#if defined(PDF_ENABLE_FONTATIONS)
Tom Sepez . unresolved

NOTE: would like to do this for PDF_USE_SKIA, but profiling embedder_tests shows that only about 40% of fonts are loaded this way later on. Too much?

Lei Zhang

Can this be guarded by a run-time check rather than compile-time?

Tom Sepez

Probably, but yet another initialization parameter. I'll leave it for fontations at the moment.

Lei Zhang

Isn't it just a `CFX_FontMgr::font_backend_` query, exposed via CFX_GEModule?

Tom Sepez

I'm cheating. I actually want to check that normal skia returns the same things in a follow-on CL. Suggestions?

Lei Zhang

Maybe write a TODO or have some other reminder to eventually stop cheating?

Tom Sepez

Does this make you happier?

Open in Gerrit

Related details

Attention is currently required from:
  • Lei Zhang
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: pdfium
Gerrit-Branch: main
Gerrit-Change-Id: I9f403648f581a5df79e5b9c54c1b68dfaa6988fe
Gerrit-Change-Number: 144732
Gerrit-PatchSet: 7
Gerrit-Owner: Tom Sepez <tse...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Comment-Date: Fri, 13 Mar 2026 18:55:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
Comment-In-Reply-To: Tom Sepez <tse...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Mar 13, 2026, 3:09:06 PM (4 days ago) Mar 13
to Tom Sepez, Lei Zhang, Pdfium LUCI CQ, pdfium-...@googlegroups.com
Attention needed from Tom Sepez

Lei Zhang voted and added 1 comment

Votes added by Lei Zhang

Code-Review+1

1 comment

File core/fxge/cfx_face.cpp
Line 358, Patchset 2:#if defined(PDF_ENABLE_FONTATIONS)
Tom Sepez . resolved

NOTE: would like to do this for PDF_USE_SKIA, but profiling embedder_tests shows that only about 40% of fonts are loaded this way later on. Too much?

Lei Zhang

Can this be guarded by a run-time check rather than compile-time?

Tom Sepez

Probably, but yet another initialization parameter. I'll leave it for fontations at the moment.

Lei Zhang

Isn't it just a `CFX_FontMgr::font_backend_` query, exposed via CFX_GEModule?

Tom Sepez

I'm cheating. I actually want to check that normal skia returns the same things in a follow-on CL. Suggestions?

Lei Zhang

Maybe write a TODO or have some other reminder to eventually stop cheating?

Tom Sepez

Does this make you happier?

Lei Zhang

Sure.

Open in Gerrit

Related details

Attention is currently required from:
  • Tom Sepez
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: pdfium
Gerrit-Branch: main
Gerrit-Change-Id: I9f403648f581a5df79e5b9c54c1b68dfaa6988fe
Gerrit-Change-Number: 144732
Gerrit-PatchSet: 7
Gerrit-Owner: Tom Sepez <tse...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
Gerrit-Attention: Tom Sepez <tse...@chromium.org>
Gerrit-Comment-Date: Fri, 13 Mar 2026 19:09:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Tom Sepez (Gerrit)

unread,
Mar 13, 2026, 3:43:26 PM (4 days ago) Mar 13
to Lei Zhang, Pdfium LUCI CQ, pdfium-...@googlegroups.com

Tom Sepez voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: pdfium
Gerrit-Branch: main
Gerrit-Change-Id: I9f403648f581a5df79e5b9c54c1b68dfaa6988fe
Gerrit-Change-Number: 144732
Gerrit-PatchSet: 7
Gerrit-Owner: Tom Sepez <tse...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
Gerrit-Comment-Date: Fri, 13 Mar 2026 19:43:24 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Pdfium LUCI CQ (Gerrit)

unread,
Mar 13, 2026, 3:44:29 PM (4 days ago) Mar 13
to Tom Sepez, Lei Zhang, pdfium-...@googlegroups.com

Pdfium LUCI CQ submitted the change

Change information

Commit message:
Always parse fonts with skia when checks requested.

Simplify extracting information from Skia in subsequent CLs.
Bug: 42271123
Change-Id: I9f403648f581a5df79e5b9c54c1b68dfaa6988fe
Reviewed-by: Lei Zhang <the...@chromium.org>
Commit-Queue: Tom Sepez <tse...@chromium.org>
Files:
  • M core/fxge/cfx_face.cpp
Change size: S
Delta: 1 file changed, 10 insertions(+), 1 deletion(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Lei Zhang
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: pdfium
Gerrit-Branch: main
Gerrit-Change-Id: I9f403648f581a5df79e5b9c54c1b68dfaa6988fe
Gerrit-Change-Number: 144732
Gerrit-PatchSet: 8
Gerrit-Owner: Tom Sepez <tse...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages