Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hebrew font anomaly in the linux client #252

Closed
warpok opened this issue Feb 1, 2019 · 10 comments
Closed

Hebrew font anomaly in the linux client #252

warpok opened this issue Feb 1, 2019 · 10 comments
Assignees

Comments

@warpok
Copy link

warpok commented Feb 1, 2019

The Hebrew U of Amsterdam is showing up in the Linux (Ubuntu-based) client with rectangles instead of Hebrew letters, while the other two resources I have showing the Hebrew text do not show up that way. The Android Bibledit app shows the Hebrew letters correctly. Bibledit on the same Ubuntu-based computer running in the Chrome browser shows the Hebrew correctly. So the problem is just found in the Hebrews UofA text. Sometimes there are quite a few letters blocked out, making things confusing.
screenshot_2019-02-01_07-06-36

@teusbenschop
Copy link
Member

Hey, this is very strange!

Is the "Ezra SIL" font installed on Ubuntu?
If this font is not installed, does installing this font solve the problems?

(If it does, perhaps the "Bibledit" package should be updated to it installs that font...)

@teusbenschop teusbenschop self-assigned this Feb 2, 2019
@warpok
Copy link
Author

warpok commented Feb 3, 2019 via email

@teusbenschop
Copy link
Member

On an Ubuntu installation here, the same issue surfaces as what you have notices.

I access the Bibledit software through http://localhost:9876. The issue does not surface there.

So it clearly is an issue in WebKitGtk2. This is used to display the interface.

@warpok
Copy link
Author

warpok commented Feb 8, 2019 via email

@teusbenschop
Copy link
Member

It may have been fixed already in the very newest WebKit2Gtk libraries, if somebody noticed the same thing. It may be worth it to report it to the library's maintainers so they know and can fix it if it's not already fixed. But for sure, it's not related to Bibledit itself.

@teusbenschop
Copy link
Member

The bug is definitely not in Bibledit.
It is in the WebKit rendering engine.
It has been reported to the maintainer of the WebKit2Gtk libraries in Debian.
Here is the link to the bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921869

@teusbenschop
Copy link
Member

Another test was done on this issue.
The Hebrew data was converted to NFC - Normalization Form Canonical Composition
See https://en.wikipedia.org/wiki/Unicode_equivalence for more information about what "NFC" means.
The Hebrew data in NFC displays well on Ubuntu.
Here's a screenshot:
screenshot 2019-02-09 at 18 05 04

@teusbenschop
Copy link
Member

Here is a better screenshot. It uses the SIL Ezra font.
screenshot 2019-02-09 at 18 06 37

teusbenschop added a commit to bibledit/packaging that referenced this issue Feb 10, 2019
@teusbenschop
Copy link
Member

The bug is in the WebKit rendering engine. A bug report was opened.
Bibledit now works around this bug.
It has converted all Hebrew characters to the NFC (composed) format.
In this composed format, the Hebrew characters get rendered properly.
New Bibledit packages are now available in Ubuntu.
After upgrading Bibledit on Ubuntu to the newest versions, it will work well.
On other versions, derived from Ubuntu, the next release of that operating system will contain the updated Bibledit packages with the fix.

@warpok
Copy link
Author

warpok commented Feb 12, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants