summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
AgeCommit message (Collapse)Author
2018-07-15Reviewed LoadFontData() and GenImageFontAtlas()Ray
2018-07-05Corrected issue with GetFontDefault()raysan5
Note for me: Replace All is NOT your friend...
2018-07-05Renamed GetDefaultFont() to GetFontDefault()raysan5
Library consistency rename... yes, I know, it breaks the API...
2018-06-30Re-added: LoadFontEx()Ray
2018-06-21Improved GenImageFontAtlas()Ray
2018-06-20Improved font generation and SDFRay
Added: data to CharInfo struct Added: LoadFontData() Added: GenImageFontAtlas() Removed: LoadFontEx() Removed: LoadTTF() [internal] Some code tweaks
2018-05-21Corrected possible memory leakraysan5
2018-05-20Some code review (mainly comments)raysan5
2018-05-17Header tweak and commentsRay
2018-05-04BREAKING CHANGE: Renamed SpriteFont type to FontRay San
- Preparing MP3 files support - Jumped version to raylib 2.0-dev (too many breaking changes...)
2018-05-04Rectangle parameters changed to floatRay San
- Some examples tweaks - Reviewed ImageFormat() - Use float for text fontSize
2018-04-07Refactor all #define SUPPORT_* into a config.hAhmad Fatoum
That way, a user needs only to touch a single file to configure what features raylib is built with. Include guards are left out intentionally, because config.h should only be included in source files, not headers. Later on, config.h can also define the raylib version (#461).
2018-02-25Don't exceed signed int range when shifting leftAhmad Fatoum
Fixes UB in #489, found by UBSan.
2018-02-25Fix possible buffer overflow in LoadBMFontAhmad Fatoum
Width specifier doesn't include NUL terminator. Fixes #487 found by AddressSanitizer.
2018-02-18Support UTF8 basic characters on ImageTextEx()raysan5
Supported UTF8 range equivalent to [128..255] (80h..FFh) Exposed and renamed text function GetGlyphIndex() Renamed spriteFont parameter name to simply font Small security check on transmission mission ending screen
2018-02-12Avoid rendering SPACE character!Ray
2018-01-28Corrected several issues...Ray
2017-12-20Updated copyright yearRay San
2017-12-14proper if-clauses for disabling functionality in text.cuser
2017-12-11Remove rres supportRay
Let the user choose if using rres external library
2017-11-02Some code tweaks...Ray San
2017-10-25Corrected issue with ttf font y-offsetRay
2017-08-27Added function DrawRectangleGradientEx()raysan5
Moved function DrawRectangleT() from text module to shapes Added some comments
2017-08-06Added function DrawRectangleT()raysan5
Usefult to draw rectangles using default font texture
2017-07-02Rename enum LogType names...raysan5
...to avoid possible conflicting symbols
2017-05-09Corrected issue #281Ray
2017-04-22Renamed function for lib consistencyraysan5
LoadSpriteFontTTF() --> LoadSpriteFontEx()
2017-04-21Make TraceLog() public to the APIRay
enum LogType could require some revision...
2017-04-04Minor code tweaksRay
2017-03-29Added IsFileExtension()Ray
Replaced old GetExtension() function Make IsFileExtension() public to the API
2017-03-29Remove RBMF fileformat supportRay
2017-03-26Work on configuration flagsRay
2017-03-21text: configuration flagsRay
2017-03-20Review some commentsRay
2017-03-05Work on timming functions...raysan5
It seems Sleep() behaves weird on my computer, disabled by default returning to the busy wait loop... also re-implemented DrawFPS() to avoid frame blitting...
2017-02-16Improved modules description -IN PROGRESS-Ray
Working in modules configuration flags...
2017-02-11Reviewed fread() usage around the coderaysan5
2017-02-06Commented code for reviewRay
2017-02-05Refactor SpriteFont structraysan5
Now it uses CharInfo data, this way, it's better aligned with the future RRES file format data layout for sprite font characters.
2017-01-28Remove unecessary spaces...Ray
2017-01-28Implemented Wait()Ray
Now program is halted (OS signal call) for required amount of time every frame, so CPU usage drops to zero, instead of using a busy wait loop.
2017-01-15Removed GetNextPOT(), review TraceLog()raysan5
2016-12-27Review some formatting and namingraysan5
- Renamed WritePNG() to SavePNG() for consistency with other file loading functions - Renamed WriteBitmap() to SaveBMP() for consistency with other file loading functions - Redesigned SaveBMP() to use stb_image_write
2016-12-25Review comments and formattingraysan5
2016-12-05Corrected some warningsRay
2016-11-21Corrected bug with alpha mask on fontraysan5
Mask was wrongly applied to 8-bit font image, it generated dark borders on the font. Grayscale image has to be considered as the alpha mask for a completely white image to use it correctly.
2016-11-16Reviewed modules commentsraysan5
2016-11-13Improved text measurementRay
Still not working correctly, font offsets are not considered correctly...
2016-11-03Corrected issue on chars drawingraysan5
Support by default unordered charsets
2016-11-01Support unordered charset, neither fixed first charraysan5
Still requires some testing...