This source file includes following definitions.
- setUseDirectWrite
- setDirectWriteFactory
- setUseSubpixelPositioning
#include "config.h"
#include "public/web/win/WebFontRendering.h"
#include "platform/fonts/FontCache.h"
namespace blink {
void WebFontRendering::setUseDirectWrite(bool useDirectWrite)
{
WebCore::FontCache::setUseDirectWrite(useDirectWrite);
}
void WebFontRendering::setDirectWriteFactory(IDWriteFactory* factory)
{
WebCore::FontCache::setDirectWriteFactory(factory);
}
void WebFontRendering::setUseSubpixelPositioning(bool useSubpixelPositioning)
{
WebCore::FontCache::setUseSubpixelPositioning(useSubpixelPositioning);
}
}