Commit Graph
30 Commits
Author SHA1 Message Date
Henrik Rydgård 8052c15f61 Fix references to the old font files 2025-11-14 10:10:44 +01:00
Henrik Rydgård 59ab9e5682 Fix font loading in cocoa as well. 2025-11-09 08:52:21 +01:00
Henrik Rydgård 6d1973edfb Add banners on the top of settings pages, if editing game-specific settings show the icon. 2025-11-09 08:51:41 +01:00
Henrik Rydgård 2b6b951f78 Fix alpha in drawtext for RGBA8888 format.
Should fix #20879
2025-10-17 08:57:12 +02:00
Henrik Rydgård b082e94edb Initial work on using premultiplied alpha in the UI 2025-10-16 11:07:05 +02:00
Henrik Rydgård fb2ac6475a Mac/ios: Use new font name (oops). Improve error checking when loading cocoa fonts 2025-05-21 14:03:04 +02:00
C.W. Betts da3e300b58 Remove unused font variable. 2025-01-14 16:31:03 -07:00
C.W. Betts a8486e833f We only need to register the font once. 2025-01-14 15:41:19 -07:00
C.W. Betts a04c2d1a6a Initial attempt at loading Roboto into CoreText 2025-01-14 15:15:53 -07:00
C.W. BettsandGitHub f32ed3df90 Update draw_text_cocoa.mm
Fix memory leak.
2025-01-13 19:50:26 -07:00
Henrik Rydgård e49d94ad11 Unify the MeasureString caching code 2024-10-16 14:39:21 +02:00
Henrik RydgårdandGitHub e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård 4c4fcabc5e iOS: Disable the swipe-back gesture in-game, to maximize touch responsiveness 2024-06-19 22:43:42 +02:00
Henrik Rydgård 81c642e2b2 Fix scaling issues in cocoa text drawer 2024-06-01 13:44:11 +02:00
Henrik RydgårdandGitHub 65fb1a5aa7 Merge pull request #19224 from hrydgard/more-ios-fixes
More iOS fixes
2024-06-01 13:14:39 +02:00
Henrik Rydgård 929ced7acc Minor cleanup in draw_text_cocoa 2024-06-01 12:28:13 +02:00
Henrik Rydgård 28cf69f67e Remove duplicate code from the text rendering backends 2024-06-01 09:58:58 +02:00
Henrik Rydgård d6b6d087c0 Make the font lifecycle more similar between the backends. 2024-06-01 09:43:11 +02:00
Henrik Rydgård 65126668e0 Mac/iOS font rendering - Fix line breaking 2024-05-31 23:07:04 +02:00
Henrik Rydgård e10858d8b5 Mac/iOS: Enable ARC on draw_text_cocoa.mm 2024-05-31 22:21:43 +02:00
Henrik Rydgård 4051f34758 Implement MeasureStringRect generically based on MeasureString 2024-05-31 21:11:48 +02:00
Henrik Rydgård 5b0007f391 Remove unused and broken text rotation code 2024-05-31 20:58:53 +02:00
Henrik Rydgård 423f7620dd Also implement for Cocoa. 2024-05-31 19:00:23 +02:00
Henrik Rydgård 533f8f06be Unify DrawString between Windows, UWP and Android. More to come. 2024-05-31 17:27:59 +02:00
Henrik Rydgård 5999690af5 i18n: Remove our awkward ampersand-escape support, except in [DesktopUI] 2024-05-31 09:45:59 +02:00
Henrik Rydgård c02e5b36ab Use the default UI font, bugfixes 2024-05-29 19:29:49 +02:00
Henrik Rydgård 021d2d5ef0 Scaling and line spacing work 2024-05-29 18:52:39 +02:00
Henrik Rydgård 5f4257bf4a Get it to build and run on iOS too, not just Mac. There's some odd DPI issue though. 2024-05-29 18:52:39 +02:00
Henrik Rydgård 0bbaaef787 Seems to be working now, though need to figure out which font face we can use. 2024-05-29 18:52:39 +02:00
Henrik Rydgård 3965c1ae6b Start implementing cocoa-based text rendering. Doesn't work yet, renders garbage. 2024-05-29 18:52:39 +02:00