https://www.chromium.org/developers/design-documents/directwrite-font-cache
- DirectWrite relies on Font Cache Service for system installed fonts.
- It communicates with Font Cache service over Windows mostly undocumented and traditional IPC mechanism of ALPC (Asynchronous Local Procedure Call.)
- We used this concept to enable DirectWrite in current release by loading system font files as custom fonts.
- DirectWrite allows loading of Custom Fonts separately from System Fonts.
http://blog.chromium.org/2014/07/chrome-37-beta-directwrite-on-windows.html
- Before DirectWrite, Chrome used the Graphics Device Interface (GDI) to render text.
CEF bugs
- https://bugs.chromium.org/p/chromium/issues/detail?id=363898
- Text disappears from time to time
- reported v35, fixed in v37, possible regression in v48
- https://bugs.chromium.org/p/chromium/issues/detail?id=235303
- Text not visible while external font downloading
fontLoadWaitLimitExceeded
shouldSkipDrawing