summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontfreetypesvg.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-02 15:39:10 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-02 15:39:10 -0400
commit44eaaa507cf96c1e456fe48fd6969c6ace66b919 (patch)
treef39536623c5f9fff80ef94bd15d3a6f21ef10403 /indra/llrender/llfontfreetypesvg.cpp
parent2c1647e84cfb3fd712f665cdc77a772deb80aff9 (diff)
parentf69ac40e24e78fe265c81ff3785c185229764151 (diff)
Merge remote-tracking branch 'release/maint-b' into nat/maint-b-tests
Diffstat (limited to 'indra/llrender/llfontfreetypesvg.cpp')
-rw-r--r--indra/llrender/llfontfreetypesvg.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llrender/llfontfreetypesvg.cpp b/indra/llrender/llfontfreetypesvg.cpp
index 19d327a4c9..6c44fdd150 100644
--- a/indra/llrender/llfontfreetypesvg.cpp
+++ b/indra/llrender/llfontfreetypesvg.cpp
@@ -80,6 +80,7 @@ void LLFontFreeTypeSvgRenderer::OnDataFinalizer(void* objectp)
//static
FT_Error LLFontFreeTypeSvgRenderer::OnPresetGlypthSlot(FT_GlyphSlot glyph_slot, FT_Bool cache, FT_Pointer*)
{
+#ifndef LL_NO_OTSVG
FT_SVG_Document document = static_cast<FT_SVG_Document>(glyph_slot->other);
llassert(!glyph_slot->generic.data || !cache || glyph_slot->glyph_index == ((LLSvgRenderData*)glyph_slot->generic.data)->GlyphIndex);
@@ -166,6 +167,9 @@ FT_Error LLFontFreeTypeSvgRenderer::OnPresetGlypthSlot(FT_GlyphSlot glyph_slot,
}
return FT_Err_Ok;
+#else
+ return FT_Err_Unimplemented_Feature;
+#endif
}
// static