![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2016
Device: Google Play Books
|
How to make Gujarati text while editing appear normally
How can I make the Gujarati text in the code editing view appear normal like in the preview? See attached images.
In preview, you can see the Gujarati the way it should show: In the code view, you can see that the vowel signs that are supposed to combine do not combine: It makes editing very very difficult. Thanks all for your support. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,498
Karma: 5703586
Join Date: Nov 2009
Device: many
|
That is certainly strange. How you tried changing the Sigil Preferences for the font used in Codeview to see if it impacts the situation at all?
|
![]() |
![]() |
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,498
Karma: 5703586
Join Date: Nov 2009
Device: many
|
This also might be relevant:
https://codereview.qt-project.org/#/c/106973/ It seems Qt fontconfig has a typo that impacts this language. Is this a Mac, Windows, or Linux environment? If Mac, this might be a unicode normalization issue as Macs natively use a different unicode normalization for composing and decomposing combined characters than most platforms. Last edited by KevinH; 03-04-2016 at 10:58 PM. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,689
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
@spacesurfer: I wasn't able to reproduce this issue with the 64bit Sigil Windows version no matter which CodeView font I selected.
Spoiler:
This is most likely a Windows font mapping issue. Do you have fonts with Gujarati support other than Arial Unicode MS, Nirmala UI or Nirmala UI Semilight installed and/or are you missing Arial Unicode MS? If so try to temporarily uninstall all fonts with Gujarati support except for Arial Unicode MS to see if this fixes the problem. |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2016
Device: Google Play Books
|
Thank for the responses.
I'm using different computers and ALL of them have the same problem. I'm using a Windows 7 32-bit computer at work with Sigil portable 32-bit (downloaded from portableapps.com) because I can't install software on work computers. I'm using Windows 10 64-bit version (home on one and pro on another) and both have the same problem. I was using the portable 32-bit version and based on suggestion above I installed 64-bit version and still the same problem. I don't have any fonts installed except Arial Unicode MS, Shruti (which comes with Windows), Nirmal UI (which comes with Windows), and I installed Noto Sans Gujarati. I removed Noto Sans Gujarati but still no go. As can be seen in my original images, the software automatically picks up on Arial Unicode MS as the default font for editing in Code View and the Noto Sans Gujarati font that is embedded for the Preview view. Any more light on this issue is appreciated, especially since Doitsu is not having this issue based on his screenshot... That is what I would like to see... makes a world of difference when it displays correctly. |
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,375
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
What version(s) of Sigil are you using?
I only ask because you mentioned the "portable" version of Sigil. And while it's barely notable by itself that there are no "official" portable versions of Sigil, what's more relevant is that there's no "recent" portableapps versions of Sigil available (to my knowledge). I'm sure Doitsu is using a recent version of Sigil; I just want to make sure you are, as well. EDIT: never mind. It's apparent from your screenshots that you're using Sigil 0.9.3. The only suggestion I would have would be to back-up, and then temporarily remove/relocate the Sigil.ini file to eliminate the possibility of any residual influence/corruption leftover from the portableapps (or simply an older) version. Probably a longshot, but it's worth a try since Doitsu's experience proves its possible for it to work correctly. Last edited by DiapDealer; 03-11-2016 at 10:07 AM. |
![]() |
![]() |
![]() |
#7 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,689
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
In addition to DiapDealer's suggestion try the following: 1. Download, unpack and open BabelPad. 2. In BabelPad, select Fonts > Single Font and select 48 as the font size. 3. Open a Gujarati epub with Sigil, copy a random paragraph, switch to Code View mode and increase the zoom factor to 200%. 4. Paste the paragraph into BabelPad. 5. Change the font in BabelPad to a font with Gujarati support and compare the text with the Code View text. 6. Repeat step 5, until the BabelPad text is displayed in the same font. 7. Close Sigil and move the font(s) that you've identified in step #5 from the Windows/Fonts folder to a temp folder. 8. Re-open the Gujarati epub with Sigil and check the Code View window. |
||
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,375
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I was unaware that PortableApps had caught up to us. I believe they were sill on the 0.8x series last I looked. Good to know!
|
![]() |
![]() |
![]() |
#9 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2016
Device: Google Play Books
|
Quote:
However in the code view, that is 100% Arial Unicode MS. Just like in your screen shot it's Arial Unicode MS. It's not Nirmal UI or Shruti. |
|
![]() |
![]() |
![]() |
Tags |
editing view, gujarati, sigil |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Best App for Editing Text | Rizla | Android Devices | 0 | 10-09-2013 05:20 PM |
Text Editing | dave602 | Introduce Yourself | 6 | 09-20-2011 10:36 AM |
How to make Amazon Kindle Text to Speech skip over some text | xsaero00 | Kindle Developer's Corner | 3 | 06-18-2011 07:09 PM |
Do need help editing text files? | Nate the great | Workshop | 3 | 04-01-2009 01:18 PM |
eBook Text Editing | Gideon | Workshop | 5 | 01-28-2008 12:26 PM |