terminal/src/host/renderFontDefaults.hpp

28 lines
727 B
C++

/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- renderFontDefaults.hpp
Abstract:
- This provides the implementation of the interface that abstracts the lookup of default fonts from the actual rendering engine.
Author(s):
- Michael Niksa (miniksa) Mar 2016
--*/
#pragma once
#include "../renderer/inc/IFontDefaultList.hpp"
class RenderFontDefaults sealed : public Microsoft::Console::Render::IFontDefaultList
{
public:
RenderFontDefaults();
~RenderFontDefaults();
[[nodiscard]] HRESULT RetrieveDefaultFontNameForCodepage(const unsigned int codePage,
std::wstring& outFaceName);
};