Commit graph

337 commits

Author SHA1 Message Date
Yousef Khadadeh
7ecd333b74 Got text working on macOS, changed some stuff in icon search, and disabled right to left detection for GUI text boxes 2025-11-21 22:26:58 -08:00
Yousef Khadadeh
eb1cf55063 Add third party license and decrease undo queue limit to save on memory 2025-11-21 15:35:41 +03:00
Yousef Khadadeh
9113b56d9d Allow executable to be at a longer path name on windows 2025-11-21 13:15:59 +03:00
Yousef Khadadeh
45e7910190 Replace all backslashes with forward slashes when loading SVG icons 2025-11-21 10:44:40 +03:00
Yousef Khadadeh
aca539600c SVG icons now preloaded when the program starts 2025-11-21 10:36:46 +03:00
Yousef Khadadeh
e954e55213 Enable UTF-8 in windows app manifest 2025-11-21 10:03:11 +03:00
Yousef Khadadeh
003a2d3757 Path field in infinipaint filepicker uses UTF8 on Windows 2025-11-21 08:39:48 +03:00
Yousef Khadadeh
6839e529c1 Use std::filesystem::path and u8string to ensure UTF-8 is used for paths on Windows 2025-11-21 08:35:47 +03:00
Yousef Khadadeh
5f4bc6e1cb Close window before waiting for FileDownloader to finish 2025-11-20 13:26:09 +03:00
Yousef Khadadeh
4d294f1002 Notify user when Adaptive Vsync is not available 2025-11-20 13:12:41 +03:00
Yousef Khadadeh
d5d586092d Slight change in font collection creation code 2025-11-20 13:03:21 +03:00
Yousef Khadadeh
22e68de4cd Added VSync 2025-11-20 12:38:28 +03:00
Yousef Khadadeh
8f130ada92 Remove icu data from windows executable 2025-11-19 20:08:59 +03:00
Yousef Khadadeh
bf119ee0e3 Remove dwrite include 2025-11-19 15:08:47 +03:00
Yousef Khadadeh
bdf3675a4c Windows fonts work 2025-11-19 15:07:01 +03:00
Yousef Khadadeh
c24361f026 Fixed MSVC specific include error and got fonts working with DirectWrite 2025-11-19 08:53:49 +03:00
Yousef Khadadeh
60d6ac4494 Get windows version to compile (fonts dont work) 2025-11-18 22:06:37 +03:00
Yousef Khadadeh
40c64eab62 Rename constants that break in MSVC 2025-11-18 21:39:14 +03:00
Yousef Khadadeh
f6961fbf8d Updated skia 2025-11-18 18:15:50 +03:00
Yousef Khadadeh
720081c3bb Remove charset=UTF-8 from mimetype in emscripten due to issues with firefox 2025-11-17 18:30:18 +03:00
Yousef Khadadeh
aaf9df8570 Change canvas color if it was the old default 2025-11-17 17:11:12 +03:00
Yousef Khadadeh
174b267589 Textbox updates work again, and added notices for web version users 2025-11-17 16:08:42 +03:00
Yousef Khadadeh
f0f289d785 Fixed segmentation fault when copying textbox 2025-11-16 16:49:47 +03:00
Yousef Khadadeh
79f7135746 Serialization works in new version 2025-11-16 16:39:12 +03:00
Yousef Khadadeh
6b3ce01e94 Can now undo/redo grid operations 2025-11-16 12:40:56 +03:00
Yousef Khadadeh
36253d8f23 Can undo bookmark add/remove operations 2025-11-16 12:05:30 +03:00
Yousef Khadadeh
a99b0e920d Use FontData everywhere 2025-11-16 10:42:01 +03:00
Yousef Khadadeh
4fe52ef7f6 If first character in GUI textbox is right to left, set the textbox direction to that 2025-11-16 09:41:09 +03:00
Yousef Khadadeh
9120062889 GUI Textbox contents move with cursor again 2025-11-15 18:59:58 +03:00
Yousef Khadadeh
8435816940 Fixed bug where rich text formatting isnt copied when selecting from a specific direction 2025-11-15 17:49:05 +03:00
Yousef Khadadeh
e4efb2e78d Use EGL instead of GLX, and remove duplicate font names 2025-11-15 17:03:14 +03:00
Yousef Khadadeh
5e8016b504 Added more default fonts, and fixed issue with font selector at different GUI scales 2025-11-15 14:05:05 +03:00
Yousef Khadadeh
e451e8b181 Made icudt file much smaller 2025-11-15 09:48:02 +03:00
Yousef Khadadeh
78a2b5918b Changes to conanfile.py, and flatpak build works again 2025-11-14 16:37:49 +03:00
Yousef Khadadeh
124203def3 Removed print statement 2025-11-12 14:55:19 +03:00
Yousef Khadadeh
b0b04a28c8 Can now undo/redo styles 2025-11-12 14:54:46 +03:00
Yousef Khadadeh
94438c7b97 Added undo and redo to textbox 2025-11-12 11:36:14 +03:00
Yousef Khadadeh
f5d496bc45 Use emscripten rich text clipboard method in native version as well to fix character encoding issues 2025-11-12 11:07:40 +03:00
Yousef Khadadeh
f97029552f Added padding to textbox 2025-11-12 10:44:17 +03:00
Yousef Khadadeh
9eeee0dfff Added richtext clipboard to Emscripten and fixed emscripten compilation warning 2025-11-12 09:00:03 +03:00
Yousef Khadadeh
8830386dc0 Copy paragraph styles in rich text, and make plain text clipboard work in web version again 2025-11-11 22:21:25 +03:00
Yousef Khadadeh
b8fb00e218 Displaying text works on emscripten version 2025-11-11 19:52:45 +03:00
Yousef Khadadeh
cdbff3c043 Started work on getting emscripten clipboard working with rich text 2025-11-11 18:48:08 +03:00
Yousef Khadadeh
afe1623cf8 Added rich text clipboard 2025-11-11 17:42:41 +03:00
Yousef Khadadeh
c7cea45e9c Paragraph style copied in HTML 2025-11-11 12:16:11 +03:00
Yousef Khadadeh
9cdac48374 Can now extract formatted HTML from rich textbox 2025-11-11 11:46:02 +03:00
Yousef Khadadeh
c2e3fd553e Text cursor position is more accurate when paragraph is empty 2025-11-10 17:32:47 +03:00
Yousef Khadadeh
def4ccb984 Added UI to change paragraph style 2025-11-10 16:49:02 +03:00
Yousef Khadadeh
435d9346a9 Created RichText namespace, and tweaked scrollbar behaviour 2025-11-10 14:45:51 +03:00
Yousef Khadadeh
e0143f49f0 Text modifiers now apply to text that will be inserted later 2025-11-09 16:24:40 +03:00