![]() |
#106 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,771
Karma: 6000000
Join Date: Nov 2009
Device: many
|
One interesting test just before you go to bed at night would be to:
1. close the Preview window and exit from Sigil (to prevent the Preview Window from reopening) 2. restart Windows 10 3. start a fresh copy of Sigil and open the latest version of our User's Guide (so we are all starting with exactly the same epub). Verify that Preview is NOT open. 4. Then check and write down the memory usage of Sigil 5. Then close the lid to sleep for the night Once you get up the next day. 6. Reopen the lid and **without** clicking on Sigil (which would start new gui threads) check the memory and write it down. Let us know what if anything changed during sleep. Then repeat the entire process the next night but with Preview ***Open***. That way we can see how much memory consumptions changes overnight with and without Preview being open. This may help isolate any increased memory usage to the Qt Webkit or not. Thanks! KevinH |
![]() |
![]() |
![]() |
#107 | |||
Zealot
![]() Posts: 110
Karma: 10
Join Date: Aug 2018
Location: New Jersey
Device: Samsung Tab E nook
|
Quote:
Canterbury.ttf for dropcase. Georgia.ttf for all other text. Quote:
Can you be more specific as to where to look? Quote:
Brent |
|||
![]() |
![]() |
Advert | |
|
![]() |
#108 | |
Zealot
![]() Posts: 110
Karma: 10
Join Date: Aug 2018
Location: New Jersey
Device: Samsung Tab E nook
|
Quote:
Brent |
|
![]() |
![]() |
![]() |
#109 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#110 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Another thing to try is to disable CFG for the Sigil binary. I can't vouch for Windows 8.1 but I know that Windows 10 (1803 and 1809) can override the system-wide security settings on a program by program basis. In fact, Windows has already overridden individual security settings for several binaries. From Windows Security, click on App & browser Control; scroll down to Exploit protection and click the "Exploit protection settings" link. There's System overrides (that I do not recommend changing unless you're sure of what you're doing), and there's Program overrides. You can add Sigil.exe (by name or by explicit path) and then edit the individual overrides you want to affect Sigil. Control Flow Guard is on by default and you can override that and turn it off for Sigil only. You can easily reverse that override, or remove Sigil entirely from the program list once done testing. |
|
![]() |
![]() |
Advert | |
|
![]() |
#111 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,771
Karma: 6000000
Join Date: Nov 2009
Device: many
|
One of the tabs shows a folded html tree that shows the tree as built insideof Qt. By unfolding tags by pressing on the triangle you should be able to navigate to where the italic i tag is and verify it exists and that no css is impacting it, etc.
|
![]() |
![]() |
![]() |
#112 | |
Zealot
![]() Posts: 110
Karma: 10
Join Date: Aug 2018
Location: New Jersey
Device: Samsung Tab E nook
|
Quote:
I opened a file where I'm not embedding the same font and the italic tags work fine. I tried to embed the Georgia font directly from the windows font folder but ran in to permission issues. When I copied and pasted it to current work folder the font created 4 versions of itself, Normal Bold Italic ItalicBold I embedded all of them but the Italic is not showing Normal shows because it's linked to <p> Bold shows because it's linked to <h1> ItalicBold shows because it's linked to <h2> Brent |
|
![]() |
![]() |
![]() |
#113 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,771
Karma: 6000000
Join Date: Nov 2009
Device: many
|
So it is probably a Qt issue with that particular font. Some fonts include both unix and windows font tables but only the unix font tables are correct. Qt is one of the very few programs left that uses the older Windows specific OS2 font tables that are often broken or incorrect in modern fonts because they are so rarely used.
Even on Mac, if I repair a font using a font utility the older OS2 font tables are generally ignored. That leaves some fonts as broken under Qt even though Qt follows the OS2 font table spec on Windows. |
![]() |
![]() |
![]() |
#114 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I think its probably worth a test to see if Sigil exhibits the same extreme performance issues when editing an epub that doesn't embed any fonts. Because I'll be honest: I can see this version of Sigil getting seriously bogged down (on Windows especially) if every single character of the book is being displayed with an embedded font. Using an embedded font for normal body text is simply not done that much these days.
Last edited by DiapDealer; 04-04-2019 at 02:22 PM. |
![]() |
![]() |
![]() |
#115 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,771
Karma: 6000000
Join Date: Nov 2009
Device: many
|
For the record: See this Windows specific bug in Qt that caused some fonts to be detected as italic when not, and other bugs that were italic to be detected as normal:
https://bugreports.qt.io/browse/QTBUG-73660 The fix for this bug will be in Qt 5.12.2 and later which we will be using for our next release. KevinH Quote:
|
|
![]() |
![]() |
![]() |
#116 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,067
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
FWIW
I just rolled back to 9.9 from 9.13 after experiencing slower, then slower, then slower after running a lot of S&R's and spell check fixes. We are talking under an Hour Sigil sessions. Restarting Sigil goes back to intital speeds (still slower than 9.9) With 9.13 you SEE find next switch files, then scroll I was not seeing massive memory growth during this time (I have a resource display on my Logitec G3. Crude...) Something odd has crept into the 9.13 code W10 x64 1803 8G RAM |
![]() |
![]() |
![]() |
#117 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
No. It really hasn't.
Something odd is going on between newer versions of Qt/QtWebkit and Windows 10. Case in point: I'm rocking the same code as you on W10 x64 1809 with 8G RAM and not a problem in the world. So the code itself is just fine. Something else is not. Last edited by DiapDealer; 04-04-2019 at 05:52 PM. |
![]() |
![]() |
![]() |
#118 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#119 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,067
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#120 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-0.9.5 Released | KevinH | Sigil | 68 | 04-09-2016 06:30 AM |
Sigil-0.9.1 Released | KevinH | Sigil | 36 | 12-04-2015 03:00 PM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil 0.8.3 Released | user_none | Sigil | 10 | 02-02-2015 04:32 PM |