diff options
author | crupest <crupest@outlook.com> | 2018-09-04 20:24:07 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-04 20:24:07 +0800 |
commit | eebec8297a8538c40518ceee043edfc41e3b1343 (patch) | |
tree | 6050abc691cf99ae623231aeb4749f69610748f3 /CruUI/graph/graph.cpp | |
parent | dc1d739f833d594c2bafb6e70e59077756b5d607 (diff) | |
download | cru-eebec8297a8538c40518ceee043edfc41e3b1343.tar.gz cru-eebec8297a8538c40518ceee043edfc41e3b1343.tar.bz2 cru-eebec8297a8538c40518ceee043edfc41e3b1343.zip |
...
Diffstat (limited to 'CruUI/graph/graph.cpp')
-rw-r--r-- | CruUI/graph/graph.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CruUI/graph/graph.cpp b/CruUI/graph/graph.cpp index 49616a6f..4f65a86c 100644 --- a/CruUI/graph/graph.cpp +++ b/CruUI/graph/graph.cpp @@ -186,6 +186,8 @@ namespace cru { __uuidof(IDWriteFactory), reinterpret_cast<IUnknown**>(dwrite_factory_.GetAddressOf()) )); + + dwrite_factory_->GetSystemFontCollection(&dwrite_system_font_collection_); } GraphManager::~GraphManager() |