Commit graph

5663 commits

Author SHA1 Message Date
Leon Styhre e01003ea44 Merge commit 'fd498ff35e6349ce60119a99d5bc615278da690d' into new-svg-renderer 2022-10-16 12:31:43 +02:00
Leon Styhre 221cd89e4a Documentation update. 2022-10-15 13:15:55 +02:00
Leon Styhre 16c4fb6d17 Fixed some alignment issues in CarouselComponent. 2022-10-14 18:14:15 +02:00
Leon Styhre 5f6bd48022 One more try to fix a rounding issue in TextComponent. 2022-10-14 18:12:23 +02:00
Leon Styhre 681218f55a Added support for the Sega Model 2 (model2) game system on Linux on macOS. 2022-10-13 22:08:36 +02:00
Leon Styhre 3759f6873a (Linux) Added the Supermodel standalone emulator for the arcade, mame and model3 systems. 2022-10-12 22:30:23 +02:00
Leon Styhre a6546a43ab (Windows) Added a -force-feedback option and an %INJECT% variable to the Supermodel emulator for the arcade, mame and model3 systems. 2022-10-12 22:19:32 +02:00
Leon Styhre 3351b8c41a Added a %GAMEDIR% variable to the -rompath option for all MAME standalone entries.
Also fixed an issue where the cps system -rompath option for MAME standalone pointed to the wrong system directory.
2022-10-12 22:15:14 +02:00
Leon Styhre 7f5ed1c41d Fixed a minor graphical glitch in CarouselComponent. 2022-10-11 21:31:05 +02:00
Leon Styhre 8bbaec229f Fixed a rounding issue in TextComponent. 2022-10-11 19:37:35 +02:00
Leon Styhre 7e923cb9b6 Some refactoring of the OpenGL renderer and TextureDataManager. 2022-10-11 18:11:36 +02:00
Leon Styhre 11b035affa Fixed a rounding issue in TextComponent. 2022-10-11 18:08:57 +02:00
Leon Styhre d74966a3c4 Fixed a heisenbug where letters would sometimes get rendered with ugly edge artifacts. 2022-10-11 18:07:56 +02:00
Leon Styhre add8e37687 Documentation update. 2022-10-10 21:37:39 +02:00
Leon Styhre 241a0119ef Fixed a crash in the Font::wrapText function. 2022-10-10 21:12:49 +02:00
Leon Styhre 1c82228a9c Fixed two small logical errors. 2022-10-10 20:52:55 +02:00
Leon Styhre 39c9bd2cbc Added font size overflow restrictions to TextComponent and DateTimeComponent.
Also fixed a crash that could occur in TextComponent when blank/dummy fonts were used.
2022-10-10 20:37:04 +02:00
Leon Styhre 610ac9adb3 Implemented dynamic texture allocation to the font handling. 2022-10-10 20:32:35 +02:00
Leon Styhre 4cedd9119f Fixed some help icons that were inadvertently set as slightly transparent.
Also removed some obsolete help graphics files.
2022-10-10 20:09:53 +02:00
Leon Styhre 6af1f76be8 Fixed an issue where the help system was rendered on top of the menus. 2022-10-10 20:07:40 +02:00
Leon Styhre 0232635504 Refactoring/cleanup. 2022-10-09 19:13:54 +02:00
Leon Styhre 0757156caf Improved error handling for unloadable font files. 2022-10-09 18:01:30 +02:00
Leon Styhre 50832a5b64 Some code cleanup. 2022-10-09 17:59:27 +02:00
Leon Styhre 565c4a1187 (slate-DE) Removed the unused blank.ttf font. 2022-10-09 12:03:26 +02:00
Leon Styhre fdcd4a4a9d (Windows) Fixed an MSVC compiler warning. 2022-10-08 11:22:46 +02:00
Leon Styhre f7d72b4176 Fixed an issue where rlottie was built as a shared library on Unix and macOS. 2022-10-08 11:12:45 +02:00
Leon Styhre c7a035127c The rlottie library is now built as optimized and without debug info on Unix and macOS.
Also disabled some annoying warning messages when compiling rlottie.
2022-10-08 11:04:51 +02:00
Leon Styhre 660348e0d9 (Windows) Added stripping of some dependency DLL files. 2022-10-08 10:59:05 +02:00
Leon Styhre e02adfeb7a Explicitly set some dependencies to the Release build type on macOS and Windows. 2022-10-08 10:54:44 +02:00
Leon Styhre a142da3d34 Line breaks are now filtered out from systems names and system full names if specified as such in the es_systems.xml file. 2022-10-08 10:02:12 +02:00
Leon Styhre d927135034 Fixed an issue where line breaks were included in single-line text entries. 2022-10-08 10:00:40 +02:00
Leon Styhre 508ea87963 Rewrite of the text wrapping code to work with languages which generally lack spaces, like Japanese.
Also implemented massive performance improvements to the text wrapping code.
2022-10-08 09:33:57 +02:00
Leon Styhre c4089dc4de Documentation update. 2022-10-06 23:02:58 +02:00
Leon Styhre d2ca019a75 Avoided unnecessary SVG file parsing for images previously found to be invalid. 2022-10-06 20:20:48 +02:00
Leon Styhre 3a38af6e66 (Windows) Excluded some NanoSVG MSVC build files from Git. 2022-10-04 19:13:10 +02:00
Leon Styhre 6bfff43760 Added a license file for the LunaSVG library. 2022-10-04 19:05:05 +02:00
Leon Styhre 5afff094d8 Removed the NanoSVG subtree and license file. 2022-10-04 18:47:36 +02:00
Leon Styhre 655ed3be17 (Windows) Added stripping of some dependency DLL files. 2022-10-04 17:46:02 +02:00
Leon Styhre 82bae35fe0 Explicitly set some dependencies to the Release build type on macOS and Windows. 2022-10-04 17:33:22 +02:00
Leon Styhre a1fba765c3 (Windows) Added CMake configuration to make LunaSVG build as a shared library. 2022-10-04 17:31:03 +02:00
Leon Styhre 0d52738239 Squashed 'external/lunasvg/' changes from d13d8e521..e0f786c9b
e0f786c9b Fix parseStyle
REVERT: d13d8e521 Refactoring
REVERT: 4925c87a8 Update
REVERT: 794c38591 Update
REVERT: 49eee9643 Update
REVERT: 914aee5ea Update
REVERT: 3bb00ecee Fix ParserString string-view iterator cast in windows
REVERT: fabea2008 Fix string-view iterator cast in windows
REVERT: bbcf0d34f Update
REVERT: 081df20f2 Update
REVERT: fe3101f91 Refactoring
REVERT: e9a41dc83 Refactoring

