diff options
| author | Nicky Dasmijn <nicky.dasmijn@posteo.nl> | 2024-04-05 19:25:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-05 20:25:02 +0300 |
| commit | 57d423745fd1d3d0ea6a0c69b869a20c27e27fc5 (patch) | |
| tree | f590e086983c7277e4b05fcd54c3eebf6b12f43a /indra/llrender/llfontfreetypesvg.cpp | |
| parent | cc8d71c18c124138e76e85e663498d2ee9776b3c (diff) | |
Linux viewer (ReleaseOS) resurrection (#1099)
Co-authored-by: AiraYumi <aira.youme@airanyumi.net>
Diffstat (limited to 'indra/llrender/llfontfreetypesvg.cpp')
| -rw-r--r-- | indra/llrender/llfontfreetypesvg.cpp | 4 |
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 |
