Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2015, 01:16 PM   #1
nkalvi
Junior Member
nkalvi began at the beginning.
 
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?
nkalvi is offline   Reply With Quote
Old 02-05-2015, 01:29 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 16,538
Karma: 7667666
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by nkalvi View Post
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?
WOFF is not an EPUB2 font

Sigil is an EPUB2 editor (at this time) that has graciously allowed foreign (to EPUB2) files to remain (earlier versions did cleanse the garbage )
theducks is offline   Reply With Quote
Old 02-05-2015, 01:29 PM   #3
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 1,237
Karma: 499684
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
KevinH is offline   Reply With Quote
Old 02-05-2015, 02:56 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 8,283
Karma: 51768139
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
And please... the fact that iBooks on an iPad might handle it is not a reason to support it.
PeterT is offline   Reply With Quote
Old 02-05-2015, 03:06 PM   #5
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 16,538
Karma: 7667666
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by PeterT View Post
And please... the fact that iBooks on an iPad might handle it is not a reason to support it.
just say i-Won't
theducks is offline   Reply With Quote
Old 02-06-2015, 12:42 AM   #6
nkalvi
Junior Member
nkalvi began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2015
Device: many
Not sure why not ...

Quote:
http://www.idpf.org/epub/30/spec/epu...embedded-fonts

3.5.2 Embedded Fonts

EPUB 3 requires Reading Systems to support the OpenType and WOFF font formats for embedded fonts in conjunction with the CSS @font-face rules. Refer to CSS Fonts Level 3 [ContentDocs30] for more
0.8.4 does produce ePubs with embedded woff files, that pass epub-check and work fine in the readers I've checked. Only the additional features are not available.

I think adding full support (doesn't seem difficult to implement) will be beneficial as opposed to saying 'i-wont' treat 'foreign files' equally ...
nkalvi is offline   Reply With Quote
Old 02-06-2015, 12:52 AM   #7
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 12,625
Karma: 30811040
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.
eschwartz is offline   Reply With Quote
Old 02-06-2015, 01:27 PM   #8
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 1,237
Karma: 499684
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.
KevinH is offline   Reply With Quote
Old 02-07-2015, 07:54 AM   #9
nkalvi
Junior Member
nkalvi began at the beginning.
 
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.
nkalvi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 01:37 AM.


MobileRead.com is a privately owned, operated and funded community.