If you look at the docs for SharedResourcePointer, it gives an example of a class MySharedData - you'd just create a class like that, and put your font in it. Its constructor would obviously have to initialise the font.
yeah, I followed that. I guess I'm not quite understanding if using the ScopedPointer in my example above is the right way to do things. that's the only way I know how to initialize the font with that Typeface::Ptr.
Font musicFont ( Typeface::createSystemTypefaceFor( BinaryData::MusiSync_ttf, BinaryData::MusiSync_ttfSize ) ); doesn't make the compiler happy, even tho you have a constructor in the font class that accepts TypeFace::Ptr's