← Back to team overview

openshot.developers team mailing list archive

[Bug 670960] Re: utf-8 font support for animated titles (i.e. Blender)

 

Wow, nice feature! It seems to work fine. Thanks.

However, a lot of fonts are not listed in the dropdown menu, so I
modified BlenderGenerator.py:

--- BlenderGenerator.orig.py	2011-01-29 13:51:18.185888999 +0900
+++ BlenderGenerator.py	2011-01-29 13:53:47.655888999 +0900
@@ -78,7 +78,7 @@
 		""" Get a list of font files on the computer as FAST as possible. """
 
 		# melt -query 
-		command = ["locate", "*.ttf"]
+		command = ["locate", "*.tt[fc]"]
 		output = ''
 		
 		ttf_raw={}
@@ -86,7 +86,7 @@
 		try:
 			process = subprocess.Popen(args=command,stdout=subprocess.PIPE,
 			stdin=subprocess.PIPE,stderr=subprocess.STDOUT)
-			output = str(process.stdout.read(20000))
+			output = str(process.stdout.read(200000))
 			
 			# wait for process to finish, and then close
 			process.stdin.close()

-- 
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/670960

Title:
  utf-8 font support for animated titles (i.e. Blender)

Status in OpenShot Video Editor:
  Fix Committed

Bug description:
  Hello!

  I've tried animated titles created with the help of the Blender, but
  none of the available fonts do not support e.g. Croatian native
  characters (šŠ đĐ čČ ćĆ žŽ).

  Not being familiar with the Blender, I wonder waht would be required
  so that one can create animated titles using non-ASCII characters?

  
  Sincerely,
  Gour





References