Commit graph

59 commits

Author SHA1 Message Date
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
6f71a8f4c4 prepare name refactor 2024-08-08 11:32:39 +02:00
99f068e4fe save fontfile metrics
remove metrics faces after saving
2024-08-08 11:32:23 +02:00
e203e46cc4 save fontfile as glb 2024-08-08 11:31:59 +02:00
27a0ebdb90 bugfix saving scene
do not modify list while iterating through it
2024-08-08 11:31:39 +02:00
f3e58b2dab font loading
filter metrics
2024-08-08 11:30:39 +02:00
0c0d8d0a7f panel features
add compensate_curvature and ignore_orientation to panel
2024-08-08 11:30:05 +02:00
4bc0ee69f1 use face_name 2024-08-08 11:28:31 +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
174754831d metrics
add custom properties to metrics
2024-08-08 11:20:20 +02:00
e5f2fc1fd9 panel
set font size and translation when placing text
2024-08-07 13:13:07 +02:00
ffc5ac0e64 cleanup
whatever
2024-08-07 13:11:51 +02:00
0750cc56e3 bugfix
make sure matrix is 3x3 for calculation
2024-08-07 13:11:35 +02:00
bae99ee4c6 refactoring
better function name
2024-08-07 13:11:05 +02:00
d8f8441871 reshuffle
easier commenting out block of code
2024-08-07 13:10:42 +02:00
d8e0d571c0 tweak curve compensation
it jitters, if the compensation is done in too rough steps
2024-08-07 13:10:11 +02:00
561f6605ee code cleanup
remove unused operator
2024-08-07 12:39:15 +02:00
c2da8c8743 metrics
add metrics panels, etc
2024-08-07 11:56:13 +02:00
7dd56b8019 cleanup
comment out possibly unused operator
2024-08-07 11:55:19 +02:00
b0dc8c8e71 metrics
add metrics functions in butils
2024-08-07 11:54:38 +02:00
1bcce247e0 improvement code cleanity
use function to completely delete objects
2024-08-07 11:53:03 +02:00
f194c4cd24 bugfix regeneration
regenerate when letters are different
2024-08-07 11:52:09 +02:00
172c92d88e bugfix
better handling of not found glyph
2024-08-07 11:51:16 +02:00
3feef9f5ab function to completely delete
add function to completely delete objects safely
2024-08-07 11:49:49 +02:00
459bf739dd improvement
expose alternate
reuse variables
2024-08-07 11:48:40 +02:00
adc5ad8ea6 cleanup
remove prints
2024-08-07 11:47:02 +02:00
97446d74e2 prepare name refactor 2024-08-05 12:59:45 +02:00
7e55f9e9bf preliminary font size and translation 2024-08-05 12:59:07 +02:00
8a63014d58 add debug timing 2024-08-05 12:58:05 +02:00
85ed21ef22 compensate for bezier curvature 2024-08-05 12:56:30 +02:00
a6e760db64 alternative bezier point calculation 2024-08-05 12:54:26 +02:00
00e49d5056 cleanup 2024-08-05 12:54:01 +02:00
4730d981fe use more descriptive variable names 2024-08-05 10:19:51 +02:00
a15c73a169 cleanup 2024-08-04 15:13:27 +02:00
b5feaa6678 include first point for bezier length 2024-08-04 15:13:05 +02:00
ad7d62d13e prefer active_object to object 2024-08-04 15:12:38 +02:00
2d8ec86edc disable placing text if not possible 2024-08-04 13:32:01 +02:00
3ecd3177c1 better infix explanation 2024-08-04 13:31:06 +02:00
9e910239ac cleanup, little fixes and improvements 2024-08-04 12:52:37 +02:00
d7a73116fd move execution_queue in butils, cleanup 2024-07-10 17:14:02 +02:00
07c38fcdaf regenerate on demand, easier orientation, various 2024-07-10 16:34:43 +02:00
846b84b6f4 add space 2024-07-10 16:08:03 +02:00
8bcb252087 autoremove text_objects and newline 2024-07-02 12:22:24 +02:00
62e6c63a61 calculate instead of follow_path 2024-07-01 14:39:07 +02:00
d081d1d42d align rotations 2024-07-01 10:25:17 +02:00
a5e45c7439 cleanup 2024-06-28 11:24:29 +02:00
066d22bfb7 remove textobjects from available_texts if they are not there anymore 2024-06-28 11:24:01 +02:00
c1a3afbd60 clean 2024-06-28 10:24:56 +02:00