#if defined(PDF_ENABLE_FONTATIONS)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?
SkTypeface* CFX_Face::GetOrCreateSkTypeface() {NOTE: at which point this would become a simple getter.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#if defined(PDF_ENABLE_FONTATIONS)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?
Can this be guarded by a run-time check rather than compile-time?
return result; // Private ctor.Comment is in the wrong place.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
#if defined(PDF_ENABLE_FONTATIONS)Lei ZhangNOTE: 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?
Can this be guarded by a run-time check rather than compile-time?
Probably, but yet another initialization parameter. I'll leave it for fontations at the moment.
Comment is in the wrong place.
Done
NOTE: at which point this would become a simple getter.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#if defined(PDF_ENABLE_FONTATIONS)Lei ZhangNOTE: 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?
Tom SepezCan this be guarded by a run-time check rather than compile-time?
Probably, but yet another initialization parameter. I'll leave it for fontations at the moment.
Isn't it just a `CFX_FontMgr::font_backend_` query, exposed via CFX_GEModule?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#if defined(PDF_ENABLE_FONTATIONS)Lei ZhangNOTE: 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?
Tom SepezCan this be guarded by a run-time check rather than compile-time?
Lei ZhangProbably, but yet another initialization parameter. I'll leave it for fontations at the moment.
Isn't it just a `CFX_FontMgr::font_backend_` query, exposed via CFX_GEModule?
I'm cheating. I actually want to check that normal skia returns the same things in a follow-on CL. Suggestions?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
#if defined(PDF_ENABLE_FONTATIONS)Lei ZhangNOTE: 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?
Tom SepezCan this be guarded by a run-time check rather than compile-time?
Lei ZhangProbably, but yet another initialization parameter. I'll leave it for fontations at the moment.
Tom SepezIsn't it just a `CFX_FontMgr::font_backend_` query, exposed via CFX_GEModule?
I'm cheating. I actually want to check that normal skia returns the same things in a follow-on CL. Suggestions?
Maybe write a TODO or have some other reminder to eventually stop cheating?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |