Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

LibFB: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox homebrew
{{Infobox DS Homebrews
| title       = LibFB
|title=LibFB
| image       = [[File:Libfbsampleds.png]]
|image=Libfb4.png
| type        = PC Utility
|description=A set of routines that display wordwrapped variable width fonts.
| version    = 11/20/2007  
|author=DragonMinded (Shaun Taylor)
| licence    = Mixed
|lastupdated=2007/11/20
| author      = DragonMinded (Shaun Taylor)
|type=Development
| website     = http://www.dragonminded.com/ndsdev/libfb/
|version=2007
| download    = Media:Libfb.zip
|license=Mixed
| source      = Media:Libfbdssrc.zip
|download=https://dlhb.gamebrew.org/dshomebrew2/libfb.7z
}}  
|website=http://www.dragonminded.com/ndsdev/libfb
 
|source=http://www.dragonminded.com/ndsdev/libfb
LibFB is a set of routines that display wordwrapped variable width fonts using the DS extended rotation buffer mode on both screens.  
}}
 
LibFB is a set of routines that display wordwrapped variable width fonts using the DS extended rotation buffer mode on both screens. This library also does not need c++.
This library also does not need c++.


==Features==  
==Features==  
Line 24: Line 23:


==User guide==
==User guide==
* [http://gamebrew.org/wiki/File:Libfbdstools.zip LibFB tools].
The package contains the following:
* [http://gamebrew.org/wiki/File:Libfbdsfonts.zip LibFB Fonts].
* LibFB, tools and fonts.
 
* Sample and source.
[[File:Libfbsampleds2.png]]
* Happycat Demo and source.
 
'''Sample''' - [http://gamebrew.org/wiki/File:Libfbdssample.rar Sample (.nds and .ds.gba)] and [http://gamebrew.org/wiki/File:Libfbdssamplesrc.zip source].


'''Demo''' - [https://dragonminded.com/ndsdev/happycat.nds happycat.nds], [https://dragonminded.com/ndsdev/happycat.ds.gba happycat.ds.gba] and [https://dragonminded.com/ndsdev/happycat.zip source.]
==Screenshots==
https://dlhb.gamebrew.org/dshomebrew/libfb2.png
https://dlhb.gamebrew.org/dshomebrew/libfb.png


==Changelog==
==Changelog==
'''11/20/2007'''
'''2007/11/20'''
* Added orientation feature to both screens. Fixed some minor bugs.
* Added orientation feature to both screens. Fixed some minor bugs.


'''9/25/2007 '''
'''2007/9/25'''
* Added select feature, fixed a cursor bug, some minor speed improvements.
* Added select feature, fixed a cursor bug, some minor speed improvements.


'''4/27/2007 '''
'''2007/4/27'''
* Many optimizations to the sprite and text engine resulting in much faster code.
* Many optimizations to the sprite and text engine resulting in much faster code.


'''1/13/2007 '''
'''2007/1/13'''
* Fixed the last wordwrapping bug in the text rendering engine and optimized it a bit. Also, separated the code so features not used will not be compiled in for smaller executables. Also, the font tool has been updated to support new characters, and a new fixed width font has been included in the fonts collection. The libfb.h file now includes documentation on the libFB API for any wondering exactly how to use it.
* Fixed the last wordwrapping bug in the text rendering engine and optimized it a bit. Also, separated the code so features not used will not be compiled in for smaller executables. Also, the font tool has been updated to support new characters, and a new fixed width font has been included in the fonts collection. The libfb.h file now includes documentation on the libFB API for any wondering exactly how to use it.


'''9/16/2006 '''
'''2006/9/16'''
* Changed the font functions to support any character from 32-254 on the ascii chart (255 is reserved, anything under 32 is too). Also deleted the setOldFont routine as it was horrible. Also, updated the toolsets.
* Changed the font functions to support any character from 32-254 on the ascii chart (255 is reserved, anything under 32 is too). Also deleted the setOldFont routine as it was horrible. Also, updated the toolsets.


'''8/07/2006 '''
'''2006/8/07'''
* Changed some functions so that you can pass a font directly instead of setting the font first, added in setOldFont, a few general improvements and such. All fonts included in the font rar are also properly compressed so as to save you space in your executable.
* Changed some functions so that you can pass a font directly instead of setting the font first, added in setOldFont, a few general improvements and such. All fonts included in the font rar are also properly compressed so as to save you space in your executable.


'''6/21/2006 '''
'''2006/6/21'''
*I've forgotten what all I've added and improved in this version, but it includes support for bold, underline and italics. Also, fixes a few small bugs I've found, and improves cursor management.
*I've forgotten what all I've added and improved in this version, but it includes support for bold, underline and italics. Also, fixes a few small bugs I've found, and improves cursor management.


'''2/23/2006 '''
'''2006/2/23'''
*A few new functions available, vast improvement to font rendering engine that takes care of some wordwrapping issues, adds in managed cursors, and adds in ability to display umlats and accented characters to some extent. Also fixes random crash bugs due to undisplayable characters. New dsfont.exe as well to generate the extended fonts. Check it out as it is a vastly improved version.
*A few new functions available, vast improvement to font rendering engine that takes care of some wordwrapping issues, adds in managed cursors, and adds in ability to display umlats and accented characters to some extent. Also fixes random crash bugs due to undisplayable characters. New dsfont.exe as well to generate the extended fonts. Check it out as it is a vastly improved version.


'''1/29/2006 '''
'''2006/1/29'''
* Added in several cursor functions and the ability to change the font on the fly. Also in this release is a font creation utility to aide you in getting your favorite fonts in your program. Also refined some functions and added a hollow rectangle drawing function.
* Added in several cursor functions and the ability to change the font on the fly. Also in this release is a font creation utility to aide you in getting your favorite fonts in your program. Also refined some functions and added a hollow rectangle drawing function.


'''1/15/2006 '''
'''2006/1/15/'''
* A few new things in this update. First, consolidated a few functions that did not need to have duplicates, such as character width, height, etc... Also added functions that allow you to supply a raw buffer and use the sprite and wrapped text functions on your own 15bit color backgrounds. Also added the ability to draw text or sprites inverted.
* A few new things in this update. First, consolidated a few functions that did not need to have duplicates, such as character width, height, etc... Also added functions that allow you to supply a raw buffer and use the sprite and wrapped text functions on your own 15bit color backgrounds. Also added the ability to draw text or sprites inverted.


'''10/13/2005 '''
'''2005/10/13'''
* Have been sitting on this update for awhile, but decided to release it, seeing as the DS Text editor requires it to run properly. This release includes built in display for pallated sprites. This allows you to save space by compressing your sprites to achieve up to around 80% savings. Also, finally made the tools for converting sprites available online.
* Have been sitting on this update for awhile, but decided to release it, seeing as the DS Text editor requires it to run properly. This release includes built in display for pallated sprites. This allows you to save space by compressing your sprites to achieve up to around 80% savings. Also, finally made the tools for converting sprites available online.


'''8/25/2005 '''
'''2005/8/25'''
* MAJOR improvements to libfb including hardware fix for the clear rpg boxes. This is now a quite usable library and you are all encouraged to make use of it in your homebrew programs.
* MAJOR improvements to libfb including hardware fix for the clear rpg boxes. This is now a quite usable library and you are all encouraged to make use of it in your homebrew programs.


'''8/12/2005 '''
'''2005/8/12'''
* Updated to show off multiple screen capabilities.
* Updated to show off multiple screen capabilities.


'''8/07/2005 '''
'''2005/8/07'''
* Updated arm9.c to not include the framebuffer library and created the necissary library files to link to libfb.
* Updated arm9.c to not include the framebuffer library and created the necissary library files to link to libfb.


'''8/05/2005 '''
'''2005/8/05'''
* Updated make process to run with new r15 of devkitpro and new libnds. Also runs with just standard make command now.
* Updated make process to run with new r15 of devkitpro and new libnds. Also runs with just standard make command now.


'''8/04/2005 '''
'''2005/8/04'''
* Updated sources with a dispChar function, and a few more graphics for the font.
* Updated sources with a dispChar function, and a few more graphics for the font.


'''8/02/2005 '''
'''2005/8/02'''
* First release posted.  
* First release posted.  


<br>
==External links==
[[Category:DS homebrew applications]]
* Author's website - http://www.dragonminded.com/ndsdev/libfb
 
 
[[Category:PC utilities for DS]]
[[Category:PC utilities for DS]]

Latest revision as of 04:10, 19 August 2024

LibFB
Libfb4.png
General
AuthorDragonMinded (Shaun Taylor)
TypeDevelopment
Version2007
LicenseMixed
Last Updated2007/11/20
Links
Download
Website
Source

LibFB is a set of routines that display wordwrapped variable width fonts using the DS extended rotation buffer mode on both screens. This library also does not need c++.

Features

  • Clipped and wordwrapped fonts.
  • Automatic cursor display.
  • Normal & compressed custom software sprites.
  • Customizing said functions.
  • Base on rtf or html editor.
  • Can be rendered to an arbitrary buffer to both screens in a managed mode.

User guide

The package contains the following:

  • LibFB, tools and fonts.
  • Sample and source.
  • Happycat Demo and source.

Screenshots

libfb2.png libfb.png

Changelog

2007/11/20

  • Added orientation feature to both screens. Fixed some minor bugs.

2007/9/25

  • Added select feature, fixed a cursor bug, some minor speed improvements.

2007/4/27

  • Many optimizations to the sprite and text engine resulting in much faster code.

2007/1/13

  • Fixed the last wordwrapping bug in the text rendering engine and optimized it a bit. Also, separated the code so features not used will not be compiled in for smaller executables. Also, the font tool has been updated to support new characters, and a new fixed width font has been included in the fonts collection. The libfb.h file now includes documentation on the libFB API for any wondering exactly how to use it.

2006/9/16

  • Changed the font functions to support any character from 32-254 on the ascii chart (255 is reserved, anything under 32 is too). Also deleted the setOldFont routine as it was horrible. Also, updated the toolsets.

2006/8/07

  • Changed some functions so that you can pass a font directly instead of setting the font first, added in setOldFont, a few general improvements and such. All fonts included in the font rar are also properly compressed so as to save you space in your executable.

2006/6/21

  • I've forgotten what all I've added and improved in this version, but it includes support for bold, underline and italics. Also, fixes a few small bugs I've found, and improves cursor management.

2006/2/23

  • A few new functions available, vast improvement to font rendering engine that takes care of some wordwrapping issues, adds in managed cursors, and adds in ability to display umlats and accented characters to some extent. Also fixes random crash bugs due to undisplayable characters. New dsfont.exe as well to generate the extended fonts. Check it out as it is a vastly improved version.

2006/1/29

  • Added in several cursor functions and the ability to change the font on the fly. Also in this release is a font creation utility to aide you in getting your favorite fonts in your program. Also refined some functions and added a hollow rectangle drawing function.

2006/1/15/

  • A few new things in this update. First, consolidated a few functions that did not need to have duplicates, such as character width, height, etc... Also added functions that allow you to supply a raw buffer and use the sprite and wrapped text functions on your own 15bit color backgrounds. Also added the ability to draw text or sprites inverted.

2005/10/13

  • Have been sitting on this update for awhile, but decided to release it, seeing as the DS Text editor requires it to run properly. This release includes built in display for pallated sprites. This allows you to save space by compressing your sprites to achieve up to around 80% savings. Also, finally made the tools for converting sprites available online.

2005/8/25

  • MAJOR improvements to libfb including hardware fix for the clear rpg boxes. This is now a quite usable library and you are all encouraged to make use of it in your homebrew programs.

2005/8/12

  • Updated to show off multiple screen capabilities.

2005/8/07

  • Updated arm9.c to not include the framebuffer library and created the necissary library files to link to libfb.

2005/8/05

  • Updated make process to run with new r15 of devkitpro and new libnds. Also runs with just standard make command now.

2005/8/04

  • Updated sources with a dispChar function, and a few more graphics for the font.

2005/8/02

  • First release posted.

External links

Advertising: