Excessive slate font warnings using UCanvas::WrapString

It would be nice to get rid of these. I’m using Slate but not really to draw anything (though some places use UMG) - most of my UI is draw using UCanvas commands.

They occur on iPAD, don’t think I’ve seen them on PC.

These are the warnings:

LogSlate:Warning: GetFontFace failed to load or process '../../../Engine/Content/Slate/Fonts/DroidSansFallback.ttf'
2017-06-21 12:32:17.743522-0700 Matchoo[5406:3075000] [2017.06.21-19.32.17:743][314]LogSlate:Warning: GetFontFace failed to load or process '../../../Engine/Content/Slate/Fonts/DroidSansFallback.ttf'
LogStreaming:Warning: Failed to read file '../../../Engine/Content/SlateDebug/Fonts/LastResort.ttf' error.
2017-06-21 12:32:17.743950-0700 Matchoo[5406:3075000] [2017.06.21-19.32.17:743][314]LogStreaming:Warning: Failed to read file '../../../Engine/Content/SlateDebug/Fonts/LastResort.ttf' error.

This is the callstack:

#0	0x012b273a in FFileHelper::LoadFileToArray(TArray<unsigned char, FDefaultAllocator>&, wchar_t const*, unsigned int) at /Users/thomasshepherd/MM/Engine/Source/Runtime/Core/Private/Misc/FileHelper.cpp:30
#1	0x017ddc5c in FCompositeFontCache::GetFontFace(FFontData const&) at /Users/thomasshepherd/MM/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCacheCompositeFont.cpp:298
#2	0x017e5dda in FSlateFontRenderer::GetFontFaceForCharacter(FFontData const&, wchar_t, EFontFallback) const at /Users/thomasshepherd/MM/Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontRenderer.cpp:211
#3	0x017d54c0 in FSlateFontRenderer::CanLoadCharacter(FFontData const&, wchar_t, EFontFallback) const [inlined] at /Users/thomasshepherd/MM/Engine/Source/Runtime/SlateCore/Private/Fonts/SlateFontRenderer.cpp:180
#4	0x017d54b0 in FCharacterList::CanCacheCharacter(wchar_t, EFontFallback) [inlined] at /Users/thomasshepherd/MM/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp:617
#5	0x017d5484 in FCharacterList::GetCharacter(wchar_t, EFontFallback) at /Users/thomasshepherd/MM/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp:653
#6	0x0350b272 in UFont::GetCharSize(wchar_t, float&, float&) const at /Users/thomasshepherd/MM/Engine/Source/Runtime/Engine/Private/Font.cpp:201
#7	0x03db0c2a in UCanvas::MeasureStringInternal(FTextSizingParameters&, wchar_t const*, int, int, UCanvas::ELastCharacterIndexFormat, int&) at /Users/thomasshepherd/MM/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp:1038
#8	0x03db0286 in FCanvasWordWrapper::DoesSubstringFit(FCanvasWordWrapper::FWrappingState&, int) [inlined] at /Users/thomasshepherd/MM/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp:146
#9	0x03db0254 in FCanvasWordWrapper::ProcessLine(FCanvasWordWrapper::FWrappingState&) at /Users/thomasshepherd/MM/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp:78
#10	0x03dafe7c in FCanvasWordWrapper::Execute(wchar_t const*, FTextSizingParameters const&, TArray<FWrappedStringElement, FDefaultAllocator>&, TArray<TPair<int, int>, FDefaultAllocator>*) at /Users/thomasshepherd/MM/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp:62
#11	0x03db7ce4 in UCanvas::WrapString(FCanvasWordWrapper&, FTextSizingParameters&, float, wchar_t const*, TArray<FWrappedStringElement, FDefaultAllocator>&, TArray<TPair<int, int>, FDefaultAllocator>*) at /Users/thomasshepherd/MM/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp:1107
#12	0x00fe29fc in UIFonts::WrapString(wchar_t const*, UIFonts::Type, float, float, float, TArray<FString, FDefaultAllocator>&, TArray<FVector2D, FDefaultAllocator>*, TArray<UIFonts::WrappedLineInfoOut, FDefaultAllocator>*) at /Users/thomasshepherd/MM/Matchoo/Source/Matchoo/UIObjects/MM_HUD.cpp:1445
#13	0x00ec82e2 in UIFonts::WrapString(wchar_t const*, UIFonts::Type, float, float, TArray<FString, FDefaultAllocator>&, TArray<FVector2D, FDefaultAllocator>*) at /Users/thomasshepherd/MM/Matchoo/Source/Matchoo/UIObjects/UIResources.h:122
#14	0x00ec763c in ScreenPopup::OnDrawHUD(UCanvas*) at /Users/thomasshepherd/MM/Matchoo/Source/Matchoo/Screens/ScreenPopup.cpp:68

The string passed in is:

txtToWrap	const TCHAR *	L"This item is owned but requires a download. Please proceed to confirm download\nNo credit will be used"	0x102fd300

The font passed in is a app font which renders fine.

So it looks like there is something in that string that is triggering a search for a fallback font which is failing. Most of my code sizes text as needed rather than every frame but a some of the legacy code is still every frame and this dominates the