Hello there,
I am using GoldenDict version 1.5.0-RC2+git on Fedora 30, and facing an issue with just Arabic translation, or maybe all RTL languages.
Note: If the dictionary based on LTR language everything is perfect, but if it is RTL then it depends: if it's written as the way of LTR language dictionaries then again is okay,
but if the whole dictionaries shows from right-to-left, then here the issue.
A picture below explains what I mean
Hi jalalsfs,
I guess it's specific to Fedora. Give the opportunity to download dictd dictionary "Arabeyes Technical Computing Dictionary", so will check it out on the XP machine and see if I can reproduce it.
no its not specific to fedora.i have ubuntu disco and the problem exists.i resize the article page width to 50% of page width and when i resize the window the problem solved but its a temporary solution.can anyone have a right solution??tnx
Despite all this, I still checked on Windows XP. I configured GoldenDict on the server dict.arabeyes.org. The screen capture shows that in Windows XP when using the DICT server there is no problem. See screen capture
in my tests this problem only happens if you compile the project with qt5 and if you compile the project with qt4 there is no problem.check this pictures.qt4 vs qt5
the main problem is in here.for example if i edit bglrtl class and change the "text-align: right" to "text-align: center" this happens: before vs after
as far as i know qt4 use webkit and qt5 use webengine for rendering css files.
i hope this informations helps you to fix the problem.
ps. sorry for my english.
I notice this problem when I try to use Al-Mawrid dict in Kde neon linux. I got translation overflown
but when I tested on Windows it works fine:
I am using 1.5.0-RC2-422-g353ea17 build from master
This has something to do with qt5-webkit
. I am able to reproduce the same issue in another program (qutebrowser). In qutebrowser
one can set the rendering backend to webengine
(default) or webkit
.
I saved a sample _html_ from GoldenDict and opened it in qutebrowser
with 2 different backends:
I also confirm that this was not a problem with qt4-webkit
. To be honest I don't have high hopes for this issue to be resolved. I am focusing my efforts on recompiling GoldenDict statically with qt4-webkit
. Although, if someone wants to fix this, I am willing to donate some.
P.S.: The sample html is attached here.
impetuous.zip
It works perfectly with Qt4.
For other users, here is how to build with Qt4 on Debian-based systems:
https://gist.github.com/ilius/0fef65b0512e1f8fa7c2d258be98c515
Most helpful comment
This has something to do with
qt5-webkit
. I am able to reproduce the same issue in another program (qutebrowser). Inqutebrowser
one can set the rendering backend towebengine
(default) orwebkit
.I saved a sample _html_ from GoldenDict and opened it in
qutebrowser
with 2 different backends:webengine
webkit (same as GoldenDict):
I also confirm that this was not a problem with
qt4-webkit
. To be honest I don't have high hopes for this issue to be resolved. I am focusing my efforts on recompiling GoldenDict statically withqt4-webkit
. Although, if someone wants to fix this, I am willing to donate some.P.S.: The sample html is attached here.
impetuous.zip