OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.24k stars 528 forks source link

Font selection for starwars text scroll effect #5367

Open piotao opened 9 months ago

piotao commented 9 months ago

Describe the new feature: Font selection window for Advanced Text effect, especially for starwars-like scroll

Describe the solution you'd like: The famous star wars scroll (yellow text flying out to the space) is using Blender for rendering frames. Openshot is allowing us to enter text and few other parameters, but it lacks to allow font selection. For those who create such text in UTF-8 there are cases when Blender does not render some characters, because the standard Blender font 'BFont' do not have all UTF-8 glyphs. Because Openshot is creating this scroll as a prerendered animation using Blender externally, by loading a python script, it is possible (and should be!) to allow user to define font in OpenShot, and then this python script can (perhaps) read the font and include it in Blender rendering.

Describe alternatives you have considered: Advanced users and those who know Blender can find and open 'spacemovie_intro.py' script, and manually change the font to the desired file, however, this require to know Blender and some programming (at least one has to know where BFont is to change it, and save also new font name as force-saved in Blender default configuration). Maybe it is enough to add to the script a line like bpy.ops.font.open( filepath = "path-to-the-font.ttf" ) and voila!

Screenshots: (Optional) There is no screenshots, but you can look inside spacemovie_intro.py at line 65, where Bfont is defined. Will there be a full path working in this place?

Colorjet3 commented 9 months ago

Assigned to the lead developer.