Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Antialiasing fonts...

  1. #11

    Antialiasing fonts...

    lol no problem, i was reading the OpenGL Red book for anything about antialiasing and found these, it doesnt really go in to that much depth about using all of them :?
    Thanx any ways, i am working on your font idea, and if all goes well i will post it and source here...
    M109uk
    <br />--------------------------------------------------------
    <br />www.pulse-soft.oneuk.com

  2. #12

    Antialiasing fonts...

    Ok i have written the new font generator, at the moment it hasnt been incorporated in to my engine and it takes about a minute or 2 to calculate the font at the moment, im going to see if i can speed it up as much as possible otherwise i will just have to save all the font data..

    When the font is generated in to a texture it renders 4 font styles: Normal, Bold, Italic, Bold and Italic into the same texture.

    When you call textout you can place format strings in to the text these
    are: (ignour the underscore!!)
    <_b>text<_/b> for Bold text
    <_i>text<_/i> for Italic text
    <s>text</s> for Bold and Italic text
    <c n,n,n>text</c> to colour the text

    The example in the screenshot is:
    <_b>Bio<_/b>-<_i>Sphere<_/i> - <s><c 1,0.5,0.5>XShell</c></s> [Font <c 0.5,0.5,1>viewer</c>]

    Bio-Sphere - XShell [Font viewer]

    Screenshots:


    M109uk
    <br />--------------------------------------------------------
    <br />www.pulse-soft.oneuk.com

  3. #13

    Antialiasing fonts...

    Hey,

    I'v cleaned up some of my code, but i couldnt find any way of speeding up the font generation, most of the time is spent smoothing it and drawing a shadow, so i have added an option to disable this effect.

    The original code for the font generation was from Nitrogens font studio 2, with a few modifications...

    Heres a new screenshot:


    and for the downloads:
    [Removed]
    M109uk
    <br />--------------------------------------------------------
    <br />www.pulse-soft.oneuk.com

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •