blender/source/gameengine/GamePlayer/ghost
Irie Shinsuke 5792e77239 Patch [#34373] Use i18n monospace font in Text editor and Python console
This patch allows Blender to display i18n monospace font in the text
editor and the Python interactive console. Wide characters that occupy
multiple columns such as CJK characters can be displayed correctly.
Furthermore, wrapping, selection, suggestion, cursor drawing, and
syntax highlighting should work.

Also fixes a bug [#34543]: In Text Editor false color in comment on cyrillic

To estimate how many columns each character occupies, this patch uses
wcwidth.c written by Markus Kuhn and distributed under MIT-style license:

  http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c

wcwidth.c is stored in extern/wcwidth and used as a static library.

This patch adds new API to blenfont, blenlib and blenkernel:

BLF_get_unifont_mono()
BLF_free_unifont_mono()
BLF_draw_mono()
BLI_wcwidth()
BLI_wcswidth()
BLI_str_utf8_char_width()
BLI_str_utf8_char_width_safe()
txt_utf8_offset_to_column()
txt_utf8_column_to_offset()
2013-03-12 07:25:53 +00:00
..
CMakeLists.txt remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
GPG_Application.cpp fix for own commit r54806 with argument order and multisampling. 2013-02-24 10:50:33 +00:00
GPG_Application.h fix for own commit r54806 with argument order and multisampling. 2013-02-24 10:50:33 +00:00
GPG_Canvas.cpp Committing patch "[#27676] Change window size/resolution in realtime" by me. 2012-01-22 20:25:25 +00:00
GPG_Canvas.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
GPG_ghost.cpp Patch [#34373] Use i18n monospace font in Text editor and Python console 2013-03-12 07:25:53 +00:00
GPG_KeyboardDevice.cpp style cleanup: bge, switch statements mostly. 2012-10-21 07:58:38 +00:00
GPG_KeyboardDevice.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
GPG_System.cpp code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
GPG_System.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00