Hi,
Not sure if this is an error or just unexpected behavior on my part. When I use Iw2DCreateFontResource() I noticed it sets the new font as the current one. Is this supposed to happen? Unless I missed it, the documentation does not appear to mention this behavior.
Knowing you Airplay folks are usually busy... I can work around this. With having Iw2DSetFont() and Iw2DGetFont(), I was not expecting any other function to set the font. Wanted to bring this up in case it's an error.
Thanks,
Steven












This is intentional (so it don't require a SetFont call if only one font exists). It should be documented though.
A quick mention in the API reference under Iw2DCreateFont and Iw2DCreateFontResource such as "creates font and sets as the current one for drawing" is good enough for me.
Steven _
Yep, I'll get this added.