Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-17-2011, 06:31 PM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
WYSIWYG and incorporated font

Hi

I have had recently trouble viewing correctly EPUBs with embedded fonts.
Here the font used for the EPUB is Linux Libertine.

Here are two screenshots of the same file.
- The apparently good one is from Sigil 0.24 Linux portable
- The other is from Sigil 0.4 beta Windows using Wine

EPUB is in the attachment

Any explanations? How do you view it?

Nota: the file is "heavy" because for this file I did not use "light" web-fonts but average ttf.
Attached Thumbnails
Click image for larger version

Name:	Sigil 0.24.png
Views:	270
Size:	36.2 KB
ID:	71507   Click image for larger version

Name:	Sigil 0.4 beta.png
Views:	268
Size:	20.5 KB
ID:	71508  
Attached Files
File Type: epub La Chinoise.epub (1.26 MB, 174 views)

Last edited by roger64; 05-18-2011 at 01:48 AM. Reason: embedded is the right word
roger64 is offline   Reply With Quote
Old 05-18-2011, 01:51 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Actually, you have wrong references. The font names in the stylesheet are different from the files actually in the fonts folder...

If you change the font names and the relative directory path to them, it should work.

Last edited by Toxaris; 05-18-2011 at 01:54 AM.
Toxaris is offline   Reply With Quote
Advert
Old 05-18-2011, 01:58 AM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Too many trials.

@Toxaris

Thanks for it. Indeed, it is far better...
Attached Thumbnails
Click image for larger version

Name:	sigil 0.4.png
Views:	251
Size:	24.7 KB
ID:	71519  

Last edited by roger64; 05-18-2011 at 02:07 AM.
roger64 is offline   Reply With Quote
Old 05-18-2011, 02:03 PM   #4
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
I come back on the original subject.

From what I can see, I have a problem with Sigil 0.4.0 beta and embedded fonts. If I try to make a minor change in one EPUB with embedded font, I get very quickly a faulty display. It looks like I have one unstable mix, easily disrupted. It's to the point now, that I consistently avoid using Sigil 0.4. beta for tweaking any EPUB with embedded font.

However, this does not happen with Sigil 0.24 Linux portable.

Please, have a try. Here is one EPUB which looks fine. It uses Linux Libertine web-fonts, drop caps and true small capitals.

Look at it first, and then make some minor changes in the stylesheets, save, then reverse them, and you'll probably get also a faulty display. I can't explain what happens, but after so many display problems of this kind, for the time being I'll stick to Sigil 0.24
Attached Files
File Type: epub La Chinoise.epub (212.7 KB, 209 views)

Last edited by roger64; 05-18-2011 at 03:29 PM.
roger64 is offline   Reply With Quote
Old 05-19-2011, 12:58 AM   #5
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
It seems my previous mistake killed my credibility. Well...

This is a plain and basic way to reproduce this faulty display (though, I'm sure it's NOT the only one)

Open the above EPUB with Sigil 0.4 beta.
Open the style sheet named styles1.css
Suppress the last item (about p { text-align:justify; })
Save and close the EPUB

Open again: here is the faulty display.
This happens with the button Html Tidy on and off.

Last edited by roger64; 05-19-2011 at 01:02 AM.
roger64 is offline   Reply With Quote
Advert
Old 05-19-2011, 02:29 AM   #6
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
If this is so, it must be unique to Linux; I am unable to get the "faulty display" to occur following your instructions; when I delete the paragraph alignment, nothing happens.

HTH
Hitch
Hitch is offline   Reply With Quote
Old 05-19-2011, 05:36 AM   #7
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Thanks for trying.

It seems it's a Wine problem. I used the Windows version of Sigil with Wine. After every save, the display went wrong on resume when I used EPUBs with embedded fonts.

When I use EPUBs without embedded fonts, nearly everything was normal.

Well, this version has now been deleted. I realized that the Linux version is no more the monster it once was (now 15 megs against 50 for the 0.34), so there is even no need for a portable version.

Last edited by roger64; 05-19-2011 at 06:17 AM.
roger64 is offline   Reply With Quote
Old 05-19-2011, 01:44 PM   #8
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Just curious, why do you use the windows version with Wine instead of just the Linux version?
Toxaris is offline   Reply With Quote
Old 05-19-2011, 08:18 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Toxaris View Post
Just curious, why do you use the windows version with Wine instead of just the Linux version?
My guess, he has 2 versions installed at the same time.

Wine is quirky in many cases. If something even runs, I consider it good
theducks is offline   Reply With Quote
Old 05-20-2011, 03:05 AM   #10
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by Toxaris View Post
Just curious, why do you use the windows version with Wine instead of just the Linux version?
I have been using Wine for quite a long time and got mostly excellent results for a good variety of software, sometimes even, would you believe it, maybe slightly better than using Windows for example for some chess engines.

Furthermore you know very quickly if it's working or not. It's new for me to suffer this kind of pesky problems.

Why to use Wine with Sigil?

Now, I agree there is no good reason. But, till the 22 of April this year, the Linux version was quite huge because it installed the full Qt gear. So, I kept using an old portable 0.24 Linux version. I wanted to test a new one and chose the new small-sized Windows version.

I just came to realize (I had given up hope) that now the Linux version size is close to the Windows version size , which, for me, makes it much more attractive and clears any hurdle.
http://code.google.com/p/sigil/downloads/list

Last edited by roger64; 05-20-2011 at 03:23 AM.
roger64 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seriously thoughtful Wysiwyg editor for someone used to FrontPage? Ea Lounge 4 11-11-2010 02:51 PM
WYSIWYG UI Features Matrix Frank Lowney Sigil 2 04-12-2010 07:44 AM
Sigil displaying WYSIWYG oddly moz Sigil 6 12-27-2009 05:07 PM
Using Book Designer as a WYSIWYG crutledge Workshop 1 07-25-2009 03:20 AM


All times are GMT -4. The time now is 02:33 AM.


MobileRead.com is a privately owned, operated and funded community.