Results 1 to 4 of 4

Thread: Printing the WGL fonts

  1. #1
    Member Newbie
    Join Date
    Jun 2006
    Location
    Coimbatore
    Posts
    40

    Printing the WGL fonts

    Hi,

    Am creating fonts using wglUseFontOutlines in OpenGL. But the image i have drawn is getting printed.. But the fonts are not getting printed.. Suggest me your ideas..

    Thanks in advance,
    Sangeetha. J
    Thanks & Regards,
    Sangeetha

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: Printing the WGL fonts

    You would need to be a bit more specific, maybe you can post som part of your code, there are a lot of different things that can cause problems.

  3. #3
    Member Newbie
    Join Date
    Jun 2006
    Location
    Coimbatore
    Posts
    40

    Re: Printing the WGL fonts

    Hi mikael,

    I have kept two options for the OnPaint() function. In one option, it will call the DesignDraw() function and in another option it will call the TextDraw() function. While in first option, i can able to see the design drawn on the screen, and could take the print out of the image displayed on the screen.. Print out in the sense am taking as a PDF output. But while selecting the second option I could see the text displayed in the screen. But while in print preview nothing is getting displayed even though the text is displayed in the screen. i didnt know why.
    Thanks & Regards,
    Sangeetha

  4. #4
    Member Newbie
    Join Date
    Jun 2006
    Location
    Coimbatore
    Posts
    40

    Re: Printing the WGL fonts

    Hi Mikael,

    I am displaying the fonts using WGL function.. i.e., WGLFontOutlines.. If u could not get me i will post some part of my code..
    Thanks & Regards,
    Sangeetha

Similar Threads

  1. printing
    By balakrish in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-04-2006, 05:59 AM
  2. bitmap fonts vs texture fonts
    By ehsan2004 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-31-2005, 03:24 AM
  3. MAC OS X printing.
    By Iqbal Nasir in forum OpenGL: macOS
    Replies: 1
    Last Post: 04-30-2003, 01:15 PM
  4. printing..
    By Nial in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-27-2002, 12:03 AM
  5. Dimensioning and printing
    By B.Simhachalam in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 09-12-2001, 12:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean