Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: TBGL Font Creator [ UPDATED Feb 23 2013 ]

Share/Bookmark
  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,759
    Blog Entries
    3
    Rep Power
    688

    TBGL Font Creator [ UPDATED Feb 23 2013 ]

    Hi all,

    This tool allows you to create BMP texture in power of two size from 256x256 to 4096x4096 for use with TBGL_LoadBMPFont.

    Sizes 256x256 and 512x512 are safe for any hardware today, for the bigger ones better to check first for supported texture size.


    Hope you will like it,
    Petr

    Updates
    1.1 - saves to TGA with alpha, color fades for font
    1.3 - allows elemental shading and outlining
    1.4 - application has fixed size window, ability to export 256x256, 512x512, 1024x1024, 2048x2048 and also 4096x4096 bitmaps
    1.5 - user can specify shadow offset
    1.6 - added support for symbol fonts (thanks Rene for noticing problem)
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	TBGL_FontCreator.png 
Views:	111 
Size:	66.7 KB 
ID:	8136  
    Attached Files Attached Files
    Last edited by Petr Schreiber; 25-02-2013 at 21:15.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,091
    Blog Entries
    2
    Rep Power
    10

    Re: TBGL Font Creator

    No Petr, I DO NOT LIKE !!!!

    I do not like that you waited so long to give this 41Kb perl to the world !!!
    You will be punished! Be prepared!

    ;D ;D ;D
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,091
    Blog Entries
    2
    Rep Power
    10

    Re: TBGL Font Creator

    I was so upset that ... > >

    ;D I have created a dedicated forum !!! ;D
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,759
    Blog Entries
    3
    Rep Power
    688

    Re: TBGL Font Creator

    ;D

    Eros - worst is I started to code that program before 2 hours.
    TBGL_LoadBMPFont is in TBGL since 2005 aaargh

    Thanks for new forum branch !


    Bye,
    Petr

    P.S. In the meantime I am getting ready for the punishment. Must locate nearest gunstore ...
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  5. #5
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Blog Entries
    1
    Rep Power
    153

    Re: TBGL Font Creator

    Ive been using this because it does alpha channels.

    Attached Files Attached Files
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  6. #6
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,759
    Blog Entries
    3
    Rep Power
    688

    Re: TBGL Font Creator

    Hi Abraxas,

    nice one, I didn't knew about this.

    I used other good one, but it was not localised to english so it could be bothering for someone.
    I think it could be good to create "TBGL certified" tools with no need to be scared of license and other stuff too, so will try to improve TBGL Font Creator in future.


    Thanks,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  7. #7
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,759
    Blog Entries
    3
    Rep Power
    688

    Re: TBGL Font Creator

    Hmm,

    so you must be sad TBGL loads just not alphed BMPs for fonts...
    I have modified TBGL_LoadBMPFont code to take both BMP and TGA now, it will be present in next TBGL ( 0.2.1 ) release.


    Bye,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  8. #8
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    61
    Posts
    3,867
    Rep Power
    397

    Re: TBGL Font Creator

    Petr, this is most excellent. A valuable tool and wonderful new addition. I am so glad you are on summer break and have time to create wonders for us!!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  9. #9

    Re: TBGL Font Creator

    Excellent Programme Petr.

    Some Months ago someone on the Basic4GL Forum wrote a Font Conversion Programme which would convert TTF Fonts to a 256x256 PNG Charset. You can read about it here.

    But it was written in GFA Basic and didn't work on some peoples Computers. :P

    Is there any chance that you could add the option to save the Texture in the PNG Format?
    Operating System: Windows 10 Home 64-bit
    CPU: AMD C-70 APU 40nm Technology
    Memory: 4.00GB DDR3 @ 533MHz
    Graphics: 256MB ATI AMD Radeon HD 7290 Graphics

  10. #10
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,759
    Blog Entries
    3
    Rep Power
    688

    Re: TBGL Font Creator



    Thanks a lot for the replies!

    Matthew, PNG fileformat seems to be my destiny, like Prince of Persia was chased by Dahaka beast, I wake up at night crying "PNG!"
    B4GL proggie looks very cool!

    Writing of the PNG file should be easier than reading, I will see what I can do.
    TGA with alpha should be easy, and will be probably done first.

    I have also planed few post process features for the bitmap, will see how fast it will go.


    Thanks,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

Page 1 of 4 123 ... LastLast

Tags for this Thread

Posting Permissions

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