#### Archived

This topic is now archived and is closed to further replies.

# Font rotation

This topic is 5677 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hello, Is it possible to rotate the font displayed with lesson13 in NEHE''s course ? I tried to use glRotatef before and after glPrint, but with no success. Thanks, Zvika Vered.

##### Share on other sites
have you tried it with leaving the rotate after it out?

just a guess

mfg Phreak

##### Share on other sites
quote:
Original post by LousyPhreak
have you tried it with leaving the rotate after it out?

just a guess

mfg Phreak

Hello,

I tried using glRotate after glPrint. But the font
was not rotated.

Bye,
Zvika.

##### Share on other sites
I noticed in the other NeHe tutorials that he does the glrootatef prior to drawing the object. Maybe this is the solution?

-Ron

##### Share on other sites
quote:
Original post by ryacketta
I noticed in the other NeHe tutorials that he does the glrootatef prior to drawing the object. Maybe this is the solution?

-Ron

I tried glRotatef before and after glPrint. But the text
is not rotated.

Bye,
Zvika.

  glvertex3f(1,0,0); //not rotated (just by earlier rotations)glRotatef(1,0,0,1); //following vertices are rotated around the z axis 1rad) attention if there is previous rotation glVertex3f(1,0,0); // this vertex is rotated by the prior call of glRotate...