Commit graph

79 commits

Author SHA1 Message Date
c27cf41368 introduce detect_text() and friends 2025-05-25 14:16:15 +02:00
7b4e65cbb7 check for None 2025-05-24 15:22:01 +02:00
7ebe913e49 fix rendering crashes
1) introduce can_regenerate so we only regenerate when necessary
2) no notifications of missing glyphs when rendering
3) use frame_change_pre instead of post
2025-05-20 19:24:43 +02:00
d6dfbfa5a1 cleanup 2025-05-20 19:21:32 +02:00
88f5579d40 loop in and out 2025-05-18 18:47:00 +02:00
6c3ad47cb6 remove print 2025-05-18 18:46:20 +02:00
093d0813af fix selection being updated 2025-05-18 18:46:07 +02:00
d56ca84236 glyph properties, orientation fixes 2025-05-18 17:23:38 +02:00
6943a9189c fix shadowing variable 2025-05-18 17:22:48 +02:00
d88c0c50cd cleanup 2025-05-18 17:22:31 +02:00
73d7a56897 fix rotation issue 2025-05-14 17:21:36 +02:00
19c86420f8 fix closed splines 2025-05-14 17:21:26 +02:00
c95e010f81 fix ignore_orientation 2025-05-13 18:02:36 +02:00
8609db1597 hide Nulls 2025-05-13 18:02:02 +02:00
79c0a563f1 add fallback 2025-05-13 17:29:28 +02:00
16bdfc8cc6 cosmetics 2025-05-13 17:29:12 +02:00
47bc10df3f fix first wrong placement 2025-05-13 17:28:45 +02:00
c063c7af1d cleanup
formatting etc
2025-05-13 16:59:32 +02:00
9276ad4fac [fix] scene variable to global
this prevents failure of access in case the scene is refreshed by
blender
2025-05-13 16:59:17 +02:00
33dac5eae1 formating
auto format made this, i like most of the changes so let's keep it
2025-05-13 15:50:22 +02:00
490723496c simplify 2025-01-19 14:21:21 +01:00
167dea8164 allow replacements (upper/lower) 2025-01-19 14:19:59 +01:00
36c8f25e29 reset rotation mode 2025-01-19 12:03:42 +01:00
d13afa7d7d friendliness
prevent repetitive messages
2025-01-18 18:22:32 +01:00
20fb69465b manual positioning
closes #1
2024-12-07 15:13:28 +01:00
5c79392b40 more robust selection getter
this could actually be a function in butils
2024-11-21 14:35:21 +01:00
f6b1649c71 smoother install font & depsgraph update
when we set a text, we don't want our manual depsgraph update, because
this would trigger another setting of the text, which would trigger the
manual depsgraph update, which would trigger another setting of the
text, which would trigger the manual depsgraph update, which will
eventually be too much.

So, we ignore the depsgraph update n-times, where "n = n-letters + 1".
worst side effect: might not update the text automatically in edge
cases.
2024-11-15 20:24:06 +01:00
0320a18002 bpy_to_abspath 2024-11-15 20:17:28 +01:00
b6d76ae958 update types automatically 2024-10-31 19:33:49 +01:00
dfd08de27d fix offset when altering first point
fix #2
2024-10-31 19:31:45 +01:00
cd1af39985 load specific font in memory 2024-08-28 17:25:06 +02:00
40e97aaf9e typos 2024-08-26 20:46:14 +02:00
97ca4f5d23 revamp loading and panels 2024-08-26 18:48:43 +02:00
3631ac8e49 font path adventures with Mac OS 2024-08-23 16:32:40 +02:00
76c05863b5 better newline logic when fixing curvature 2024-08-23 13:54:28 +02:00
2b442c09e4 fix install path issues and install by default 2024-08-23 12:28:48 +02:00
850377e0f5 add offset 2024-08-21 17:31:19 +02:00
01c116c321 remove text and allow rudimentary nurbs 2024-08-21 16:51:00 +02:00
28e664cd6c revamp installing fonts 2024-08-21 16:06:00 +02:00
25ef83878a only import on demand 2024-08-21 14:42:53 +02:00
4d0c42adb3 simplify placement 2024-08-14 16:15:25 +02:00
409e06bd44 use prefix for custom properties 2024-08-14 14:57:34 +02:00
2a9a7ad07d fix issues with adding non-existing objects 2024-08-14 14:07:21 +02:00
0bf80e01b2 load installed fonts, fix some minor loading issues 2024-08-14 13:39:47 +02:00
8ce5e6c816 font3d -> ABC3D 2024-08-14 11:26:19 +02:00
94f4e28605 dealing with multiple fonts 2024-08-14 10:50:57 +02:00
7c72dd54dc font creation
improve font creation operator
offer fixing common misspellings
use glyphNamesToUnicode.txt table to generate name_to_glyph_d
fix typos in code
more consistent naming font_face -> face_name
2024-08-12 11:22:44 +02:00
327b4161bc use face_name
theoretically enables loading faces of the same font from different
files.
needs to be tested
2024-08-08 11:24:15 +02:00
5c4ee030d3 metrics io
add functions for metrics saving and loading
we need to add and remove faces. if they don't have faces, blender gltf
loader will ignore the meshes. but we want them in the end only with
vertices and edges.
2024-08-08 11:23:08 +02:00
65605aa2c0 metrics loading
filter metrics when loading and add them for a glyph that has them as a
child
2024-08-08 11:21:34 +02:00