Font Glyph Data?

Hey, sorry for the noob question, i spent lot of time for search but couldn’t find any answer.

Is it possible to get glyph vector path data from any font of character?
I don’t need font metrics, i need vectoral points and curves.

For example: Font Inspector
Click any character and you will see at the right bottom that “contours” data. This is what i need in UE4.

Thank you!

I don’t think you can do that at least with UE4 APIs, UE4 use FreeType library to rasterize the font straight away since Slate have don’t any use font vector data rether font atlas textures as GPU handle it a lot easier. I can only see point being transfer to FCachedGlyphData struct in FFontCacheFreeType but it a private

https://github.com/EpicGames/UnrealEngine/blob/7d9919ac7bfd80b7483012eab342cb427d60e8c9/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCacheFreeType.cpp

You best luck is to try to use FreeType direcly as file above does, you would need add this to depncies:

		if (Target.bCompileFreeType)
		{
			AddEngineThirdPartyPrivateStaticDependencies(Target, "FreeType2");
			PublicDefinitions.Add("WITH_FREETYPE=1");
		}
		else
		{
			PublicDefinitions.Add("WITH_FREETYPE=0");
		}

Same as SlateCore does