Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-06-2011, 09:52 AM   #31
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: 30,889
Karma: 59840450
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 user_none View Post
I'm not about to add support for Apple's non-standard, industry destroying, money grubbing practices.


Infinete Loop is only a few miles from here. I have Eggs.
Would you like a message delivered
theducks is online now   Reply With Quote
Old 09-06-2011, 10:08 AM   #32
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
I hate settings dialogs. 90% of things in them do not matter. Do not be surprised if it "slips" to a later release.

<rant> One thing in particular I keep hearing is the ability to set a default font in book view. Sigil is not a reading app, if you want a particular font then specify it in the file. Also, the good thing about a standard default font is it is very easy to tell if the file has specified a font.
</rant>
user_none is offline   Reply With Quote
Advert
Old 09-06-2011, 10:34 AM   #33
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: 30,889
Karma: 59840450
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 user_none View Post
I hate settings dialogs. 90% of things in them do not matter. Do not be surprised if it "slips" to a later release.

<rant> One thing in particular I keep hearing is the ability to set a default font in book view. Sigil is not a reading app, if you want a particular font then specify it in the file. Also, the good thing about a standard default font is it is very easy to tell if the file has specified a font.
</rant>
I like the fact that Sigil only shows what is coded within the book (that include using a systems default).
If the user has set their System font for tired eyes, I would expect Sigil to only honor that if using a (non-specified) system default
theducks is online now   Reply With Quote
Old 09-06-2011, 10:34 AM   #34
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by user_none View Post
One thing in particular I keep hearing is the ability to set a default font in book view. Sigil is not a reading app, if you want a particular font then specify it in the file. Also, the good thing about a standard default font is it is very easy to tell if the file has specified a font.
While I understand your point, letting the user choose his/her preferred fonts, colours, etc. should be a feature of every app, although they can rely on system-wide settings.

While it's not a reading app, the book view should serve as a previewer (or otherwise, why is it there at all?), and changing the font could be useful in some cases.

If you don't want to implement a preferences dialog with all sorts of things (book view font among them), maybe you could just set some "default css" that is applied only to book view, and is not included in the ePUB.
Jellby is offline   Reply With Quote
Old 09-06-2011, 02:34 PM   #35
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by user_none View Post
I hate settings dialogs. 90% of things in them do not matter. Do not be surprised if it "slips" to a later release.

<rant> One thing in particular I keep hearing is the ability to set a default font in book view. Sigil is not a reading app, if you want a particular font then specify it in the file. Also, the good thing about a standard default font is it is very easy to tell if the file has specified a font.
</rant>
According to that line of thinking, no font would be used in Sigil and nothing could be read unless a font is speified in the file.

Having to reset the font size for each section is a PITA.

Some things should be global iaw the user's desires.
crutledge is offline   Reply With Quote
Advert
Old 09-06-2011, 03:23 PM   #36
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by user_none View Post
<rant> One thing in particular I keep hearing is the ability to set a default font in book view. Sigil is not a reading app, if you want a particular font then specify it in the file. Also, the good thing about a standard default font is it is very easy to tell if the file has specified a font.
</rant>
One thing I know for certain is that is we were to introduce that then we'd get people complaining that the book looked fine on their PC, but ended up using a completely different font on their reader. It just introduces more possibility for confusion.

As it is right now, Sigil's Book View follows the rules for default handling of fonts that are specified in the standards - what you're seeing are the defaults built into Webkit. If you don't specify anything in the css you're telling the User Agent to decide for itself, and Sigil reflects that. Adding user preferences for this sort of thing would break the WYSIWYG model and that's too high a price to pay for something that the user can already do very easily by specifying their preference in the correct place, which is in the css.
charleski is offline   Reply With Quote
Old 09-06-2011, 04:50 PM   #37
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: 30,889
Karma: 59840450
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 charleski View Post
One thing I know for certain is that is we were to introduce that then we'd get people complaining that the book looked fine on their PC, but ended up using a completely different font on their reader. It just introduces more possibility for confusion.

As it is right now, Sigil's Book View follows the rules for default handling of fonts that are specified in the standards - what you're seeing are the defaults built into Webkit. If you don't specify anything in the css you're telling the User Agent to decide for itself, and Sigil reflects that. Adding user preferences for this sort of thing would break the WYSIWYG model and that's too high a price to pay for something that the user can already do very easily by specifying their preference in the correct place, which is in the css.
Actually, this issue exists if non-common fonts are not embedded. The device uses the fall-back, where the font may have been available to the PC/Sigil.
theducks is online now   Reply With Quote
Old 09-06-2011, 05:37 PM   #38
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Unfortunately there's no way to prevent Webkit from using font information available to the host system, or restrict it to a subset. But at least this way anyone who runs into the problem will know that the place to fix it is in the css, rather than trying to alter a preference in Sigil that will have no effect on the ereader whatsoever.

