Bug 330527

Summary: Annotations: Inline Note not shows cyrillic symbols.
Product: [Applications] okular Reporter: Aleksei <plooges>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, chris.taylor, elandread, fabiodurso
Priority: NOR    
Version: 0.17.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
URL: https://www.dropbox.com/s/3qomqti425245a6/okular_bug_report_20140129.png
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aleksei 2014-01-29 07:33:41 UTC
When I type in russian language some text, for example
"Текст на русском языке с цифрами 1234567 и английскими буквами ABCabc",
Inline Note not show it.


Reproducible: Always

Steps to Reproduce:
1. Open any PDF file in Okular.
2. Enable Review (menu Tools->Review or click "F6")
3. Select "Inline Note" on Annotation toolbar or click "2".
4. Add annotation in document and type text in russian language.
(eg. "Текст на русском языке с цифрами 1234567 и английскими буквами ABCabc"



$ ldd /usr/bin/okular 
        linux-gate.so.1 (0xb77cc000)
        libkparts.so.4 => /usr/lib/libkparts.so.4 (0xb775f000)
        libkactivities.so.6 => /usr/lib/libkactivities.so.6 (0xb7743000)
        libkio.so.5 => /usr/lib/libkio.so.5 (0xb74a4000)
        libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0xb7079000)
        libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb65c1000)
        libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0xb62fe000)
        libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xb6015000)
        libQtDBus.so.4 => /usr/lib/i386-linux-gnu/libQtDBus.so.4 (0xb5f96000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb5ead000)
        libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb5cfd000)
        libnepomuk.so.4 => /usr/lib/libnepomuk.so.4 (0xb5c24000)
        libnepomukutils.so.4 => /usr/lib/libnepomukutils.so.4 (0xb5bec000)
        libQtXml.so.4 => /usr/lib/i386-linux-gnu/libQtXml.so.4 (0xb5ba8000)
        libQtNetwork.so.4 => /usr/lib/i386-linux-gnu/libQtNetwork.so.4 (0xb5a60000)
        libQtSvg.so.4 => /usr/lib/i386-linux-gnu/libQtSvg.so.4 (0xb5a0c000)
        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb58d4000)
        libstreamanalyzer.so.0 => /usr/lib/libstreamanalyzer.so.0 (0xb5859000)
        libsolid.so.4 => /usr/lib/libsolid.so.4 (0xb576e000)
        libacl.so.1 => /lib/i386-linux-gnu/libacl.so.1 (0xb5765000)
        libattr.so.1 => /lib/i386-linux-gnu/libattr.so.1 (0xb575f000)
        libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb5755000)
        libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb5712000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb56f5000)
        libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb56ed000)
        libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb56d4000)
        libattica.so.0.4 => /usr/lib/i386-linux-gnu/libattica.so.0.4 (0xb55f1000)
        libdbusmenu-qt.so.2 => /usr/lib/i386-linux-gnu/libdbusmenu-qt.so.2 (0xb55bd000)
        libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb55b6000)
        libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb557b000)
        libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb5560000)
        libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xb5546000)
        libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb5443000)
        libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb5419000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb5400000)
        libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb535f000)
        libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb530e000)
        libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb52fc000)
        libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb52e9000)
        liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb52c2000)
        libdlrestrictions.so.1 => /usr/lib/libdlrestrictions.so.1 (0xb52bd000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0xb52b5000)
        libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb52b0000)
        librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb52a6000)
        /lib/ld-linux.so.2 (0xb77cd000)
        libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xb525b000)
        libsoprano.so.4 => /usr/lib/libsoprano.so.4 (0xb516e000)
        libnepomukquery.so.4 => /usr/lib/libnepomukquery.so.4 (0xb5126000)
        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb5104000)
        libstreams.so.0 => /usr/lib/libstreams.so.0 (0xb50ce000)
        libxml2.so.2 => /usr/lib/i386-linux-gnu/libxml2.so.2 (0xb4f73000)
        libudev.so.1 => /lib/i386-linux-gnu/libudev.so.1 (0xb4f60000)
        libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb4f5a000)
        libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb4f31000)
        libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb4ed5000)
        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb4ed1000)
        libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb4e92000)
        libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb4e8b000)
        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb4e84000)
PC:
Lenovo ThinkPad L412 with Intel Core i3 M330 CPU 2.13 GHz.
4GB RAM

OS:
Debian 7 GNU/Linux jessie/sid
Linux ThinkPad-L412 3.12-1-686-pae #1 SMP Debian 3.12.8-1 (2014-01-19) i686
GNU/Linux
KDE 4.11.5
Comment 1 Peter 2014-04-06 14:19:41 UTC
I confirm this with Okular 0.18.4 (using KDE 4.12.4) on Archlinux x64.
In the "Inline Note" tool cyrillic text cannot be seen. It is shown, however, in the floating window which appears if you double-click the inline note.
Comment 2 chris.taylor 2014-05-02 09:06:16 UTC
I'm having similar trouble displaying Greek characters. I wondered if the problem was that the default font for in-line display is not unicode or something. So I tried to change the default font (or the font used for individual notes). It turns out that for me using 0.19.0, any font changes are displayed.

So a related bug might be the one I've filed here: https://bugs.kde.org/show_bug.cgi?id=334210
Comment 3 Fabio D'Urso 2014-05-08 15:24:54 UTC
It's a Poppler issue. I'm sure there is already some Poppler bug about this.

*** This bug has been marked as a duplicate of bug 305534 ***