summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
AgeCommit message (Collapse)Author
2021-04-16Minor tweaksRay
2021-03-24Change the color of the FPS display if the FPS is low (orange for <30, red ↵Jeffery Myers
for < 15). (#1676) Co-authored-by: Jeffery Myers <[email protected]>
2021-03-24Reviewed DrawFPS() commentRay
2021-03-14Added some comments on libc dependenciesRay
2021-03-14WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistencyRay
Some enums values have been renamed to be more consistent and also provide a more detailed description: - ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION - ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2 - MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO - PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-03REVIEWED: TextFormat() #1626Ray
2021-03-03WARNING: BREAKING: RENAMED: enums valuesRay
RENAMED: TextureFilterMode values RENAMED: TextureWrapMode values
2021-03-02REVIEWED: GetFileExtension() to include the dot #1523Ray
2021-01-12Reorder functionRay
2021-01-02Update year to 2021raysan5
2020-12-23Remove trailing spacesraysan5
2020-12-19Corrected DrawTextRecEx() bugRay
2020-12-19Support font chars padding on drawing #1432Ray
Previous implementation did not consider any padding while drawing the characters on screen (despite being available on the font atlas), so, only minimum character area was drawn. If some text effect shader was required (shadow, glow, outline...), there was no space in the drawn quad to draw that pixels effect. This commit corrects that issue.
2020-12-18WARNING: RENAMED several functions for consistency #1440Ray
This is a BREAKING CHANGE! To address the linked issue, several functions have been renamed and couterpart functions have been created to free loaded memory: - RENAMED: GetImageData() -> LoadImageColors() - RENAMED: GetImagePalette() -> LoadImagePalette() - RENAMED: GetWaveData() -> LoadWaveSamples() - ADDED: UnloadImageColors() - ADDED: UnloadImagePalette() - ADDED: UnloadWaveSamples()
2020-12-14Added additional charsPadding initialization #1432Ray
2020-11-28ADDED: UnloadFontData()raysan5
2020-11-15Commented new featureraysan5
2020-11-15[text] Consider characters padding -WIP- #1432raysan5
2020-11-03Remove trailing spacesRay
2020-09-16Add security checks when loading data from memoryraysan5
2020-09-14Review memory loading functions signesnessRay
2020-09-13ADDED: LoadFontFromMemory() (TTF only) #1327Ray
2020-09-13WARNING: REDESIGNED: LoadFontData()Ray
2020-08-29DrawTextEx(): Minor tweakraysan5
2020-08-15Review issue with .fnt -> .png path #1351Ray
When .fnt file is in the .exe path, image path was wrongly calculated
2020-06-02[examples] text_font_sdf - Corrected bugraysan5
2020-05-27Corrected bug on TextJoin()raysan5
2020-05-23Use RL_FREE() instead of free()raysan5
2020-05-23Replaced strncat() by memcpy() in some functionsraysan5
2020-05-22Avoid some warningsraysan5
2020-05-22Reviewed LoadBMFont() to load data from memory #1232raysan5
2020-05-14Remove some [textures] function dependenciesraysan5
- LoadFontDefault() -> Some code simplifications - LoadFontFromImage() -> Avoid LoadImageEx() - LoadFontData() -> Avoid GenImageColor(), ImageFormat() - LoadBMFont() -> Avoid ImageCopy(), ImageFormat()
2020-05-14TextToInteger() always exposedraysan5
2020-05-09Added [text] flag: SUPPORT_TEXT_MANIPULATIONraysan5
2020-05-09Reorganized texture functionsraysan5
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
2020-05-07Comment tweakraysan5
2020-05-06Avoid all MSVC compile warningsraysan5
Most warning were related to types conversion (casting required) and unsigned/signed types comparisons. Added preprocessor directives (_CRT_SECURE_NO_DEPRECATE; _CRT_NONSTDC_NO_DEPRECATE) to avoid warnings about unsafe functions, those functions are safe while used properly and recommended alternatives are MS only. Some external libraries still generate warnings.
2020-05-01Review exposed #defines and allow user re-definingraysan5
There are multiple #define values around raylib, usually not exposed for redefinition, just reviewed all of them to allow users redefining them on compile time if required. Also, multiple #define have been renamed and commented.
2020-04-05Allow for empty replacement string (#1178)Benjamin Stigsen
2020-04-04TextReplace changes (#1172)Benjamin Stigsen
- Added NULL return if the replacement string (`by`) is empty - Reordered sanity checks since there's no need to initialize variables if the strings are invalid.
2020-04-02Fixed offset check in GenImageFontAtlas (#1171)SasLuca
* Fixed offset check in GenImageFontAtlas * Fixed code formatting to follow raylib notation rules
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