summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_font_sdf.c
AgeCommit message (Collapse)Author
2024-01-02Update copyright to 2024Ray
2023-11-08Reviewed some examples and warningsRay
2023-09-07Remove PLATFORM_RPI (#3232)MichaelFiber
* Remove PLATFORM_RPI * remove build artifacts --------- Co-authored-by: MichaelFiber <[email protected]> Co-authored-by: Ray <[email protected]>
2023-01-01Update year to 2023Ray
2022-07-20REVIEWED: examples descriptionsRay
2022-06-21Added new comment to examplesRay
2021-09-02REVIEWED: GlyphsRay
2021-08-26REVIEWED: Examples compilationRay
2021-04-22Remove trail spacesRay
2021-03-23[Examples] Warning fixes (pt 1) (#1668)Jeffery Myers
* Fix some warnings in examples. * cleanups from review Co-authored-by: Jeffery Myers <[email protected]>
2020-12-24Updated several files while porting examples to webraysan5
2020-09-14Review memory loading functions signesnessRay
2020-08-16RENAMED: FormatText() -> TextFormat()raysan5
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2020-06-02[examples] text_font_sdf - Corrected bugraysan5
2020-05-28Renamed some resources for naming consistencyraysan5
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-05-31Example instructions tweak for clarityRay
2019-05-27Review variables initializationRay
2019-05-20Review ALL examplesRay
2019-05-17examples reviewRay
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-07-15Reviewed example for clarityRay
2018-07-15Added new example: text_font_sdfRay