Commit graph

4799 commits

Author SHA1 Message Date
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
Leon Styhre 0a5b25ae00 Merge commit '32546b5874ed5bb3f1f8abaf700d8012799ccf37' as 'external/lunasvg' 2022-10-03 18:25:42 +02:00
Leon Styhre 1b18adee0e Merge commit '1d638b192417fc3afac05edb4d46305d9e9ad9b3' into new-svg-renderer 2022-10-03 17:34:52 +02:00
Leon Styhre 1d638b1924 Squashed 'external/rlottie/' changes from 875626965..056c0a1bc
056c0a1bc example: lottieviewer - fixed frame no (#528)
12facb817 Fix one frame missing (#529)
30f300ddc Delete accidentally committed Vim swap file

git-subtree-dir: external/rlottie
git-subtree-split: 056c0a1bc14bcee6f6b1a821013872a1228b0fa9
2022-10-03 17:34:52 +02:00
Leon Styhre 13a603a687 Documentation update. 2022-10-02 17:11:18 +02:00
Leon Styhre 355269c731 Added FinalBurn Neo standalone and MAME standalone as alternative emulators for various SNK Neo Geo systems.
Also revised some supported file extensions for said systems.
2022-10-02 17:03:12 +02:00
Leon Styhre 5d7f36d432 (macOS) Updated FFmpeg from 5.0.1 to 5.1.2 2022-10-01 18:24:45 +02:00
Leon Styhre 64a112747c (Windows) Updated FFmpeg from 5.0.1 to 5.1.2 2022-10-01 18:05:02 +02:00
Leon Styhre 8f6262a3a9 Fixed an issue where the video player output frame width was not set correctly. 2022-10-01 17:19:53 +02:00
Leon Styhre e7f1a0f36c Updated VideoFFmpegComponent for deprecated functions in FFmpeg 5.1 2022-09-30 23:20:36 +02:00
Leon Styhre bfdeb2e004 Video player code cleanup. 2022-09-29 22:32:57 +02:00
Leon Styhre 993efe8504 Fixed an issue where audio for static videos in the gamelist view would get muted on navigation. 2022-09-29 20:18:33 +02:00
Leon Styhre 28209ecf08 Documentation update. 2022-09-28 18:33:03 +02:00
Leon Styhre 2c84e9c59b Fixed two SliderComponent issues with inconsistent knob placements.
Also improved the component for use with vertical resolutions and cleaned up some code.
2022-09-28 17:23:44 +02:00
Leon Styhre f048d06b95 Fixed a text abbreviation issue. 2022-09-28 17:21:02 +02:00