LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-25-2016, 05:21 PM   #1
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 343

Rep: Reputation: 2
Mixed Hebrew and English text is displayed incorrectly (FC23+KDE).


Hello!

I'm running FC23+KDE and I have the following problem (since installation):
when I write a Hebrew text and want to place an English word (or punctuation characters)
in the middle of the line, the line is displayed incorrectly: the English (or punctuation)
characters are shown to the right of the line, thus the whole line looks almost uncomprehensible.

I see this phenomenon in "Evolution" and other editors, so it seems to me like a general
OS problem (or maybe, a KDE/Plasma problem?).
I don't remember seeing this problem in previous Fedora versions.

I thought it's just a matter of configuring which Hebrew mode should I select but I didn't find
anywhere any such configuration.

Does anyone encountered a similar problem?
Does anyone knows if/where Hebrew text mode can be configured?

TIA,

kaza.
 
Old 08-26-2016, 11:55 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
Does anyone knows if/where Hebrew text mode can be configured?
Which would you want to write hebrew correctly: the text-editor or work entirely in a hebrew display/window environment?

Try to set your language to he_IL.UTF-8 see if the error goes; or can you post us first what returns you this command
Code:
env | grep -i lang
If you want to write in perfect heb install Hebrew LibreOffice international.

The niqudot can be managed at the menu keyboard configuration, set it to heb lyx, the marks are correctly offered using Shift.

Sometimes it is caused by the font used. Try download this free font SBL Hebrew as it will correctly understand even if you are running on a switched heb & english keyboard. Usually if you merely use ordinary fonts like Deja Vu or Liberation these simply don't shape the niqudot. Here is a sample by simply shifting the keyboard map using SBL Hebrew
Quote:
בהַצלֶחה ושַבַתְ שַלוּם
Hope that helps. Goodluck and enjoy.

m.m.
 
Old 08-27-2016, 01:19 AM   #3
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 343

Original Poster
Rep: Reputation: 2
Hi malekmustaq, thanks for the reply.

I absolutely don't want to to work entirely in Hebrew display environment,
all I want is occasionally to write an e-mail in Hebrew (and much less frequently
some text document in Hebrew).

Here's the value of my languga setting:

Code:
env | grep -i lang
LANGUAGE=
LANG=en_US.UTF-8

Here's an example of the bug: I'll first switch to Hebrew by "Alt+Shift", type 3 Hebrew
letters, then switch to English, type 3 English letters then switch to Hebrew again and type
3 more Hebrew letters:

Code:
אאאaaaבבב
what I see (and I don't know what others see) is that the English letters are displayed
to the right of the first 3 Hebrew letters and the second 3 Hebrew letters are displayed
to the right of the 3 English letters.

I use "Evolution" for e-mails, I thought that setting "alignment to the right" would set the order
correctly but it doesn't. Same behavior is seen when openinig LibreOffice Writer.

I have a "gut feeling" that might be an issue of different modes of Hebrew text (visual/logical)
but I have no idea where in the FC23+KDE system can I configure this.

Ideas?

TIA,
kaza.
 
Old 08-27-2016, 08:03 AM   #4
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Your language environment is in English. For your minimal Hebrew purpose that would be sufficient, no need to change that.

Quote:
I absolutely don't want to to work entirely in Hebrew display environment,
all I want is occasionally to write an e-mail in Hebrew (and much less frequently
some text document in Hebrew).
For that purpose there is an easy way. All that you need are the following:
-Keyboard switcher properly configured to remap keyboard to 'heb' -> logical -> lyx So far that way I have no problem
-Hebrew ttf font (I have given you a link above. Download it and copy to /usr/share/fonts/TTF, then rehash your font cache
-An english LibreOffice writer will do
Launch Libre Office, be sure to click the Right-to-Left Paragraph director or find it from within.
----Menu -> Tools -> Options -> Language Settings -> Language -> enable to CTL to Hebrew
-----------------------------------------------------------> Complex Text Layout -> Cursor Control = Logical
------------------------------------> Libre Office Writer -> Basic Fonts CTL -> fix it to SBL Hebrew
Click OK. (Dont forget the Right-To-Left button.)

Shift the keyboard map to IL or heb (xkb, qxkb, sci, etc. there are many keyboard switchers.)
Load the font.
Begin typing.
Cut and Paste into Evolution. Send.

Hope that helps.

m.m.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Replacing XP with linux DeepIn English and Hebrew ezrazz Linux - Software 1 02-18-2014 11:57 AM
How can change the url presentation from the standard English to Hebrew? michael! Linux - Hardware 0 08-20-2006 06:56 AM
very newbie question .. English - Hebrew Switch how i do it ? SlackwareMan Linux - Newbie 11 07-26-2004 02:13 PM
English - Hebrew switch how i do it ? SlackwareMan Linux - Newbie 0 07-25-2004 09:10 PM
Unable to switch between English and Hebrew michaely Slackware 2 07-18-2004 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration