1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_GFX_WIN_DIRECT_WRITE_H_
6 #define UI_GFX_WIN_DIRECT_WRITE_H_
8 #include "ui/gfx/gfx_export.h"
13 // Returns whether DirectWrite font rendering should be used.
14 GFX_EXPORT
bool ShouldUseDirectWrite();
16 GFX_EXPORT
void MaybeInitializeDirectWrite();
18 // Returns true if we are using DirectWrite for font metrics and rendering.
19 GFX_EXPORT
bool IsDirectWriteEnabled();
24 #endif // UI_GFX_WIN_DIRECT_WRITE_H_