Bug 1066679: Make DrawTargetDWrite::GetPathsForGlyphs recognize D2D 1.1. r=jrmuizel

This commit is contained in:
Bas Schouten 2014-09-14 23:52:46 +02:00
parent 2dcf343d5b
commit 08c8b645b8

View File

@ -309,7 +309,7 @@ ScaledFontDWrite::ScaledFontDWrite(uint8_t *aData, uint32_t aSize,
TemporaryRef<Path>
ScaledFontDWrite::GetPathForGlyphs(const GlyphBuffer &aBuffer, const DrawTarget *aTarget)
{
if (aTarget->GetBackendType() != BackendType::DIRECT2D) {
if (aTarget->GetBackendType() != BackendType::DIRECT2D && aTarget->GetBackendType() != BackendType::DIRECT2D1_1) {
return ScaledFontBase::GetPathForGlyphs(aBuffer, aTarget);
}