git-subtree-dir: external/lunasvg
git-subtree-split: e0f786c9be6fae1ffabddfe56fb1e0a1a7eb775d
2022-10-03 23:55:09 +02:00
Leon Styhre 753fc92944 Merge commit '0d52738239a3496122cb332378fc58cf9943c0d5' into new-svg-renderer 2022-10-03 23:55:09 +02:00
Leon Styhre a98dd83c87 (Windows) Fixed an incorrect CMake build flag for rlottie. 2022-10-03 22:06:55 +02:00
Leon Styhre 1dbfa3f82f Set proper build types for the bundled libraries. 2022-10-03 21:40:20 +02:00
Leon Styhre bbe9666f69 Removed the use of a deprecated LunaSVG function that is no longer required. 2022-10-03 21:38:01 +02:00
Leon Styhre 3acd894f37 Squashed 'external/lunasvg/' changes from 7417baa0a..d13d8e521
d13d8e521 Refactoring
4925c87a8 Update
794c38591 Update
49eee9643 Update
914aee5ea Update
3bb00ecee Fix ParserString string-view iterator cast in windows
fabea2008 Fix string-view iterator cast in windows
bbcf0d34f Update
081df20f2 Update
fe3101f91 Refactoring
e9a41dc83 Refactoring
637121f89 Update lunasvg.cpp
d0abdccb1 Remove Document transformation methods
caa4b2410 Fix ft_stroke_border_export assertion
592533914 Fix SW_FT_Outline points overflow #55
0d40b061c Update

git-subtree-dir: external/lunasvg
git-subtree-split: d13d8e521c21f5f750ef0f6f92163f0131afdd3e
2022-10-03 20:53:48 +02:00
Leon Styhre 261f699bb6 Merge commit '3acd894f373efcdc18f682a826f78f6722f32c59' into new-svg-renderer 2022-10-03 20:53:48 +02:00
Leon Styhre bf5cce31c6 Replaced the NanoSVG library with LunaSVG. 2022-10-03 18:43:30 +02:00
Leon Styhre c35df18ad8 Added .gitignore entries for the LunaSVG library. 2022-10-03 18:29:24 +02:00
Leon Styhre 32546b5874 Squashed 'external/lunasvg/' content from commit 7417baa0a
git-subtree-dir: external/lunasvg
git-subtree-split: 7417baa0aff477f361e44e2aa793fdb0c7aae352
2022-10-03 18:25:42 +02:00