Sigil (as of v1.0) no longer forces epubs into its traditional folder structure (OEBPS/Text, Images, Fonts, css) when opening them. It will work with whatever structure an epub was created with. Many epubs are constructed in that manner already, but many are not. When inserting files, you need to check what their actual path IS before manually adding links to them. The path can usually be seen in the tooltip when hovering over the file in BookBrowser. You can also see the paths using the Reports tool, or you can see the paths (relative to the OPF) in the OPF manifest using the href property value.
I have no experience using the CssFromFont plugin, but my guess is that it might not have been updated to work properly with the changes introduced (RE not automatically restructuring all epubs) in Sigil 1.0. We gave advanced notice of the changes to plugin devs, but not all took the steps to meet the changes. For those that didn't, they advise users to always run the "Restructure" tool before using their plugins.
I see no mention of that plugin being updated for the Sigil v1.0 changes, so the advice to always "Restructure" first will apply if you want to continue using it.
"Non-standard epub" is probably not the perfect phrase, but for lack of a better one ... What is meant is an epub that's not created using Sigil's historical, traditional folder hierarchy. There's never been any sort of requirement that epubs use a standard folder structure--and they don't. Sigil now honors the structure an epub was created with. It no longer forces each and every epub into its own proprietary structure. The idea is to change nothing about an epub that doesn't need to be changed. But you can still manually do so with Sigil's Restructure tool. Calibre's editor also has a tool to restructure epubs and create specific folders for file-types that can be manually run.
The bottom line is that unless you manually run the Restructure tool first, no assumptions of any kind can be made about what the href to a file will look like in any epub.
Last edited by DiapDealer; 09-10-2020 at 10:40 AM.
|