|
|
#61 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,897
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I say we add the nodirectwrite platform argument like we do altgr (except with no user preference involved) to force the gdi font backend for now. We can revisit removing it when the DirectWrite backend proves to be more complete.
If we don't do something, we'll be chasing mystery windows crashes as more users encounter embedded woff fonts on scaled displays. And I'm for the path of least Qt patching. ![]() EDIT: for the record... adding the "fontengine=freetype" platform option seems to accomplish the same thing as nodirectwrite. It also eliminates any of the QWindowsFontDatabase::fontEngine warnings encountered when using nodirectwrite. Last edited by DiapDealer; 03-16-2024 at 04:22 PM. |
|
|
|
|
|
#62 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,073
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Sounds like a good plan to me. Will you push that change to master?
|
|
|
|
| Advert | |
|
|
|
|
#63 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,897
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sure. Do we need to limit this to a certain Qt version level? Also... do you see any benefit for "nodirectwrite" over "fontengine=freetype"?
|
|
|
|
|
|
#64 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,073
Karma: 6361556
Join Date: Nov 2009
Device: many
|
nodirectwrite is supposed to fall back to the gdi backend. Whereas all of the unix based Qts use the freetype one.
I am just not sure how well tested the freetype backend is on Windows. As for limiting to Qt versions, the bug has existed since 6.3 timeframes and even possibly before that. Perhaps limit the change to all Qt6 versions for now, maybe up to 6.8.0? We can then revist that for any follow-on releases. |
|
|
|
|
|
#65 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,897
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sounds good. I'll go with nodirectwrite between 6.0 and 6.8.
|
|
|
|
| Advert | |
|
|
|
|
#66 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,897
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
If anyone who's been able to reproduce the issue would like to test a version of Sigil that includes a workaround, it can be downloaded from here:
https://github.com/dougmassay/win-qt...-x64-Setup.exe |
|
|
|
|
|
#67 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763
Karma: 24088559
Join Date: Dec 2010
Device: Kindle PW2
|
|
|
|
|
|
|
#68 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,073
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Just in case here is an alternative link from my own github site to DiapDealer's test build :
https://github.com/kevinhendricks/Bu...nMac/releases/ Download: Sigil-2.1.0-Windows-x64-Setup.exe |
|
|
|
|
|
#69 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,832
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
My Windows 11 is set to a scaling of 125%. But I also have QT_ENABLE_HIGHDPI_SCALING=0 set and the test ePub loads no problem.
|
|
|
|
|
|
#70 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,276
Karma: 174315444
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Tested in on a laptop with the scaling set to 125% and Sigil 2.0.2 crashed, Sigil 2.1.0 did not.
|
|
|
|
|
|
#71 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,897
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Great. Thanks. And thanks for the tip about checking the scaling!
|
|
|
|
|
|
#72 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,032
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
|
|
|
|
#73 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,897
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
|
|
|
|
|
#74 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,032
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
|
|
|
|
|
#75 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,897
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Libra 2 Installing Custom Fonts | BookCat | Kobo Reader | 41 | 04-05-2022 10:01 AM |
| Installing fonts | Pajamaman | KOReader | 6 | 09-05-2020 03:06 PM |
| Installing Tamil Fonts on SnPRS - T2 | Raman | Sony Reader | 3 | 01-12-2013 12:54 PM |
| Installing Tamil Fonts on Kindle 4.1.0 | sriramvenkatesan | Amazon Kindle | 14 | 10-22-2012 11:45 AM |
| PRS-T1 Still have a problem with installing fonts in my device | hamedavatar | Sony Reader | 5 | 06-21-2012 06:46 PM |