![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2015
Device: many
|
Sigil does not recognize WOFF
Sigil (0.8.4) does not recognize woff font files as fonts. It will add these to Misc directory though. But since the files are not recognized as font files, additional options such as font obfuscation are not available.
Is it possible to correct this? |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Sigil is an EPUB2 editor (at this time) that has graciously allowed foreign (to EPUB2) files to remain (earlier versions did cleanse the garbage ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Supporting WOFF font embedding is a requirement for epub 3 but not epub2 as I understand things. Do you know of any mainstream epub2 readers that will properly handle embedded .woff font files? I believe that .woff fonts are basically ttf or opentype fonts with extra compression and extra metadata but I am not 100% sure.
If you actually want the fonts to work with most epub2 readers, I would stick to ttf font files. Either way, expect it to be part of future Sigil epub3-aware releases. KevinH |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,309
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
And please... the fact that iBooks on an iPad might handle it is not a reason to support it.
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2015
Device: many
|
Not sure why not ...
Quote:
I think adding full support (doesn't seem difficult to implement) will be beneficial as opposed to saying 'i-wont' treat 'foreign files' equally ... |
|
![]() |
![]() |
![]() |
#7 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, if it is so easy to implement, why don't you do it?
![]() Sigil is intended to become EPUB3-aware at some unspecified future time. The appropriate time for EPUB3-specific features to be implemented is as part of that release. It is silly to use EPUB3-specific features in an EPUB2, and since Sigil officially deals with EPUB2 alone, it would be doing a disservice to Sigil users to make them think EPUB3-specific features are part of the standard Sigil featureset -- they might accidentally use them. |
![]() |
![]() |
![]() |
#8 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
Getting current Sigil to recognize .woff as a font file is probably an easy change that could be made. That said, all efforts post Sigil 0.8.4 will be on developing a new trunk that will hopefully work well with both epub2 and epub3 and at that time, I will incorporate the changes to recognize .woff fontst. |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2015
Device: many
|
Thanks
Thank you - I've initiated a pull request with suggested changes - if that could be of any help.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub conversion does not embed WOFF font | iliakan | Conversion | 6 | 02-06-2015 01:42 AM |
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook | rosshalde | Sigil | 12 | 11-13-2014 09:34 AM |
Sigil 0.4.1 : unwanted span added by Sigil | Bertrand | Sigil | 0 | 09-02-2011 05:28 AM |
Sigil 0.3.4 / Sigil 0.4.0 RC1 / Cover in Nook Color | Bertrand | Sigil | 13 | 08-06-2011 04:06 AM |
Sigil 0.3.4 / Problème CSS entre Sigil et iPad | Grivels | Software | 10 | 07-03-2011 09:06 AM |