Re: How to rotate X Window font???

New Message Reply Date view Thread view Subject view Author view

Swapnil Sha (swapnil++at++teil.soft.net)
Sun, 18 May 1997 16:35:15 -0530 (IST)


Hi,
I'm not too much in this all, but i guess following solution.

How about rotating before calling pfuMakeRasterXFont() ???

Because, pfuMakeRasterXFont creates the "DisplayList", which is nothing but
loading of stencil or something for particular font. Now if you load rotated
stencil (display list), the drawing then after will be rotated one.

just have a trial with this logic.
best luck :)
-swapnil

According to IRIS Performer user group:
>
> Hello,
>
> I use pfuMakeRasterXFont to load the X Window font and use
> pfuDrawStringPos to draw the font. I draw the font in the draw callback
> function. It work well. Now, I need to rotate the font. I try to use glRotatef
> before calling pfuDrawStringPos but it does not work. Can you tell me how to
> rotate the font? I will appreciate for you help. Have a nice day.
>
> --

--------
    swapnil++at++teil.soft.net
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:15 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.