summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
AgeCommit message (Collapse)Author
2020-01-26ADDED: TextCopy() #1083Ray
2020-01-24Redesigned TextToInteger()Ray
2020-01-22Correct issue with defineRay
2020-01-19Corrected issue with typesraysan5
2020-01-19Review custom allocatorsraysan5
2020-01-15Comment tweakRay
2020-01-15LoadFontData(): generate empty image for spaceRay
This could be required on texture packing ;)
2020-01-06Review variable nameraysan5
2020-01-05Update year to 2020raysan5
2019-12-04Check and testing timming #865raysan5
2019-12-01ADDED: DrawTextCodepoint()Ray
- Renamed GetGlyphIndex() parameter - Review DrawTextEx() implementation - Review DrawTextRecEx() implementation
2019-11-24Review PR #1015raysan5
Just simplified code a bit
2019-11-24[text] `TextFormat()` caching (#1015)brankoku
2019-10-29fix various problems, thanks CppCheck :) (#1005)João Coelho
* explained a bit more the core_window_letterbox example * fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-28REDESIGN: TextToUtf8()Ray
ADDED: CodepointToUtf8()
2019-10-27ADDED: TextToUtf8() -WIP-Ray
RENAMED: TextCountCodepoints() -> GetCodepointsCount()
2019-10-22Minor comment tweakRay
2019-10-22Review some definesRay
2019-10-21Update text.cRay
2019-10-17Remove trailing spacesRay
2019-10-17REVIEWED: GetCodepoints() issueRay
- Improved LoadBMFont()
2019-10-11REDESIGNED: IsFileExtension()Ray
Now it accepts a ';' separated list of extensions, useful to check multiple extensions
2019-10-11ADDED: GetCodepoints()Ray
Get the unicode equivalent characters (as int array) from a UTF-8 text array... maybe this function is renamed to be clearer to users...
2019-08-24Tweak on atlas size computingRay
Some generated fonts were not fitting the image...
2019-08-19REVIEW: TextSplit()Ray
Just adding a security check
2019-07-24BREAKING CHANGE: Read descriptionRay
Changes: - Font structure has been redesigned, CharInfo structure contained character rectangle within font texture, it has not much sense, considering that it was an information relative to the font atlas generated and not the character itself, so character rectangles have been moved out from CharInfo to Font. - CharInfo included a data parameters to contain character pixel data (usually grayscale), generated on TTF font generation. It was inconsistent with other fonts types, so, now CharInfo includes directly an Image of the glyph. - REDESIGNED: GenImageFontAtlas(), additional recs parameter added, loaded and filled inside the function to export atlas characters rectangles, instead of silently modify the input CharInfo data. - REVIEWED: ImageTextEx(), funtion retrieved the font atlas image from the GPU, that was slow and problematic in several platforms. Now it uses directly the CharInfo image. Support for unicode codepoints has also been added. - REDESIGNED: ImageDraw(), now it includes an additional parameter, the color tint, not only it could be useful for several situations but also function signature is more consistent with similar functions. - ADDED: ImageFromImage() to generate a new image from a piece of another image. - REVIEWED: GetNextCodepoint(), renamed parameters to be more clear. Also all examples and games that were affected by those changes have been reviewed.
2019-07-22Review text functions return valueRay
It needs to be freed
2019-06-19Define some globalsRay
2019-06-16RENAMED: LoadDefaultFont() -> LoadFontDefault()Ray
Renamed internal function for consistency with similar functions.
2019-06-16Some formatting tweaksRay
2019-05-10Fixed DrawTextRecEx() selection when wordwrap is ONDemizdor
2019-05-06Corrected issue with wrong text measuringRay
2019-04-24Fixed selection in DrawTextRecEx()Demizdor
2019-04-23Support custom memory management macrosRay
Users can define their custom memory management macros. NOTE: Most external libraries support custom macros in the same way, raylib should redefine those macros to raylib ones, to unify custom memory loading. That redefinition is only implemented as example for stb_image.h in [textures] module.
2019-04-21Initial unicode implementation for UTF8 encoded textDemizdor
2019-04-08Review creation yearsRay
2019-04-07Happy new year 2019ChillerDragon
2019-02-28Some spacing reviewRay
2019-02-28Removed unnecessarySkabunkel
2019-02-24... tabs again... _facepalm_Skabunkel
2019-02-24Missed oneSkabunkel
2019-02-24Fixed segmentation fult created by quick fixSkabunkel
2019-02-24Tabs to spacesSkabunkel
2019-02-24#764 - Quick fix that clears alot of memory, there seems to be more hiding ↵Skabunkel
somewhere else.
2019-02-22Change ternary operator formattingRay
2019-02-22Merge pull request #761 from Demizdor/masterRay
Fixed height bug in DrawTextRecEx()
2019-02-22Remove TABSRay
2019-02-22Fixed height bug in DrawTextRecEx()Demizdor
2019-02-21Remove end-line spacesRay
2019-02-14Fix config.h flagsJens Pitkanen