![]() |
#31 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
![]() |
![]() |
#32 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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> |
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
![]() 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 ![]() |
|
![]() |
![]() |
![]() |
#34 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#35 | |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
Having to reset the font size for each section is a PITA. Some things should be global iaw the user's desires. |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#37 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
|
|
![]() |
![]() |
![]() |
#38 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#39 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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> 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> |
![]() |
![]() |
![]() |
#40 | |
temp. out of service
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,814
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
|
Quote:
|
|
![]() |
![]() |
![]() |
#41 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,581
Karma: 11380098
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
|
Quote:
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! |
|
![]() |
![]() |
![]() |
#42 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
I use WYSIWYG lots - please keep it.
|
![]() |
![]() |
![]() |
#43 |
Readaholic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#44 | |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
|
|
![]() |
![]() |
![]() |
#45 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |