Commit Graph

18687 Commits

Author SHA1 Message Date
Filip Sykala
a6834a1a82 WxUtils are using imap
Remove unused map utils
2022-03-08 09:22:56 +01:00
Filip Sykala
41a506688a Change 2 map to bimap in TextConfigurationSerialization 2022-03-08 08:35:26 +01:00
Filip Sykala
6fdaee3cfe Fix data type of collection
Fix warnings
../src/libslic3r/Emboss.cpp:135:24: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
../src/libslic3r/Emboss.cpp:653:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2057:12: warning: unused variable 'count_icons' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2058:12: warning: unused variable 'count_states' [-Wunused-variable]
2022-03-07 12:16:24 +01:00
Filip Sykala
0d724ad646 Fix test to be runable on other computers. 2022-03-07 11:40:23 +01:00
Filip Sykala
29156fd52c Add check for ttf extension for OsX 2022-03-04 15:22:45 +01:00
Filip Sykala
111d993849 Fix texture size to be in pixels 2022-03-04 09:53:14 +01:00
Filip Sykala
284546ca2e Hot fix before author of stb_truetype library fix issues:
https://github.com/nothings/stb/issues/1296

Prevent Heap buffer overflow
Allocate more memory for MAC font "Times.ttc"
2022-03-03 17:21:30 +01:00
Filip Sykala
699533e22a Hot fix before author of stb_truetype library fix issues:
https://github.com/nothings/stb/issues/1283

Add ability to open symbol fonts on windows
2022-03-03 17:14:14 +01:00
Filip Sykala
133ce45aeb Fix not rendered style image. e.g. can't load font 2022-03-03 16:26:50 +01:00
Filip Sykala
f35065b77f Fix for commit 8792331516
add escape of special symbols
2022-03-03 12:58:05 +01:00
Filip Sykala
ad1510a30c Start using string_view in truncate text 2022-03-03 08:13:00 +01:00
Filip Sykala
a0dde4651b Add default value to optional input
Remove unnecessary addiction to canvas3d in imgui wrapper
2022-03-02 14:34:25 +01:00
Filip Sykala
a000d12361 Change test to use font from resources 2022-03-02 14:31:56 +01:00
Filip Sykala
2a62881c39 rename its storing functions 2022-03-02 12:23:22 +01:00
Filip Sykala
99d3e102c8 Add focus on selected font when open combobox 2022-03-02 11:59:22 +01:00
Filip Sykala
bd5d2d4493 Fix spelling 2022-03-02 10:57:25 +01:00
Filip Sykala
66a3752782 Add note to readme about stdlib files
Revert changes in imstb_truetype.h to version of imgui v1.83
(decrease version of stb_truetype library but use imgui changes)
2022-03-02 10:50:10 +01:00
Filip Sykala
4e97830c2b Fix of commit 4c416bc747
Separate escape characters of double quotted XML attribute value
2022-03-02 08:40:27 +01:00
Filip Sykala
fdf8ebed7f Fix of commit 95fc054590
Revert back previous deleted assert. It is usefull
2022-03-01 08:39:02 +01:00
Filip Sykala
3af58a27f3 Merge branch 'fs_emboss' of https://github.com/prusa3d/PrusaSlicer into fs_emboss 2022-02-28 18:33:03 +01:00
Filip Sykala
18d269506a add index of font inside of collection to FontProp(font property) + serialization/deserialization (3mf + appConfig)
separate glyph cache from FontFile
2022-02-28 18:32:50 +01:00
Vojtech Bubnik
f71c242e53 Updated CGAL to the latest version. 2022-02-28 11:05:04 +01:00
Filip Sykala
8022c64209 Fix Retina coordinate for stored popup menu position 2022-02-25 11:58:15 +01:00
Filip Sykala
ca79932d30 Reduce test to use only STB calls 2022-02-23 13:55:27 +01:00
Filip Sykala
482e510d7f Add temporary test for win/mac 2022-02-23 13:29:26 +01:00
Filip Sykala
24207403ea Merge branch 'master' into fs_emboss 2022-02-22 13:51:04 +01:00
Filip Sykala
aabc0bf9b1 add mising include 2022-02-22 13:47:14 +01:00
Filip Sykala
284fd8ec8b Remove reference in lambda call 2022-02-22 13:39:28 +01:00
Filip Sykala
212544d532 Fix rotation with object 2022-02-22 13:32:01 +01:00
Filip Sykala
f3f2dddcd1 Fix order of filling stored items 2022-02-22 13:13:21 +01:00
Filip Sykala
8f9887acdb Reduce amount of Undo/Redo snapshots 2022-02-22 12:43:29 +01:00
tamasmeszaros
4ed411f211 Fix tbb assert when grainsize is lower then 1 2022-02-22 12:43:06 +01:00
tamasmeszaros
d03b464dd3 Merge branch 'tm_pr7809' 2022-02-22 12:20:35 +01:00
tamasmeszaros
cc788ebb64 Fix and merge PR #7809 2022-02-22 11:36:27 +01:00
Yuri D'Elia
0ffcfd8393 Use namespaces to link against libcereal >= 1.3.1
Create an alias for previous versions.
2022-02-22 11:20:03 +01:00
Filip Sykala
6181b166a4 Add warning on to large and to small font which are not used in emboss text input 2022-02-22 09:56:47 +01:00
Filip Sykala
ebbdaf7336 Fix boldness to be in font points 2022-02-22 09:55:48 +01:00
Filip Sykala
32573178c3 Do not allow undo for not stored style 2022-02-21 21:37:08 +01:00
Filip Sykala
56b5e5edfb Fix detection of changed angle 2022-02-21 16:18:26 +01:00
Filip Sykala
5ffa19b529 Unify place of transformation 2022-02-21 16:12:38 +01:00
Filip Sykala
7f73a0e73d Fix transformation of new created volume by angle and distance 2022-02-21 13:44:24 +01:00
Yuri D'Elia
3a821d6752 Add missing declaration/includes (fix non-PCH build) 2022-02-21 11:15:31 +01:00
Yuri D'Elia
fe14c547fe Show GLEW error string on glewInit() initialization errors 2022-02-21 11:15:19 +01:00
Filip Sykala
233ea5e0d8 Store activ font style 2022-02-21 09:00:03 +01:00
tamasmeszaros
f3384c835f Merge branch 'tm_sla_archive_tests' 2022-02-18 14:55:06 +01:00
tamasmeszaros
4f2772fef4 Fix sla archive tests 2022-02-18 14:30:13 +01:00
Filip Sykala
7c95f8f9aa store / load .3mf TextConfiguration: distance from surface & rotation for move text over surface
store / load appConfig distance from surface & rotation for move text over surface
2022-02-18 13:01:40 +01:00
Filip Sykala
a8ef5c35d2 Undo changes for input 2022-02-18 12:33:39 +01:00
tamasmeszaros
b8718f4601 Silence sla print messages for archive export tests 2022-02-17 14:05:45 +01:00
tamasmeszaros
b407540f26 Downgrade log message from sla support tree creation 2022-02-17 13:44:53 +01:00