|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
quotes differences book view & code view
this seems to happen a lot, I guess it is because of sigil's choice of book view font but I don't know how to change the book view font - can i > |
|
|
|
|
|
#2 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,718
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
I think BV follows the stylesheet font ![]() You have an ugly choice or system font set as default.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
Quote:
I figured that much, but what controls the book view & code view fonts - they are clearly different so cannot be using the same system font, and books are fine when viewed in reader software so stylesheet fonts should be OK also OK - I went through stylesheet & removed all font NAMES - just left bold, italic small large etc as is - book view now looks much better, so it seems that book view is using stuff from stylesheet. I still don't know what code view uses ??? |
|
|
|
|
|
|
#4 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,718
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
) WYSIWYG: BV should show as the reader does (or the fallback if the font is not available) if a font is called out in the Stylesheet.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
ok thanks - the 2 readers I own - sony & kindle both substitute their own fonts for what is specified in epub/mobi code, so a book typically looks fine on an actual reader, but when I go to edit it in sigil then the strange font definitions kick in & affect book view.
the specific book that was bugging me has some strange code in the html pages: Code:
@page {
margin-bottom: 5pt;
margin-top: 5pt
}
@font-face {
font-style: normal;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-Regular.ttf);
font-weight: normal
}
@font-face {
font-style: italic;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-Italic.ttf);
font-weight: normal
}
@font-face {
font-style: normal;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-Bold.ttf);
font-weight: bold
}
@font-face {
font-style: italic;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-BoldItalic.ttf);
font-weight: bold
}
@font-face {
font-style: italic;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-Italic.ttf)
.....
<body class="epub">
<div class="calibre">
Code:
.epub {
display: block;
**** font name removed from here now ****
font-size: 1em;
line-height: 1.2;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0
}
Last edited by cybmole; 03-26-2011 at 05:27 PM. |
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,108
Karma: 927511
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
Let me guess... Source is Word?
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
|
#7 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,718
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Liberation (a free font) is available at the Calibre files download site.
http://calibre-ebook.com/downloads/liberation-fonts/
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#8 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
hmmm, I'll try the download, is that link correct :
Oops! Google Chrome could not connect to calibre-ebook.com & what's with the strange font names - why call a font Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4 ??? |
|
|
|
|
|
#9 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,718
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Link correct: copied and pasted from the address bar of Firefox 4.0
( just tested link: OK)No clue as the odd name. Why are you asking hard questions this early in the morning?
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#10 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
Quote:
I think I have enough fonts already though, so I'll pass on installing them! still puzzled by the weird font names though, but if it's only in 1 book then no big deal. |
|
|
|
|
|
|
#11 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 454
Karma: 1152538
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Amazon Kindle 3 Wi-Fi & B&N Nook Tablet & B&N Nook HD+
|
I've noticed this same problem. It wasn't always this way and just occurred a couple of months ago after an update. The ebooks I create/edit rarely have an embedded font and the css rarely have any font references at all. I think there's more at play here but I couldn't begin to tell you what it is.
- Byron |
|
|
|
|
|
#12 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
I'm glad its not just me.
sigil is a great program but would be so much better with a simple user preferences screen where I could specify e.g. open in code or book view, use these zoom & font settings in book view..... |
|
|
|
|
|
#13 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,718
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
There was a time when a page would not remember a Zoom level if you switched views.
![]() But my eyes have gotten lots older , so I would like to see:Overall preferences (used at startup if saved permanent by 'Apply as Default', session only if OK/close). These would include: separate Look and feel for CV and BV (Zoom level, window size (exists as 'last' now), button bar placement, include show/hide for buttons to reduce clutter)) Individual already open page settings would still work as current. New Pages created from the 'Split' button would retain their original source page values of zoom.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#14 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,690
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
well if we're now wishing for the moon I'd want some settings stored on a per book edited basis. ( just like ereaders keep a per book settings file with last page read etc)
I'd want the find / replace recent entries stored per edited file, as well as stuff like last window size & view |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| lock book view & code view windows into synch | cybmole | Sigil | 5 | 01-19-2011 10:30 PM |
| Code block view (converted from CHM) | Replika | Calibre | 3 | 10-19-2010 02:08 PM |
| Possible to have default view as code view? | sherman | Sigil | 5 | 06-15-2010 01:47 AM |
| Is it possible to view the Format of a book in Library view? | highwaykind | Calibre | 6 | 01-23-2010 06:28 PM |
| Changing font for code view mode | matthewyi | Sigil | 2 | 11-05-2009 02:20 PM |