
Web tests depend on Ahem being available as a system font. To achieve this, the DWriteFontProxy sideloads Ahem in its internal collection. This doesn't provide Ahem to the browser process' underlying font manager, which makes it so FontDataManager can't see Ahem in web tests. This CL sideloads the font in the browser's dwrite font manager, which is used by the FontDataManager. This allows web tests that depend on Ahem to pass when using FontDataManager. Bug: None Change-Id: Id56da6ac99070a4ac7f65436b86e68cd5c6de320 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6250577 Reviewed-by: Etienne Bergeron <etienneb@chromium.org> Commit-Queue: Anthony Vallée-Dubois <anthonyvd@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/main@{#1418296}