Bug 1395381 - Missing fonts for tagainijisho
Summary: Missing fonts for tagainijisho
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tagainijisho
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Martin Sourada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 20:51 UTC by N.Brack
Modified: 2019-05-08 11:45 UTC (History)
4 users (show)

Fixed In Version: tagainijisho-1.0.3-10.fc27 tagainijisho-1.0.3-10.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 15:39:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Example showing what I see when searching "Hello" and viewing the entry for 「廊下」 (50.12 KB, image/png)
2016-11-15 20:51 UTC, N.Brack
no flags Details

Description N.Brack 2016-11-15 20:51:13 UTC
Created attachment 1220955 [details]
Example showing what I see when searching "Hello" and viewing the entry for 「廊下」

Description of problem:
-----------------------

Tagainijishou is missing some important fonts, that makes some terms not appear.
Most notably words that contains only kanas appear blank, and all furigana are missing from vocabulary entries.  Also searches with only hiragana/katakana/romaji yield no results.


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
Kernel      : 4.8.6-201.fc24.x86_64
Version     : 1.0.3



How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
Install/reinstall tagainijisho
$ sudo dnf reinstall tagainijisho{,-common,-dict-en}

Marke sure to purge the config
$ rm -rf .local/share/data/Tagaini\ Jisho .config/tagaini.net

Launch Tagainijishou

Search "Hello"
-> Only 「今日は」 appears in the search result box, all entries have their japanese text blank.

Search "hallway"
Select the first result, 「廊下」.
-> No furigana appears on top of the kanjis in the word entry box in the bottom half

Search する
-> No result appears

Check the "Romaji search" checkbox.
Search atatakai
-> No result appears
Search 温かい
-> One result entry is available

Additional info:
----------------

The software is pretty useless in this form, as you have to guess kanji when knowing only the kanas, and to guess the pronunciation when finding a word through the kanjis.

Comment 1 Martin Sourada 2016-11-27 19:22:00 UTC
Hello, 

thanks for reporting. Do you have any Japanese fonts installed? What happens if you run as root?

dnf install 'font(:lang=ja)'

Comment 2 N.Brack 2016-11-27 20:14:35 UTC
My japanese fonts are installed.  I have sazanami-{gothic,mincho}, google-droid-sans, adobe-source-han-sans-cn and vlgothic installed.  I can type japanese, in gedit for example, or I can correctly read the UI menus in japanese if I change tagaini jisho's "Preferred GUI language".

It's more insidious than that.  Text with at least one kanji do show up, including the kanas, but text without any kanjis, like the pronunciation in furigana, disappear...

If I run as root, I have a blank window...  There are some errors from the terminals.

    Qt: Session management error: None of the authentication protocols specified are supported
    Debug: Could not register katakana tokenizer!
    Debug: Could not register katakana tokenizer!
    Debug: Could not register katakana tokenizer!
    Debug: Could not register katakana tokenizer!
    Debug: Could not register katakana tokenizer!
    Warning: X Error: BadAccess (attempt to access private resource denied) 10
      Extension:    130 (MIT-SHM)
      Minor opcode: 1 (X_ShmAttach)
      Resource id:  0x173

The X error loops indefinitely.  If I run it as user only the "Debug: Could not register katakana tokenizer!" error appears.

Comment 3 Martin Sourada 2016-11-27 22:11:24 UTC
Hm, that's strange. Do you have any other qt4 based app that you could try?

This command should give you a list of such apps (and libs):


# dnf repoquery --installed --whatrequires "libQtGui.so.4()(64bit)"

Comment 4 N.Brack 2016-12-07 23:13:25 UTC
I have scribus and krename.  In neither of these, can I use the Ibus-mozc IME to input japanese : they insert latin character as if there was no special IME.  However both of these can display japanese characters by copying and pasting.

It's really weird because today -- after some daily updates I didn't check what they contained -- in addition to the japanese text displaying only at times, tagaini jisho refuses to input japanese with ibus-mozc as well, which means it's even more broken to use !

Comment 5 N.Brack 2016-12-07 23:23:44 UTC
Oh, said updates include upgrading to fedora 25. Changing the fedora version of the bug.

Comment 6 Gabriel Molina 2016-12-11 03:22:32 UTC
This is not a problem with fonts. Root cause of this bug is that Tagaini Jisho uses the sqlite's function fts3_tokenizer() that was removed for security reasons since 3.11 version of sqlite.

http://sqlite.org/releaselog/3_11_0.html

When this function is not found the following warning is written in the console:

"Could not register katakana tokenizer!"

Making furigana to be not found and not displayed.

Tagaini Jisho provides a flag to embed a custom sqlite "-DEMBED_SQLITE=1", compiling with this flag should solve this issue.

Comment 7 N.Brack 2016-12-27 16:06:28 UTC
I built tagainijisho from the github repository with the "-DEMBED_SQLITE=1" and I can confirm it works fine with that home-directory-installed build.

Comment 8 Brallan Jesús Aguilar Rivera 2017-01-17 15:16:46 UTC
(In reply to N.Brack from comment #7)
> I built tagainijisho from the github repository with the "-DEMBED_SQLITE=1"
> and I can confirm it works fine with that home-directory-installed build.

I hope the devs can rebuild Tagaini, I miss it T.T

Comment 9 Fedora End Of Life 2017-11-16 19:51:38 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 10 Fedora End Of Life 2018-02-20 15:28:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 11 Fedora Update System 2018-07-22 19:14:47 UTC
tagainijisho-1.0.3-10.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ea5c7a8af0

Comment 12 Fedora Update System 2018-07-22 19:15:01 UTC
tagainijisho-1.0.3-10.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-8d422a7f16

Comment 13 Fedora Update System 2018-07-23 02:25:18 UTC
tagainijisho-1.0.3-10.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-8d422a7f16

Comment 14 Fedora Update System 2018-07-23 02:55:39 UTC
tagainijisho-1.0.3-10.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ea5c7a8af0

Comment 15 Fedora Update System 2018-08-02 15:39:04 UTC
tagainijisho-1.0.3-10.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2018-08-02 16:21:16 UTC
tagainijisho-1.0.3-10.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.