Re: Question for C++ guru's..

From: Tomas Frydrych <tf_at_o-hand.com>
Date: Tue Dec 26 2006 - 19:27:33 CET

Forgot to say,

> If you want to call
> XAP_UnixGnomePrintGraphics::getFontHeight, you just need to override
> getFontHeight in GR_UnixPangoPrintGraphics:
>
> UT_uint32 GR_UnixPrintPangoGraphics::getFontHeight(GR_Font *font)
> {
> return m_pGnomePrint->getFontHeight(font);
> }
>

This actually cannot be done because GR_UnixPangoFont, used by
GR_UnixPangoGraphics, cannot be cast to PSFont, expected by
XAP_GnomePrintGraphics.

Tomas
Received on Tue Dec 26 19:28:01 2006

This archive was generated by hypermail 2.1.8 : Tue Dec 26 2006 - 19:28:01 CET