summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
AgeCommit message (Collapse)Author
2020-03-30Review formating and signegness issuesraysan5
2020-03-27Review TRACELOG() messagesraysan5
2020-03-27Corrected missing semicolonraysan5
2020-03-27[text] Review TRACELOG() messages, categorizedraysan5
2020-03-25Remove trail spacesraysan5
2020-03-25Fixed DrawTextRecEx() selection when wordwrap is ON (again) (#1149)Random
2020-03-17Added security check in case init fails #1135raysan5
2020-03-12[text] TextToUpper(): Added note on diacriticsRay
2020-03-04Remove commentRay
2020-02-27Tweak on variable initRay
2020-02-27Remove trail spaces and some tweaksRay
2020-02-27REDESIGNED: LoadFontEx()Ray
Using new file I/O ABI
2020-02-26Remove trail spacesRay
2020-02-24Make sure current text buffer is empty #1109Ray
2020-02-19Improved GetFPS() calculation for averageRay
2020-02-17[text] TextLength() security checkRay
2020-02-12Reviewed Cppcheck issues #1098Ray
2020-02-09Corrected issue with toupper() usageraysan5
2020-02-06Review missing includeRay
2020-02-06Corrected issue with TextToUpper() and TextToLower()Ray
This issue was breaking multiple things...
2020-02-04Review libc dependencies and remove when possibleRay
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers
2020-02-03Remove all trail spacesRay
2020-02-03Replace TraceLog() function by TRACELOG macroRay
Added SUPPORT_TRACELOG_DEBUG config
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