Commit graph

  • 302f6e0fc5 Added an assertion to GuiComponent::setSize() to check for negative mSize values Leon Styhre 2024-08-13 21:42:50 +02:00
  • eccc5095fb Fixed an issue where ComponentList could generate elements with negative widths Leon Styhre 2024-08-13 21:41:17 +02:00
  • 3f8abb0807 Removed direct use of Font::wrapText() from TextComponent Leon Styhre 2024-08-12 22:03:17 +02:00
  • 1d3b2f8066 Removed direct use of Font::wrapText() from OptionListComponent, TextEditComponent and TextListComponent Leon Styhre 2024-08-12 20:51:52 +02:00
  • 0723ae8364 (Haiku) Added find rule configuration for RetroArch Leon Styhre 2024-08-11 22:04:52 +02:00
  • 9be6cdc42b Documentation update Leon Styhre 2024-08-11 21:58:21 +02:00
  • 17f55fd8cf (Haiku) Updated CMake configuration to make ES-DE build on Haiku Nightly (but no longer on R1/beta4) Leon Styhre 2024-08-11 21:56:02 +02:00
  • a841d4175a Changed a compiler silencing option to only apply to Clang Leon Styhre 2024-08-11 19:26:14 +02:00
  • 3d0701f288 Changed Font::buildTextCache() and Font::renderTextCache() to protected functions Leon Styhre 2024-08-11 19:20:03 +02:00
  • aba1163c44 Changed TextEditComponent to use TextComponent instead of using Font facilities directly Leon Styhre 2024-08-11 19:01:47 +02:00
  • 75fdd94d45 Minor code cleanup Leon Styhre 2024-08-11 18:27:37 +02:00
  • b0616fcbb1 Changed DateTimeEditComponent to use TextComponent instead of using Font facilities directly Leon Styhre 2024-08-11 18:22:45 +02:00
  • b697dc2a52 Reverted ButtonComponent and SliderComponent to render the debug overlays themselves Leon Styhre 2024-08-11 18:14:39 +02:00
  • 8ee7b6f118 Changed SliderComponent to use TextComponent instead of using Font facilities directly Leon Styhre 2024-08-11 15:03:04 +02:00
  • 5b7becf446 Changed ButtonComponent to use TextComponent instead of using Font facilities directly Leon Styhre 2024-08-11 14:00:40 +02:00
  • ccf680b433 Changed Window to use TextComponent instead of using Font facilities directly Leon Styhre 2024-08-11 13:28:26 +02:00
  • 8ff6f50635 Changed ScreenSaver to use TextComponent instead of using Font facilities directly Leon Styhre 2024-08-11 12:32:04 +02:00
  • 5776d37d54 Updated the pl_PL translations Leon Styhre 2024-08-11 10:31:06 +02:00
  • 3defff515d Documentation update Leon Styhre 2024-08-10 16:36:23 +02:00
  • 7353f04e66 (Haiku) Added support for the ScummVM Game Engine (scummvm) game system Leon Styhre 2024-08-10 16:17:13 +02:00
  • 3adee7c863 (Haiku) Added support for the Sony PlayStation Portable (psp) game system Leon Styhre 2024-08-10 15:14:27 +02:00
  • a9956e2f07 (Haiku) Added a ScreenScraper platform identifier Leon Styhre 2024-08-10 15:13:05 +02:00
  • c15eff8994 Added experimental support for building on Haiku Leon Styhre 2024-08-10 14:28:24 +02:00
  • 0347a276ea Silenced some Clang compiler warnings Leon Styhre 2024-08-09 22:54:57 +02:00
  • 2d84fa78db Documentation update Leon Styhre 2024-08-09 22:14:00 +02:00
  • 544abf1e81 Changed a code comment that referred to BSD Unix Leon Styhre 2024-08-09 21:09:00 +02:00
  • 9c07456d21 Removed support for NetBSD and OpenBSD Leon Styhre 2024-08-09 21:05:12 +02:00
  • 7791859d14 Added a menu title font size adjustment for the pl_PL translations Leon Styhre 2024-08-09 19:51:35 +02:00
  • f6b3f11714 Updated the pl_PL translations Leon Styhre 2024-08-09 18:11:35 +02:00
  • 92c3696843 Documentation update Leon Styhre 2024-08-09 17:54:23 +02:00
  • c63184f010 Replaced all built-in Unicode case conversion logic and lookup tables with facilities from the ICU library Leon Styhre 2024-08-09 17:48:46 +02:00
  • de317b4c91 (Windows) Fixed an MSVC compiler warning Leon Styhre 2024-08-09 17:25:13 +02:00
  • 22478ed145 (Windows) Added the ICU library as a dependency Leon Styhre 2024-08-09 17:24:08 +02:00
  • 2bbcdd375c (macOS) Added the ICU library as a dependency Leon Styhre 2024-08-08 21:53:13 +02:00
  • 6ad96ba252 (Android) Added the ICU library as a dependency Leon Styhre 2024-08-08 20:28:21 +02:00
  • 3afe2bacc3 Added the ICU library as a dependency Leon Styhre 2024-08-08 20:26:10 +02:00
  • ee61283e2b Removed a lot of unnecessary text processing Leon Styhre 2024-08-06 20:31:26 +02:00
  • b2e796c664 Documentation update Leon Styhre 2024-08-05 22:49:46 +02:00
  • 2c95d5a7d6 Fixed a source file header typo Leon Styhre 2024-08-05 22:47:13 +02:00
  • a7d673f541 Some font-related code and comments cleanup Leon Styhre 2024-08-04 13:43:44 +02:00
  • 03f6567dd5 Added support for the ar_EG locale Leon Styhre 2024-08-04 13:02:00 +02:00
  • 16697c0503 Added sharing of glyph atlas entries between shaped glyph entries that need the same texture Leon Styhre 2024-08-04 12:46:57 +02:00
  • 91d3f3a43a Fixed a regression where text shaping stopped working Leon Styhre 2024-08-04 12:16:13 +02:00
  • b288bd172c Removed a temporary member variable in Font and replaced it with proper argument passing Leon Styhre 2024-08-04 11:52:25 +02:00
  • 14c4e00bf2 Changed Font::shapeText() to pass the segments vector by reference Leon Styhre 2024-08-04 11:31:03 +02:00
  • 5d653a9e93 Reverted a change in TextComponent as it caused unforeseen issues Leon Styhre 2024-08-03 21:20:28 +02:00
  • 2e01613e41 Removed the offensive wrapText hacks and added some optimizations Leon Styhre 2024-08-03 20:50:59 +02:00
  • c873441851 Made accurate text layout work correctly using HarfBuzz Leon Styhre 2024-08-03 19:04:45 +02:00
  • 7a8bd97226 Added a precaution to prevent crashes in case of broken fonts being used Leon Styhre 2024-08-03 14:54:49 +02:00
  • 75b93794b0 Fixed another failure mode for the wrapText shaped text hack Leon Styhre 2024-08-03 14:22:36 +02:00
  • 4931ea9749 Changed to having HarfBuzz set the horizontal glyph advance Leon Styhre 2024-08-03 14:09:51 +02:00
  • b4b498ba29 Reverted some font changes that were not needed after all Leon Styhre 2024-08-03 13:54:55 +02:00
  • 908788da25 Fixed an issue where text was not correctly centered after line breaks Leon Styhre 2024-08-03 00:18:41 +02:00
  • c87d2e7584 RTL text segments are now flagged as such Leon Styhre 2024-08-02 23:36:06 +02:00
  • 09d16e9c16 Text shaping segments are no longer created by space characters Leon Styhre 2024-08-02 23:34:44 +02:00
  • b3ac8b6320 Changed the text shaping function to return the segment vector Leon Styhre 2024-08-02 23:31:47 +02:00
  • 9e7b02291b Added a hack to make shaped text wrap somehow correctly Leon Styhre 2024-08-02 15:58:26 +02:00
  • 45091547b7 Changed two font calculation functions to use shaped text Leon Styhre 2024-08-02 12:43:26 +02:00
  • b1adbc0f2a Added support for the pl_PL locale Leon Styhre 2024-08-01 21:36:45 +02:00
  • 81bc30cc26 Fixed a text shaping issue when there was a font change for the last character of a string Leon Styhre 2024-08-01 14:36:29 +02:00
  • 84e850a507 Moved the text shaping to a separate function Leon Styhre 2024-08-01 14:34:34 +02:00
  • 412e74738a Moved the HarfBuzz segment building to a separate function Leon Styhre 2024-08-01 12:20:39 +02:00
  • 82f6686cbf Changed the font VRAM usage calculation to actually only include texture data Leon Styhre 2024-08-01 10:58:15 +02:00
  • 7a3a8f8042 Added the nl_NL locale to locale/languages Leon Styhre 2024-07-31 21:45:42 +02:00
  • dff85c46a6 (Android) Added initial text shaping support Leon Styhre 2024-07-31 21:38:46 +02:00
  • f6c4acf2d7 Disabled building of HarfBuzz-subset on Windows and macOS Leon Styhre 2024-07-31 20:54:27 +02:00
  • 6185eeb0cc (macOS) Added initial text shaping support Leon Styhre 2024-07-31 19:31:40 +02:00
  • c1218d5033 (Windows) Added initial text shaping support Leon Styhre 2024-07-31 19:15:59 +02:00
  • 73b7f34f50 Fixed some font issues Leon Styhre 2024-07-31 18:46:32 +02:00
  • 539cdd8146 Added initial text shaping support Leon Styhre 2024-07-31 18:44:26 +02:00
  • 71ccaf193e Added the HarfBuzz library as a dependency Leon Styhre 2024-07-31 18:26:32 +02:00
  • f9d5b2b12e Added support for the nl_NL locale Leon Styhre 2024-07-30 18:18:04 +02:00
  • d52e175896 Updated the pt_BR translations Leon Styhre 2024-07-29 23:44:13 +02:00
  • 4c1b5fde3c Reorganized some per-language menu title font size entries Leon Styhre 2024-07-29 11:25:38 +02:00
  • 84ddb1c136 Updated the ro_RO translations Leon Styhre 2024-07-29 11:05:32 +02:00
  • 24418417eb Updated the ro_RO translations Leon Styhre 2024-07-29 10:52:46 +02:00
  • 456f9be771 Documentation update Leon Styhre 2024-07-28 16:23:12 +02:00
  • 192035e16a Clarified the custom event script sorting in a code comment Leon Styhre 2024-07-28 16:21:44 +02:00
  • 7e4a88a144 Changed one translation Leon Styhre 2024-07-28 14:24:32 +02:00
  • 440f45fff8 Updated the en_US, en_GB and sv_SE translations Leon Styhre 2024-07-28 14:05:33 +02:00
  • be0971cd3a Added a 'Dark with red' menu color scheme to improve perceived contrast on low-contrast displays Leon Styhre 2024-07-28 14:02:37 +02:00
  • c6a1924682 Updated the fr_FR translations Leon Styhre 2024-07-28 11:01:44 +02:00
  • 9caf43a095 Updated the ru_RU translations Leon Styhre 2024-07-27 10:30:39 +02:00
  • 5c846257b0 Updated the es_ES translations Leon Styhre 2024-07-26 23:18:10 +02:00
  • 4dba11dc50 Added a message to the Android translations Leon Styhre 2024-07-26 23:12:28 +02:00
  • cd04c97fc3 Documentation update Leon Styhre 2024-07-26 22:31:34 +02:00
  • 9703531273 Added a code comment regarding Unicode case mapping entries for the Latin Extended-B Unicode block Leon Styhre 2024-07-26 21:16:27 +02:00
  • 3b5d5a7da4 Added a StringUtil function to return the string length in Unicode characters Leon Styhre 2024-07-26 21:09:51 +02:00
  • 428bbc1416 Updated the ja_JP translations Leon Styhre 2024-07-26 21:06:37 +02:00
  • 9eac172000 Fixed an issue where the theme downloader percentage indicators did not render when using the ja_JP locale Leon Styhre 2024-07-26 20:55:18 +02:00
  • fcbcae1e77 Updated the ja_JP translations Leon Styhre 2024-07-26 20:02:48 +02:00
  • 73067f76a3 Updated the ro_RO translations Leon Styhre 2024-07-26 18:01:51 +02:00
  • 2ebb41a316 Updated the fr_FR translations Leon Styhre 2024-07-26 16:49:19 +02:00
  • 3ba6ebb37f Updated the es_ES translations Leon Styhre 2024-07-26 11:53:34 +02:00
  • b93e24295e Updated the fr_FR translations Leon Styhre 2024-07-26 11:43:03 +02:00
  • 1f847fff8a Updated the sv_SE translations Leon Styhre 2024-07-25 21:08:01 +02:00
  • a8ccd77aa7 Updated the ja_JP translations Leon Styhre 2024-07-25 20:36:00 +02:00
  • f792e9665c Documentation update Leon Styhre 2024-07-25 16:03:33 +02:00
  • 7bdd015f03 Updated the pt_BR translations Leon Styhre 2024-07-25 16:00:23 +02:00
  • 0d41632352 Added a menu title font size adjustment for the Japanese translations Leon Styhre 2024-07-25 13:13:00 +02:00