Hi all, just a question regarding writing text to a bitmap via CFbsBitGc. I'm able to write successfully using the following function to set the text font:
However when I change aFontName, my font doesn't change - even using standard font names "Courier", "Arial", or "Roman" doesn't make any difference. Is my font-changing function missing anything obvious?
void CGLMessage::SetCurrentFont(const TDesC& aFontName, TInt aFontSize)
myFontSpec = TFontSpec(aFontName, aFontSize);
iBackBufferDevice->GetNearestFontInPixels(iFont,myFontSpec); // CFbsBitmapDevice
iBackBufferContext->UseFont(iFont); // CFbsBitGc
iBackBufferContext->SetPenStyle( CGraphicsContext::ESolidPen );
Also, I've been unable to find any reference material as to what font names I should be able to use - I don't know if this is different for different Symbian versions or different devices... Any clues?