From: Marcin Romaszewicz (marcin++at++sgi.com)
Date: 06/05/2002 13:47:35
You're right. pfFont::getClassType will work, but the data for getType and
getTypeName is uninitialized in pfFont, so it defaults to pfObject. I will
fix this in the various performer versions.
-- Marcin
On Wed, 5 Jun 2002, Alexander Lechner wrote:
> Hi there,
>
> can someone please verify this (tested on Linux Performer 2.5 and IRIX
> Performer 2.2, 2.4).
>
> pfFont *font = new pfFont();
> printf("type: %s\n",font->getTypeName());
>
> returns 'pfObject' instead of 'pfFont'.
>
> Seems that someone forgot to set the correct type in pfFont::pfFont().
>
> Thanks,
>
> Alex
> --
> alexander.lechner++at++vertigo-systems.de
>
>
>
This archive was generated by hypermail 2b29 : Wed Jun 05 2002 - 13:47:39 PDT