Commit graph

81 commits

Author SHA1 Message Date
themancalledjakob
edb2c8cb8b show proper font in textmanager 2024-08-23 13:55:40 +02:00
themancalledjakob
76c05863b5 better newline logic when fixing curvature 2024-08-23 13:54:28 +02:00
themancalledjakob
2b442c09e4 fix install path issues and install by default 2024-08-23 12:28:48 +02:00
themancalledjakob
30235b565c update active_font_index if out or range 2024-08-23 12:28:01 +02:00
themancalledjakob
4caaa5b687 by default close text management 2024-08-21 17:34:13 +02:00
themancalledjakob
850377e0f5 add offset 2024-08-21 17:31:19 +02:00
themancalledjakob
01c116c321 remove text and allow rudimentary nurbs 2024-08-21 16:51:00 +02:00
themancalledjakob
28e664cd6c revamp installing fonts 2024-08-21 16:06:00 +02:00
themancalledjakob
5e881ad864 clearer label 2024-08-21 15:09:53 +02:00
themancalledjakob
ec7d619bab layout changes
glyphs in a box
2024-08-21 14:46:47 +02:00
themancalledjakob
56a8ffe114 fix typo 2024-08-21 14:43:45 +02:00
themancalledjakob
25ef83878a only import on demand 2024-08-21 14:42:53 +02:00
themancalledjakob
e23369df94 fix font in panel with callbacks 2024-08-17 11:02:26 +02:00
themancalledjakob
4d0c42adb3 simplify placement 2024-08-14 16:15:25 +02:00
themancalledjakob
409e06bd44 use prefix for custom properties 2024-08-14 14:57:34 +02:00
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