summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
AgeCommit message (Collapse)Author
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
2019-02-11Redesigned TextSplit() functionRay
2019-02-10Fixed as issue where strrchr in LoadBMFont would only look for forward ↵Jak Barnes
slashes, instead of backslashes causing strlen to fail on a null string
2019-02-06ADDED: TextToInteger()Ray
Custom implementation that returns -1 if it fails (no negative values supported)
2019-02-04Review DrawTextRecEx() formattingRay
2019-02-03Merge pull request #734 from Demizdor/masterRay
Added DrawTextRecEx()
2019-01-23Fix font cannot be narrowed to type 'int'Rob Loach
Getting the following strict error.... ``` src/text.c:117:105: error: constant expression evaluates to 2398692640 which cannot be narrowed to type 'int' [-Wc++11-narrowing] ...0x00000000, 0x00000000, 0x00200020, 0x0001b000, 0x00000000, 0x00000000, 0x8ef92520, 0x00020a00... ^~~~~~~~~~ ``` Switching it to an unsigned int fixes it.
2019-01-23Added DrawTextRecEx()Demizdor
2019-01-21Remove commentRay
2019-01-05Corrected issue with text measure on Latin-1 charsraysan5
Considering chars inputs come in UTF8 form!
2018-12-29ADDED: DrawTextRec() and exampleraysan5
2018-12-26WARNING: BREAKING CHANGEraysan5
Added a bunch of useful text management functions. Consequently, some already available functions like `FormatText()` and `SubText()` has been renamed for consistency. Created temporal fallbacks for old names. raylib version bumped to 2.3.
2018-12-25REVIEWED: LoadFontEx()raysan5
Changed parameters order for consistency with LoadFontData() and other functions when an array is passed by parameter and array size is the following parameter.
2018-12-20Exposed LoadFontFromImage()Ray
2018-12-18Support externally provided compilation flagsRay
Useful in case raylib compilation want to be automated and compilation config flags provided by command line.
2018-12-10Added support for .otf fontsRay
stb_truetype supports some .otf fonts, just exposed that functionality.
2018-12-04Increase text management buffers sizeRay
2018-11-06Remove end-line spacesRay
2018-10-29ADDED: Some functions...Ray
text: IsEqualText() -WIP- audio: SaveWAV() audio: ExportWaveAsCode() textures: ExportImageAsCode()
2018-10-24Code tweaksRay
2018-10-23ADDED: SplitText() functionRay
2018-10-18Some security checks on font loadingRay
2018-10-18Some formatting tweaksRay
2018-10-10Fixes memory leak in text.cnoshbar
GenImageFontAtlas() allocates an array of stbrp_rect for the packing functions, but it never frees them.
2018-09-17Improved data export capabilities!Ray
REVIEWED: ExportImage() REVIEWED: ExportMesh() ADDED: ExportWave() REMOVED: Internal funcs: SavePNG(), SaveBMP() NOTE: These changes break the API (parameters order)
2018-09-14Update mini_al to v0.8.8Ray
Some minor tweaks around
2018-09-06Support aliased font texture generationRay
Useful for bitmaps pixelated fonts where anti-aliasing is not desired! Change also enables additional font generation mechanisms in a future (cleartype, hinting...).
2018-09-05Corrected issue with typesRay
2018-08-06Reviewed spacings on latest PRRay
2018-08-04Fix compiler warnings, first partKim Kulling
2018-07-15Reviewed LoadFontData() and GenImageFontAtlas()Ray