diff options
Diffstat (limited to 'ui/gfx/render_text_win.h')
-rw-r--r-- | ui/gfx/render_text_win.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/gfx/render_text_win.h b/ui/gfx/render_text_win.h index 6e9059e..7fb8d86 100644 --- a/ui/gfx/render_text_win.h +++ b/ui/gfx/render_text_win.h @@ -118,6 +118,9 @@ class RenderTextWin : public RenderText { // Cached map from font names to vectors of linked fonts. static std::map<std::string, std::vector<Font> > cached_linked_fonts_; + // Cached map from font name to the last successful substitute font used. + static std::map<std::string, Font> successful_substitute_fonts_; + SCRIPT_CONTROL script_control_; SCRIPT_STATE script_state_; |