From e139a407ec6ff8f50a1833f161c3a471623e10b9 Mon Sep 17 00:00:00 2001 From: Magnus Maynard Date: Sat, 15 Dec 2018 15:55:58 +0000 Subject: [PATCH] Updating Holographic samples to use a font supported by the HoloLens. --- Samples/HolographicFaceTracking/cpp/Content/TextRenderer.cpp | 2 +- Samples/HolographicTagAlong/cpp/Content/TextRenderer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Samples/HolographicFaceTracking/cpp/Content/TextRenderer.cpp b/Samples/HolographicFaceTracking/cpp/Content/TextRenderer.cpp index b86608616d..7bd374582a 100644 --- a/Samples/HolographicFaceTracking/cpp/Content/TextRenderer.cpp +++ b/Samples/HolographicFaceTracking/cpp/Content/TextRenderer.cpp @@ -122,7 +122,7 @@ concurrency::task TextRenderer::CreateDeviceDependentResourcesAsync() // This is where we format the text that will be written on the render target. DX::ThrowIfFailed( m_deviceResources->GetDWriteFactory()->CreateTextFormat( - L"Consolas", + L"Segoe UI", NULL, DWRITE_FONT_WEIGHT_NORMAL, DWRITE_FONT_STYLE_NORMAL, diff --git a/Samples/HolographicTagAlong/cpp/Content/TextRenderer.cpp b/Samples/HolographicTagAlong/cpp/Content/TextRenderer.cpp index b29d5e62e6..27d9847727 100644 --- a/Samples/HolographicTagAlong/cpp/Content/TextRenderer.cpp +++ b/Samples/HolographicTagAlong/cpp/Content/TextRenderer.cpp @@ -121,7 +121,7 @@ void TextRenderer::CreateDeviceDependentResources() // This is where we format the text that will be written on the render target. DX::ThrowIfFailed( m_deviceResources->GetDWriteFactory()->CreateTextFormat( - L"Consolas", + L"Segoe UI", NULL, DWRITE_FONT_WEIGHT_NORMAL, DWRITE_FONT_STYLE_NORMAL,