Commit graph

66 commits

Author SHA1 Message Date
themancalledjakob
d1d71f03ad add cross-platform function to open file browser 2024-08-14 14:07:41 +02:00
themancalledjakob
2a9a7ad07d fix issues with adding non-existing objects 2024-08-14 14:07:21 +02:00
themancalledjakob
c06f5643a5 clearer instructions 2024-08-14 14:06:17 +02:00
themancalledjakob
0bf80e01b2 load installed fonts, fix some minor loading issues 2024-08-14 13:39:47 +02:00
themancalledjakob
8ce5e6c816 font3d -> ABC3D 2024-08-14 11:26:19 +02:00
themancalledjakob
a7632a9c03 adjust readme 2024-08-14 10:53:36 +02:00
themancalledjakob
94f4e28605 dealing with multiple fonts 2024-08-14 10:50:57 +02:00
themancalledjakob
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
themancalledjakob
6f71a8f4c4 prepare name refactor 2024-08-08 11:32:39 +02:00
themancalledjakob
99f068e4fe save fontfile metrics
remove metrics faces after saving
2024-08-08 11:32:23 +02:00
themancalledjakob
e203e46cc4 save fontfile as glb 2024-08-08 11:31:59 +02:00
themancalledjakob
27a0ebdb90 bugfix saving scene
do not modify list while iterating through it
2024-08-08 11:31:39 +02:00
themancalledjakob
f3e58b2dab font loading
filter metrics
2024-08-08 11:30:39 +02:00
themancalledjakob
0c0d8d0a7f panel features
add compensate_curvature and ignore_orientation to panel
2024-08-08 11:30:05 +02:00
themancalledjakob
4bc0ee69f1 use face_name 2024-08-08 11:28:31 +02:00
themancalledjakob
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
themancalledjakob
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
themancalledjakob
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
themancalledjakob
174754831d metrics
add custom properties to metrics
2024-08-08 11:20:20 +02:00
themancalledjakob
e5f2fc1fd9 panel
set font size and translation when placing text
2024-08-07 13:13:07 +02:00
themancalledjakob
ffc5ac0e64 cleanup
whatever
2024-08-07 13:11:51 +02:00
themancalledjakob
0750cc56e3 bugfix
make sure matrix is 3x3 for calculation
2024-08-07 13:11:35 +02:00
themancalledjakob
bae99ee4c6 refactoring
better function name
2024-08-07 13:11:05 +02:00
themancalledjakob
d8f8441871 reshuffle
easier commenting out block of code
2024-08-07 13:10:42 +02:00
themancalledjakob
d8e0d571c0 tweak curve compensation
it jitters, if the compensation is done in too rough steps
2024-08-07 13:10:11 +02:00
themancalledjakob
561f6605ee code cleanup
remove unused operator
2024-08-07 12:39:15 +02:00
themancalledjakob
c2da8c8743 metrics
add metrics panels, etc
2024-08-07 11:56:13 +02:00
themancalledjakob
7dd56b8019 cleanup
comment out possibly unused operator
2024-08-07 11:55:19 +02:00
themancalledjakob
b0dc8c8e71 metrics
add metrics functions in butils
2024-08-07 11:54:38 +02:00
themancalledjakob
1bcce247e0 improvement code cleanity
use function to completely delete objects
2024-08-07 11:53:03 +02:00
themancalledjakob
f194c4cd24 bugfix regeneration
regenerate when letters are different
2024-08-07 11:52:09 +02:00
themancalledjakob
172c92d88e bugfix
better handling of not found glyph
2024-08-07 11:51:16 +02:00
themancalledjakob
3feef9f5ab function to completely delete
add function to completely delete objects safely
2024-08-07 11:49:49 +02:00
themancalledjakob
459bf739dd improvement
expose alternate
reuse variables
2024-08-07 11:48:40 +02:00
themancalledjakob
adc5ad8ea6 cleanup
remove prints
2024-08-07 11:47:02 +02:00
themancalledjakob
97446d74e2 prepare name refactor 2024-08-05 12:59:45 +02:00
themancalledjakob
7e55f9e9bf preliminary font size and translation 2024-08-05 12:59:07 +02:00
themancalledjakob
8a63014d58 add debug timing 2024-08-05 12:58:05 +02:00
themancalledjakob
85ed21ef22 compensate for bezier curvature 2024-08-05 12:56:30 +02:00
themancalledjakob
a6e760db64 alternative bezier point calculation 2024-08-05 12:54:26 +02:00
themancalledjakob
00e49d5056 cleanup 2024-08-05 12:54:01 +02:00
themancalledjakob
4730d981fe use more descriptive variable names 2024-08-05 10:19:51 +02:00
themancalledjakob
a15c73a169 cleanup 2024-08-04 15:13:27 +02:00
themancalledjakob
b5feaa6678 include first point for bezier length 2024-08-04 15:13:05 +02:00
themancalledjakob
ad7d62d13e prefer active_object to object 2024-08-04 15:12:38 +02:00
themancalledjakob
2d8ec86edc disable placing text if not possible 2024-08-04 13:32:01 +02:00
themancalledjakob
3ecd3177c1 better infix explanation 2024-08-04 13:31:06 +02:00
themancalledjakob
9e910239ac cleanup, little fixes and improvements 2024-08-04 12:52:37 +02:00
themancalledjakob
d7a73116fd move execution_queue in butils, cleanup 2024-07-10 17:14:02 +02:00
themancalledjakob
07c38fcdaf regenerate on demand, easier orientation, various 2024-07-10 16:34:43 +02:00