Bug#886728:

2018-01-10 Thread Dmitry
The issue #886728 is related to display of Russian text in the "text
object" and ability to render russian characters in default
installation of Blender. GUI of Blender is able to display Russian text
correctly from the start. I think it is different from #833962 where
from the description it is more about UI. 

Default font Bfont, that Blender is using for render preview is a .pfb
and doesn't have international support. The report about not being able
to enter text into "text object" has been accepted in the to-do list
for future blender releases. https://developer.blender.org/T53744

I believe this bug is not related to debian.
Although if we can patch the blender code to use international font by
default, bfont.ttf (that is part of distribution) we could resolve this
 issue faster. Please decide if you consider this still a bug for
Debian Blender package. 

Please note that Debian related patch https://anonscm.debian.org/cgit/p
kg-multimedia/blender.git/tree/debian/patches/0006-
look_for_dejavu_ttf_with_fontconfig.patch?h=debian/2.79%2bdfsg0-2
for Blender is looking for "Dejavu" font, while should be looking for
"DejaVu". I don't think this is part of any reported bug so far. Please
advise if you think this deserves another bug ID.  



Bug#886728: blender: Doesn't work input with russian characters into text editor.

2018-01-09 Thread Dmitry
Package: blender
Version: 2.79+dfsg0-3+b1
Severity: important
Tags: l10n

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   - installed the blender via apt-get from repository of Kali. 
 please note that this packages is an unmodified one from Debian


   * What exactly did you do (or not do) that was effective (or
 ineffective)?

   - in blender created a text object(On the left pane select tab Create, 
(scroll down), find "Other" section, click  "Text"
 then on the bottom pane click on "Object Mode" drop down, select "Edit 
mode", notice non blinking cursor appearance
 on the rendered text object, then put russian character or english 
characters with keyboard; nothing will
 be displayed, while normal editing commands(like delete) and putting 
non-russian text works)

 tried to edit and enter a russian character and failed to do so. 
 Russian character are displayed in the UI of blender fine but are not 
rendered.
 no matter what I do I can't make it work for this one need to install 
the keyboard switcher

   - I am able to see the Russian characters in the UI of blender, however, 
not in the render of 
 the text object. 
   - in the output of blender noticed, that following error messages are 
displayed:

[Tue Jan  9 08:57:51 UTC 2018]:~$ blender -d
Switching to fully guarded memory allocator.
Blender 2.79 (sub 0)
argv[0] = blender
argv[1] = -d
read file /home/puni/.config/blender/2.79/config/userpref.blend
  Version 279 sub 0 date unknown hash unknown
Read prefs: /home/puni/.config/blender/2.79/config/userpref.blend
read file 
  Version 272 sub 2 date unknown hash unknown

ordered
 OBCube
 OBLamp
 OBCamera
BLF_get_unifont: 'Dejavu Sans' font not found with fontconfig
BLF_get_unifont_mono: 'Dejavu Sans Mono' font not found with fontconfig

   - I am suspecting that this behaviour has something to do with the 
following thread:
 https://developer.blender.org/T53106
 and following patch:
 
https://anonscm.debian.org/cgit/pkg-multimedia/blender.git/tree/debian/patches/0006-look_for_dejavu_ttf_with_fontconfig.patch?h=debian/2.79%2bdfsg0-2
 Lines 186 and 220 

 To me it seems that an attempt was made to load another font, however, 
it is failing. 
 This or similair bug was reported earlier and is not marked as fixed: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833962

   - Note: On my system I see that fc-list has "Dejavu*" while the patch 
expects "DejaVu", not sure if this is root cause.
 See the following output from fc-list:

[Tue Jan  9 08:24:01 UTC 2018]:~/bin$ fc-list | grep -i "Dejavu Sans Mono"
/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans 
Mono:style=Oblique
/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans 
Mono:style=Bold Oblique
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans 
Mono:style=Bold
/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans 
Mono:style=Bold
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf: DejaVu Sans 
Mono:style=Book

   * What was the outcome of this action?
 - I have failed to add a russian character into the text object of 
blender

   * What outcome did you expect instead?
 - I expected to see russian character added in blender 
 - As I am not 100% sure on the origin of the issue I have also 
submitted this report:
   https://developer.blender.org/T53744

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID: Kali
Description:Kali GNU/Linux Rolling
Release:kali-rolling
Codename:   kali-rolling
Architecture: x86_64

Kernel: Linux 4.14.0-kali1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages blender depends on:
ii  blender-data  2.79+dfsg0-3
ii  fonts-dejavu  2.37-1
ii  libavcodec57  7:3.4.1-1+b1
ii  libavdevice57 7:3.4.1-1+b1
ii  libavformat57 7:3.4.1-1+b1
ii  libavutil55   7:3.4.1-1+b1
ii  libboost-atomic1.62.0 1.62.0+dfsg-4+b2
ii  libboost-chrono1.62.0 1.62.0+dfsg-4+b2
ii  libboost-date-time1.62.0  1.62.0+dfsg-4+b2
ii  libboost-filesystem1.62.0 1.62.0+dfsg-4+b2
ii  libboost-iostreams1.62.0  1.62.0+dfsg-4+b2
ii  libboost-locale1.62.0 1.62.0+dfsg-4+b2
ii  libboost-regex1.62.0  1.62.0+dfsg-4+b2
ii  libboost-system1.62.0 1.62.0+dfsg-4+b2
ii  libboost-thread1.62.0