Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/rendering/StarTextPainter.cpp
AgeCommit message (Collapse)Author
2025-05-16UB trying to dereference end of string viewFalseIlyu
2024-04-24feat: unicode emoji support + other stuffKae
2024-04-23Fix text after an unclosed ^ tag not wrappingKae
2024-04-22Add UnifontEx fallback for glyphs that are missing from the current fontKae
2024-04-22Lua chat callbacks + better font stylingKae
golly gee whiz!! i hope i didn't fuck something up
2024-04-15Fix text wrapping bug that only happened under a specific scenarioKae
was causing a broken string view if there was a line that had any space in it followed by a forced newline and then a line that had no spaces but was long enough to wrap. example: A B\nThisLastLineHasNoSpacesButIsLongEnoughToWrapAnyways!!!!!!!!!!!!
2024-04-04fix: last minor text wrapping bugKae
2024-04-03fix rare text wrapping bug in the chat boxKae
also removed unnecessary leftover variables from when text wrapping used to always create a StringList
2024-03-25change fonts to woff2Kae
2024-02-28Fixed remaining compiler warningsKai Blaschke
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
2024-02-19Fixed a huge amount of Clang warningsKai Blaschke
On Linux and macOS, using Clang to compile OpenStarbound produces about 400 MB worth of warnings during the build, making the compiler output unreadable and slowing the build down considerably. 99% of the warnings were unqualified uses of std::move and std::forward, which are now all properly qualified. Fixed a few other minor warnings about non-virtual destructors and some uses of std::move preventing copy elision on temporary objects. Most remaining warnings are now unused parameters.
2023-08-04Add optional alpha threshold option for fontsKae
2023-07-22Add character swapping (no GUI yet)Kae
2023-07-04Cache font directivesKae
2023-07-03Add 1-px padding around font and round to fix jitterKae
2023-07-03Fix font glyph generation to work correctly with other fontsKae
2023-07-02use raw wrapWidth ptr instead of MaybeKae
2023-07-02Fix splitting bug and optimize a littleKae
2023-07-01Re-optimize text splitting while maintaining vanilla behaviorKae
2023-07-01Fix text wrapping splitting inside of words with color codes in themKae
2023-06-30RenderPrimitive micro-optimizationsKae
2023-06-29Decimal zoom with lerpKae
2023-06-29Update StarTextPainter.cppKae
2023-06-28TextPainter now uses StringViewKae
2023-06-28Fix broken regex, make game timestep non-constKae
2023-06-27The Formatting String CatastropheKae
2023-06-26resolved most of the compiler warnings/errors under gccLDA
also update xxhash and tinyformat
2023-06-23small cleanup in TextPainterKae
2023-06-21fonts can reload nowKae
2023-06-21The FontpocalypseKae
I hate it
2023-06-21Fix glyph width issue with custom fontsKae
haha woopsies!!
2023-06-21font directives bwahahahaKae
2023-06-21custom fonts!!Kae
2023-06-21make the chat really pretty!!Kae
also slightly optimized text shadow rendering, made sure glyphs with directives stay centered and added two extra Lua arguments to canvas.drawText
2023-06-20everything everywhereKae
all at once