X3D/WRL Import: TextStyle - Font family, style not getting parsed #31
Labels
No Label
bug
confirmed
duplicate
enhancement
help wanted
High
known issue
Low
Normal
not a task
question
task
v2.4
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: extensions/io_scene_x3d#31
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Text importer:
The current implementation does not take Font family (e.g. SANS), style (e.g. BOLD), justify (e.g. MIDDLE -> horizontal alignment), spacing (e.g. 1 -> line height/spacing) into account. Only size gets parsed atm.
justify and spacing should be easy to add. For the font family and style we'd have to lookup the system font files and find a matching one. For the implementation make sure we don't get "stuck" here, as import should work always regardless.
Attached some wrl files for testing.
X3D/WRL Import: TextStyle - Font family, style, justify, spacing not getting parsedto X3D/WRL Import: TextStyle - Font family, style not getting parsedjustify and spacing is now getting parsed an applied. Style (bold/italic) and font family is a bit more tricky and thus still a todo.
Attached file now imports with all properties set and font family inclusive variants set: