-
- Downloads
macOS: support Japanese input for text buttons
Blender did not support to input East Asian characters (Chinese, Japanese, Korean) on macOS. This patch adds support for Japanese input, by implementing the appropriate processing for the NSTextInputClient protocol. Technical notes: * The conversion candidate window is drawn by the input method program calling `firstRectForCharacterRange`. * The string before confirmation (called `composite` in blender) is handled in the `setMarkedText` method called by the input method program. * The string after confirmation (called `result` in the blender) is processed in the `insertText` method called by the input method program. Ref T51283 Differential Revision: https://developer.blender.org/D11695
Showing
- CMakeLists.txt 2 additions, 1 deletionCMakeLists.txt
- build_files/cmake/config/blender_full.cmake 1 addition, 0 deletionsbuild_files/cmake/config/blender_full.cmake
- build_files/cmake/config/blender_release.cmake 1 addition, 0 deletionsbuild_files/cmake/config/blender_release.cmake
- intern/ghost/CMakeLists.txt 3 additions, 0 deletionsintern/ghost/CMakeLists.txt
- intern/ghost/intern/GHOST_WindowCocoa.h 33 additions, 0 deletionsintern/ghost/intern/GHOST_WindowCocoa.h
- intern/ghost/intern/GHOST_WindowCocoa.mm 23 additions, 0 deletionsintern/ghost/intern/GHOST_WindowCocoa.mm
- intern/ghost/intern/GHOST_WindowViewCocoa.h 260 additions, 5 deletionsintern/ghost/intern/GHOST_WindowViewCocoa.h
- source/blender/blentranslation/CMakeLists.txt 1 addition, 1 deletionsource/blender/blentranslation/CMakeLists.txt
- source/blender/editors/interface/CMakeLists.txt 1 addition, 1 deletionsource/blender/editors/interface/CMakeLists.txt
- source/blender/makesdna/DNA_windowmanager_types.h 3 additions, 3 deletionssource/blender/makesdna/DNA_windowmanager_types.h
- source/blender/windowmanager/CMakeLists.txt 1 addition, 1 deletionsource/blender/windowmanager/CMakeLists.txt
- source/blender/windowmanager/intern/wm.c 1 addition, 1 deletionsource/blender/windowmanager/intern/wm.c
Please register or sign in to comment