Rainie3535 / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Soft hyphens are not showing in the Book View #1207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please read http://code.google.com/p/sigil/wiki/ReportingIssues for
information about submitting a good bug report.

What steps will reproduce the problem?
1. Convert this to ePub: http://www.cs.tut.fi/~jkorpela/shytest.html (or the 
one attached to this post)
2. Notice that ­ and the other Unicode invisible character are converted 
to ­

What is the expected output? What do you see instead?

I expected to see soft hyphenations but instead I see what's in the attached 
image. Everything is converted to "­" ...

What version of the product are you using? On what operating system?

Sigil 0.5.0 (loaded Qt 0.4.8)
Arch Linux i686

Please provide any additional information below. If your source file
(SGF/EPUB/HTML/etc) is required to fully understand the problem, please
attach it to this issue. Read the ReportingIssues wiki page before
submitting!

Original issue reported on code.google.com by zDSpi...@gmail.com on 27 Jan 2012 at 11:53

Attachments:

GoogleCodeExporter commented 9 years ago
­ is the html entity representing a soft hyphen.

Original comment by john@nachtimwald.com on 27 Jan 2012 at 12:54

GoogleCodeExporter commented 9 years ago
So they're not supposed to show up in the Book View? I thought Sigil is WYSIWYG.

Original comment by zDSpi...@gmail.com on 27 Jan 2012 at 3:10

GoogleCodeExporter commented 9 years ago
Is not the definition of a Soft Hyphen, is to hyphenate IF longer than the 
available line display?

The image is showing the lines are not longer than the display.....

Check by enlarging the display font or add 'the' in front of all the 
'Disretionary's

Original comment by shaun.voysey@outlook.com on 27 Jan 2012 at 4:41

GoogleCodeExporter commented 9 years ago
Um, "discretionary" doesn't fit in the blank space so it should break 
(according to the code). Normally you should see it ending with "dis-" and 
"cretionary" on the next line.

I knew I should've placed the red elipse more to the right... Sorry about that. 
If you don't believe me, download the HTML file and see for yourself. But I'm 
telling you the Book View doesn't do soft hyphens.

Original comment by zDSpi...@gmail.com on 27 Jan 2012 at 4:51

GoogleCodeExporter commented 9 years ago
Perhaps it is somtehing to do with your linux files.  I'm running Windows XP 
SP3. And it's working for me...

Original comment by shaun.voysey@outlook.com on 27 Jan 2012 at 7:01

Attachments:

GoogleCodeExporter commented 9 years ago
You're right. They do show up in the Windows version (Windows XP). 
Interestingly enough if I run the .exe through Wine it displays them as well. 
The only difference I could find was "Loaded Qt: 4.7.4".

Original comment by zDSpi...@gmail.com on 27 Jan 2012 at 7:52

GoogleCodeExporter commented 9 years ago
what version does the Help->About window show for Qt?  It should be 4.7.2.  Are 
you running /opt/sigil/sigil.sh (with the .sh) to make sure the right Qt 
libraries are used?

Original comment by meme90...@gmail.com on 27 Jan 2012 at 9:02

GoogleCodeExporter commented 9 years ago
Loaded Qt: 4.8.0 (Arch Linux i686)
Loaded Qt: 4.7.4 (Windows XP 32 bits)

Both running Sigil 0.5.0... There is no sigil folder in /opt/ and there is no 
sigil.sh file on my entire hard drive. I'm pretty sure it starts /usr/bin/sigil 
when I run "sigil".

Original comment by zDSpi...@gmail.com on 28 Jan 2012 at 10:09

GoogleCodeExporter commented 9 years ago
How did you install Sigil?

You must run chmod +x on the Sigil download, and then sudo ./Sig... - it must 
run as root to install in /opt

/opt/sigil/sigil.sh must be used or the wrong libraries will be used.

Maybe you've installed Sigil from some other location other than the one 
provided here?  If so, I've no idea how they're packaging the software.

Original comment by meme90...@gmail.com on 28 Jan 2012 at 11:49

GoogleCodeExporter commented 9 years ago
zDSpider installed the arch linux package not the one provided here.

Qt 4.8.0 has major web kit rendering issues. Actually 4.8 has many issues in 
general that lead to data loss. That's why I still using 4.7 for the official 
packages.

Original comment by john@nachtimwald.com on 28 Jan 2012 at 1:23