[Bf-blender-cvs] [07925b6] master: UI Font: Fix bad kerning of Thai font.

Bastien Montagne noreply at git.blender.org
Sat Jun 11 10:53:01 CEST 2016


Commit: 07925b63160e001c7ecfdf7fe7795be1edb25744
Author: Bastien Montagne
Date:   Sat Jun 11 10:47:53 2016 +0200
Branches: master
https://developer.blender.org/rB07925b63160e001c7ecfdf7fe7795be1edb25744

UI Font: Fix bad kerning of Thai font.

Thai font is a complex script that assumes full featured unicode layout engine,
while Blender only knows about basic kerning (offset of a char based on the previous one).

So this commit edits Thai part of our i18n font to fix the very bad spacing of thai chars
we had in Blender so far.

Work done by Hồ Châu, many thanks!

===================================================================

M	release/datafiles/LICENSE-droidsans.ttf.txt
M	release/datafiles/fonts/droidsans.ttf.gz

===================================================================

diff --git a/release/datafiles/LICENSE-droidsans.ttf.txt b/release/datafiles/LICENSE-droidsans.ttf.txt
index cf6f53e..6711ad3 100644
--- a/release/datafiles/LICENSE-droidsans.ttf.txt
+++ b/release/datafiles/LICENSE-droidsans.ttf.txt
@@ -52,6 +52,8 @@ License: GPL-2.1+
 (8) tlwg Loma (Thaï)
 Copyright: 2003 National Electronics and Computer Technology Center
 
+Modified to fix and/or adapt kerning to Blender basic layout engine by Hồ Châu in 2016.
+
 License: GPL-2+ with Font exception
  See Appendices C.
 
diff --git a/release/datafiles/fonts/droidsans.ttf.gz b/release/datafiles/fonts/droidsans.ttf.gz
index 5b94216..7940852 100644
Binary files a/release/datafiles/fonts/droidsans.ttf.gz and b/release/datafiles/fonts/droidsans.ttf.gz differ




More information about the Bf-blender-cvs mailing list