Load juce::font with freetype


#1

Hello

I use directly freetype to render fonts in my graphical application. The user must be able to chose 1 font in a list of fonts installed on his system (mac-windows). Is there a way to get the underlying raw font data (true-type .ttf file) from a juce::font to be able to load it with freetype ? 

Thanks


#2

No.. The whole thing was designed the opposite way around, so that juce abstracts the implementation details (which may involve CoreText, DirectWrite, freetype, etc etc actually managing the font data) and handles the rendering via whatever system is appropriate. The underlying font data that you want may not even exist, depending on the source of the font!