|
|
#1 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 60
Karma: 17648
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
|
Sigil crashes when replacing a font file
Hi.
I would like to report a crash that has been occurring since version 2.8.5 and later (including betas and 2.8.7 builds), at least on Windows 11. If you add a font that’s already present, after clicking "Yes" or "Yes to All" in the "Replace?" dialog box, the waiting cursor (clock) appears for a couple of seconds, and Sigil closes. -This only happens with font files (.ttf or .otf); images, for example, are replaced without any issues. -The crash occurs whether you use the "+" button on the toolbar or the drag-and-drop area at the bottom. -It also doesn’t matter whether the epub is complex or simple; epub 2 or epub 3: I’ve tested it with brand-new epubs, and the issue persists. -It doesn’t happen in version 2.8.1 (I just checked it both ways: using the button and drag-and-drop). The issue should be reproducible, but if you need more information about my system, please let me know.
|
|
|
|
|
|
#2 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,302
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Thank you on the bug report!
When you Add Existing, I thought only images were asked if you want to replace identically named files. I did not think that was offered for identically named fonts at all. Normally, it should just refuse to load the new font just like it should for all other file types with identical names. So something is wrong. If it has caused crashes in every version since 2.8.1 why did you no one ever let us know before? Sigil should never crash. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,302
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Yes, looked at the code, replacing files is mistakenly allowed for non-image files but the actual replacement code only supports replacing image files. Thus the bug. I am on it.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sigil crashes when loading file from the internet | mrprobert | Sigil | 65 | 06-08-2025 12:11 PM |
| Sigil crashes when trying to add existing file | holdit | Sigil | 18 | 07-16-2013 07:59 AM |
| Kobo Crashes after replacing Epub, - solved | rashkae | Kobo Reader | 2 | 12-19-2012 10:24 PM |
| Sigil file crashes Sony software | Quiss | Sigil | 12 | 08-14-2012 09:04 PM |