05-05-2011, 03:39 AM | #1 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
visual artifacts in book view
i experience visual annoyances when editing in book view, as text reflows thens sometimes stray dots ( bits of characters?) get left in the book window . they vanish as soon as a force a window re-draw e.g. by resizing slightly.
could be a general issue with sigil's video driver or could be specific to my O/S win 7 64 bit , by graphics ( ATI + catalyst drivers)and/or my screen resolution 1920 x 1080 ?. I suspect it is sigil code though, as no other program that I have behaves like this. I am pretty sure that the left behind bits are serifs - those below the line bits of some letters. by themselves thy look like specs of dust on the screen or unwanted . tried a serach of forum for artifacts but no hits. is this a known issue ? |
05-05-2011, 05:48 AM | #2 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
I think it may be a QT problem, as quite often happens in calibre reader as well.
|
Advert | |
|
05-05-2011, 07:06 AM | #3 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
|
05-05-2011, 07:16 AM | #4 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
QT is a framework from Nokia, not Apple (thank god!). Some people have the problem, others not. On my laptop with Win7/64bit and ATI graphic card I have no problem whatsoever. To be honest, I have never seen this behaviour. Then again, I am usually not in Bookview.
|
05-05-2011, 10:14 AM | #5 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
Advert | |
|
05-05-2011, 10:47 AM | #6 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
I see a bunch of QT...dll files in sigil program folder, also in Calibre folder & a few other places. probably the same set each time. Kindle for PC has a set also.
but I don't get the Nokia connection, there's no Nokia hardware in this PC ??? & yes this exclusively a book view issue, never happens in code view. it's when text is re-flowed in existing window as I add/delete characters. As the letters are shifted, some serifs are left behind & not cleared until window is re-drawn. go to book view, type some stuff into an existing body of text, see if you get the artifacts... I don't want to cry "BUG" if it only happens to me... I looked at issues tracker & did no see any mention there... Last edited by cybmole; 05-05-2011 at 10:59 AM. |
05-05-2011, 01:42 PM | #7 | |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
(phones have displays for other than numbers these days ) |
|
05-05-2011, 04:38 PM | #8 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
The way I get rid of the artefacts is to use page-up/down then back again, so the screen/page gets redrawn.
|
05-06-2011, 02:08 AM | #9 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
so you confirm the artifacts issue - is it already in the issuer tracker somewhere ? |
|
05-06-2011, 02:57 AM | #10 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Probably not. However, I think that Perkin is correct and that it is a Qt issue and out of Valloric's hands. Open an ticket and let Valloric take a look at it. He would know for sure.
|
05-06-2011, 02:32 PM | #11 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
there's a dependency on fonts , here.
Am currently proofing a book with has an explicit font type of times new roman set in styleshhet. I see no artifacts at all (& good looking curly quotes...) I reckon that the artifacts occur only when there is no explicit font type set in CSS. sigil then seems to default to some ugly font which does not support curly quotes & which does have the artifacts bug. so it could maybe be fixed ( by Valloric ) via a change to sigil's default book view font, and a workaround could be for me to define a font type in each book ( knowing that my Sony reader will ignore any such definition & will use it's own fonts anyway ? What IS sigil's default book view font & how easy to change it ? PROOF. open sigil, select new document, start typing e.g. testing new book font " " " " I observe immediiately that the g in testing has a badly formed serif which will break up when text is reflowed. sure enough it does, as I insert more text to cause a new line. the bottom of curve of the g is cut off, as if the letter is too large for the line space, and it's that missing bottom bit that later appears as an artifact. I can improve things with zoom in option but that is not a sticky option if seems to apply only to current page in current book & is lost on save / reload. |
05-06-2011, 03:58 PM | #12 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
fonts in sigil
Has anyone written a "how to" for properly inserting fonts in sigil?
|
05-07-2011, 12:41 AM | #13 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
.calibre { display: block; font-family: "Times New Roman", Times, serif; 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 } the padding settings are superfluous, I guess. now here's one from a book that presents with artifacts. the differences seem to be 1. no font specified. 2 font-size set .calibre { display: block; font-size: 1em; margin-bottom: 0; margin-left: 5pt; margin-right: 5pt; margin-top: 0; padding-left: 0; padding-right: 0; page-break-before: always } the font-size seem irrelevent in this latter example though - I see no difference in book view if I remove that line from CSS it would be good to see documented a table of defaults. ie what does sigil use when no value is specified, for each of the above css lines ? |
|
05-07-2011, 05:42 AM | #14 |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Embedding fonts into Sigil
I guess I should be more explicit. I use the following entry in the CSS.
Code:
p, div { ....... font-family:"Times New Roman", Times, serif; } Code:
p, div { ....... font-family:"Fancy Font"; } How should copyrighted fonts be handled or are they not allowed? Can multiple fonts be used? Cut and try can be a long process and have possible hidden glitches that only show up late in the process. A little tutorial by one of you experts would be very nice. |
05-07-2011, 06:15 AM | #15 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
i am not a fonts expert but I think sigil can access any font that windows has installed in its font directory ( or the equivalent location for other O/s ) . you don't add any .ttf to the per-book epub files collection AFAIK
But once your epub arrives on your re-reader device then that device will most likely substitute its own fonts, or give up entirely if you use one it does not like My Sony prs650 e.g. does not seem to like italic + Ariel. and chapter titles with that style come out blank on the reader though they look fine on PC. I know that Kindle also has it's own collection of fonts so when an epub is converted to mobi & sent there, K substitutes its own fonts for those specified in CSS. it is possible to add fonts to Sony readers but that's another topic for another forum. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
quotes differences book view & code view | cybmole | Sigil | 13 | 03-29-2011 01:53 AM |
lock book view & code view windows into synch | cybmole | Sigil | 5 | 01-19-2011 10:30 PM |
pdf convert artifacts | cybmole | Calibre | 6 | 01-16-2011 08:03 AM |
Is it possible to view the Format of a book in Library view? | highwaykind | Calibre | 6 | 01-23-2010 06:28 PM |
can't view a book | artemisblossom | Sony Reader | 7 | 06-18-2009 01:03 AM |