info-inventor
[Top] [All Lists]

Re: Font Problem: SGI Open Inventor on Solaris: SoText2 text is cut

To: <kai.benndorf@xxxxxxxxxxxxx>
Subject: Re: Font Problem: SGI Open Inventor on Solaris: SoText2 text is cut
From: "Vincent S. Cojot" <coyote@xxxxxxxxxxxxxxx>
Date: Tue, 4 Mar 2003 08:45:09 -0500 (EST)
Cc: <info-inventor@xxxxxxxxxxx>
Importance: Normal
In-reply-to: <3E647F40.6090109@xxxxxxxxxxxxx>
References: <3E647F40.6090109@xxxxxxxxxxxxx>
Sender: info-inventor-bounce@xxxxxxxxxxx
Hello Kai,

> i want to use SGIs Open Inventor version under Solaris with the patch
> provided  by Vincent S. Cojot. I've got all compiled succesfully, but
> have a strange font  problem now:
>
> The text displayed from most of my SoText2 nodes is cut off in the
> middle.
>
> Really strange is, that this occurs only if i use the local display on
> my  Solaris machine, if i use a remote display on a linux system all
> texts are  displayed correctly.
>
> My environment:
>
> Sun Ultra 10 with Creator 3D
> Solaris 7
> inventor-2.1.5-9
> Solaris Patch from V. S. Cojot
> Freetype 2.1.3

I think it's the overlay problem that's been around (for me on Solaris)
since the begining and I have not taken the time to investigate it much
farther. Two things hint that it is that overlay problem:

1) you have a Creator3D card and that card defaults to a 8bpp default
overlay visual for the root window

and 2) it displays fine on Linux (remotely). Linux X servers usually have
no overlays (Unless you have an NVidia Quadro4 or a FireGL or
AcceleratedX) so the default visual is usually the best visual (be it
24bpp, 15bpp, 16bpp or 32bpp).

If you can run your local X server (Xsun) with a default root window at
24bpp, you will find that your text will most likely display fine but that
the editors (Material, Color, transform) will crash the application with a
seg fault.. In order to do this, you have to passe the "defdepth 24"
argument to Xsun (check the SUN FAQ's on how to do this if you really want
to).

But all in all, I really have no clue on how to fix that problem and no
time anyway... :( Sorry about that..

Vincent



,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote@xxxxxxxxxxxxxxx

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost




<Prev in Thread] Current Thread [Next in Thread>