Hi
IMHO the code at wxFontBase::AddPrivateFont has a wrong check at the beginning, it does not search for the file at the right place, try just commenting that out, IIRC things should just work then ..
HTH
Stefan
Hi
IMHO the code at wxFontBase::AddPrivateFont has a wrong check at the beginning, it does not search for the file at the right place, try just commenting that out, IIRC things should just work then ..
Haha thanks! Wow, they should really fix that, seeing as the whole point of that function on Mac is to tell you if you've configured your font correctly.
Sorry, I have to correct myself, apparently the API is meant to be using with the full path, not the filename only. So you’d have to use
wxStandardPaths::Get().GetResourcesDir() , append the ‘Fonts’ dir and your filename
when calling this function
Best,
Stefan