An increasing number of ereaders are coming out with a variety of fonts available as stock (the iPad [though you need to add Apple's magic file to enable them properly], Kobo Touch and Sony T1) and if their UAs are correctly coded those fonts should be exposed and usable from the css without having to embed them.
charleski is offline   Reply With Quote
Old 09-06-2011, 06:26 PM   #39
Ahmad Samir
Zealot
Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!
 
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
FWIW, in Linux, Sigil (qtwebkit) seems to use the "Times" family in the BV, so you can control the font Sigil uses in the BV using an alias, something like this in ~/.fonts.conf:
Code:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <alias binding="same">
   <family>Times</family>
   <accept>
   <family>DejaVu Sans</family>
   </accept>
 </alias>
</fontconfig>
here I made it use the "DejaVu Sans" family, use the font you prefer (to get the exact font names, just look at the font settings dialogue in your DE (KDE, GNOME... etc)).

N.B. If you use KDE, ~/.fonts.conf probably already exists, so just add this part before the closing </fontconfig> at the bottom of the file:
Code:
 <alias binding="same">
   <family>Times</family>
   <accept>
   <family>DejaVu Sans</family>
   </accept>
 </alias>
This is on Fedora Rawhide, Sigil built locally from source against Qt 4.8.0.
Ahmad Samir is offline   Reply With Quote
Old 09-06-2011, 10:13 PM   #40
Freeshadow
temp. out of service
Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.
 
Posts: 2,814
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
Quote:
Originally Posted by user_none View Post
Announced is one thing being incorporated into the spec is another. Right now EPUB 3 is still in draft status. I'm not even going to think about EPUB 3 until it's finalized. Also, it will still be some time before EPUB 3 makes it to Sigil simply because when it is ratified the vast majority of devices on the market won't support it.

Right now Apple's iBooks is the only thing that supports HTML5 and CSS3. However, this is at the expense of creating non-compliant files that are only guaranteed to work in iBooks. I'm not about to add support for Apple's non-standard, industry destroying, money grubbing practices.
Karma ASAP for that - I promise
Freeshadow is offline   Reply With Quote
Old 09-06-2011, 10:35 PM   #41
graycyn
Wizard
graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.
 
Posts: 1,581
Karma: 11380098
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
Quote:
Originally Posted by user_none View Post
Right now Apple's iBooks is the only thing that supports HTML5 and CSS3. However, this is at the expense of creating non-compliant files that are only guaranteed to work in iBooks. I'm not about to add support for Apple's non-standard, industry destroying, money grubbing practices.
Thank you!

BTW, I never use the WYSIWYG part of Sigil either, so I wouldn't cry any if it went away.

Please keep the program cross-platform though!
graycyn is offline   Reply With Quote
Old 09-08-2011, 01:49 AM   #42
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
I use WYSIWYG lots - please keep it.
cybmole is offline   Reply With Quote
Old 09-08-2011, 08:31 AM   #43
mediax
Readaholic
mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.mediax ought to be getting tired of karma fortunes by now.
 
mediax's Avatar
 
Posts: 255
Karma: 1058454
Join Date: Jul 2009
Location: Swindon, UK
Device: Sony PRS-T2 (previously 505 and 650)
As a "dabbler" in Sigil, my main use of it has been for correcting blatant errors in texts (spelling, punctuation, etc.), rather than structural editing (for want of a better phrase). A WYSISYG interface is brilliant for that purpose, as it hides all the code, etc that I don't want to change!

With regard to the issue of validity of epubs, I agree that Sigil shouldn't enforce validity at all times - but please provide a nice, easily accessible way of checking validity that doesn't require processing the file in a separate application (sounds like a good job for a plugin?).

with regard to the issue of making Sigil non-cross platform - I'm a Linux user, so you can probably guess my position

Good luck - whatever direction you end up taking Sigil.
mediax is offline   Reply With Quote
Old 09-08-2011, 08:57 AM   #44
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by mediax View Post
With regard to the issue of validity of epubs, I agree that Sigil shouldn't enforce validity at all times - but please provide a nice, easily accessible way of checking validity that doesn't require processing the file in a separate application (sounds like a good job for a plugin?).
It's already there. Click the green check mark in the tool bar to run FlightCrew which is the integrated conformance checker.
user_none is offline   Reply With Quote
Old 09-08-2011, 12:20 PM   #45
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,164
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
On plugin language: I vote for python

One reason that you may not have considered is that using python means that plugin authors can re-use modular code from calibre to do various tasks.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please point me in the right direction. nickkindle Amazon Kindle 0 06-15-2011 08:18 AM
Direction of the next Kindle? Daithi Amazon Kindle 10 02-06-2010 12:06 AM
Hi Everyone - Need some clarification and direction s7whitecoral Which one should I buy? 11 11-21-2009 08:20 AM
Hello from a newbie--need direction bahia11 Introduce Yourself 2 11-17-2009 01:38 PM
A little help and direction... stevejay Deals and Resources (No Self-Promotion or Affiliate Links) 12 02-19-2009 05:24 PM


All times are GMT -4. The time now is 02:22 PM.


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