254 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
bf55f63c39 Extend advance height when font is collection 2022-11-08 12:23:43 +01:00
Filip Sykala - NTB T15p
2886d26fa0 Log state of font list cache. 2022-11-08 08:54:35 +01:00
Filip Sykala - NTB T15p
41f0017f07 Fix: ../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1550:17: warning: unused variable 'allow_update_rendered_font' [-Wunused-variable] 2022-11-07 23:12:13 +01:00
Filip Sykala - NTB T15p
67d8b8291a Cache font list into binary file by Cereal - remember bad font 2022-11-07 15:33:23 +01:00
Filip Sykala - NTB T15p
5daf8818c9 Add checking of new installed font into list on each open combo box 2022-11-04 10:01:32 +01:00
Filip Sykala - NTB T15p
1a285dd5f1 Revert "Temporary test for performance on Ubuntu"
This reverts commit b88d2655fbbf71338b6d17a3db56212d5b87d22f.
2022-10-26 09:47:26 +02:00
Filip Sykala - NTB T15p
b88d2655fb Temporary test for performance on Ubuntu 2022-10-26 09:08:21 +02:00
Filip Sykala - NTB T15p
3eb09a9842 Prevent double instances of embossed text on canvas.
Fix issue 73 (use surface)
2022-10-25 13:55:09 +02:00
Filip Sykala - NTB T15p
47952e0c08 Add timer for measure time consumption 2022-10-21 09:53:16 +02:00
Filip Sykala - NTB T15p
426fdfb27a Cache only last 32 font preview.
Prevent creation of huge texture for font previews
Add reservation of space for no texture(prevent change of comgo box width)
2022-10-14 19:08:18 +02:00
Filip Sykala - NTB T15p
fe90a88b4d Log time for loading fonts 2022-10-13 15:05:28 +02:00
Filip Sykala - NTB T15p
fb8de55d89 Add cancel for generate face name texture preview job 2022-10-04 12:03:24 +02:00
Filip Sykala - NTB T15p
e7fa4fc006 Discard changes by restore volume insted of changing history(undo/redo) stack 2022-09-30 18:29:46 +02:00
Filip Sykala - NTB T15p
b594ffc7ef Selection of font for unknown one from 3mf
fix creation of  style name
2022-09-29 18:46:18 +02:00
Filip Sykala - NTB T15p
1e2fe6027d Fix storing of wxFont property which describing font to reconstruct on another computer 2022-09-29 07:59:31 +02:00
Filip Sykala - NTB T15p
c5cfa6498f Fix for issue 78. 2022-09-27 11:45:17 +02:00
Filip Sykala - NTB T15p
088603bc72 Add panic button close. 2022-09-26 10:55:58 +02:00
Filip Sykala - NTB T15p
7979ff9961 Use inch for input size 2022-09-23 17:37:19 +02:00
Filip Sykala - NTB T15p
cbd030b246 Remove top right button X on emboss window 2022-09-23 12:22:50 +02:00
Filip Sykala - NTB T15p
77cc231ed6 Add warning modal message when change modified style(fix issue 70) 2022-09-22 09:20:16 +02:00
Filip Sykala - NTB T15p
3bd557b177 Escape ## in name of style in imgui visualization(issue 61) 2022-09-21 15:15:32 +02:00
Filip Sykala - NTB T15p
e1ea484669 remove unused 2022-09-14 11:32:06 +02:00
Filip Sykala - NTB T15p
61e2cc2403 Hook for manipulation relativity for rotation gizmo 2022-09-13 16:21:08 +02:00
Filip Sykala - NTB T15p
d0ffe16964 Fix rotation Text relative around Z axis 2022-09-13 15:41:21 +02:00
Filip Sykala - NTB T15p
78f002cee8 Limit count of thread generating preview image of font (Limitation of opened files on Linux) 2022-09-12 16:57:28 +02:00
Filip Sykala - NTB T15p
9cefc74e3d Fix using of deprecated opengl functions 2022-08-31 15:53:13 +02:00
Filip Sykala - NTB T15p
ac6a91debe Fix opengl core using -- remove GL_ALPHA to use texture with GL_RGBA
-- take more memory from GPU but works universaly(independent on opengl version)
2022-08-31 15:28:23 +02:00
Filip Sykala - NTB T15p
da0d889986 Remove recalculation for values out of limits
Fix of issue 72
2022-08-30 13:16:23 +02:00
Filip Sykala - NTB T15p
94f735168c fix warnings:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1452:18: warning: unused variable 'volume_id' [-Wunused-variable]
../src/slic3r/Utils/EmbossStyleManager.cpp:64:18: warning: unused variable 'loaded' [-Wunused-variable]
2022-08-16 18:12:08 +02:00
Filip Sykala - NTB T15p
ab807c4992 Fix of divided UTF8 symbol
Issue 67
2022-08-16 09:16:17 +02:00
Filip Sykala - NTB T15p
3f350b628c Merge branch 'fs_emboss' of https://github.com/Prusa-Development/PrusaSlicerPrivate into fs_emboss 2022-08-15 12:10:06 +02:00
Filip Sykala - NTB T15p
e631d3999c Fix path for just created font by description
Fix for issue #64 - linux loading windows font
2022-08-15 12:04:22 +02:00
Lukas Matena
6efab63dc9 Fix build on macOS 2022-08-09 15:54:38 +02:00
Filip Sykala - NTB T15p
64728feec3 Store configuration on gizmo close not destructor 2022-08-05 15:28:12 +02:00
Filip Sykala - NTB T15p
41aaa13ce7 fix switching between styles 2022-08-04 15:35:44 +02:00
Filip Sykala - NTB T15p
a6ffbb63f0 Remove undo button after style selector 2022-08-04 12:52:58 +02:00
Filip Sykala - NTB T15p
a1914f5f94 add getter on font atlas into style manager
- get imgui font could return nonValid imgui font to recognize font without loaded symbol
2022-08-03 19:28:02 +02:00
Filip Sykala - NTB T15p
5e76d86460 rename font_item to style 2022-08-03 13:05:06 +02:00
Filip Sykala - NTB T15p
8e261ace29 add setter for wx_font in style manager 2022-08-03 11:29:23 +02:00
Filip Sykala - NTB T15p
003c7fc54f Rename FontItem to EmbossStyle 2022-08-03 10:29:05 +02:00
Filip Sykala - NTB T15p
4267af64e5 Rename FontManager to EmbossStyleManager 2022-08-03 09:11:00 +02:00
Filip Sykala - NTB T15p
ef3a2e2744 changing type in emboss 2022-08-02 19:24:26 +02:00
Filip Sykala - NTB T15p
7770034492 Fix warnings 2022-08-02 13:29:30 +02:00
Filip Sykala - NTB T15p
2fdcdad796 Fix of modified font in style 2022-08-02 12:24:08 +02:00
Filip Sykala - NTB T15p
3f269e0719 When font is loaded from .3mf it could have different type but it is not problem 2022-08-02 11:24:44 +02:00
Filip Sykala - NTB T15p
b26dec03e5 fix for issue 62 - Text is no more placed to modifiers 2022-08-01 16:45:31 +02:00
Filip Sykala - NTB T15p
26eb8b02ef fix style 'save as' operation + 'rename' 2022-08-01 13:56:00 +02:00
Filip Sykala - NTB T15p
569ba0600c Fix rename and save as style text 2022-07-29 18:21:40 +02:00
Filip Sykala - NTB T15p
f7eef00abb Separate actual style from styles
(save button will save only actual style no others)
2022-07-29 09:06:20 +02:00
Filip Sykala - NTB T15p
e86477f20a Fix blinking when undo change 2022-07-26 11:00:38 +02:00