![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Mar 2012
Device: Pc
|
How to embed fonts in epub file ?
Hi, everyone.
Now, I'm researching Sigil but I don't use HTML code. I need embed fonts in epub file and I did as follow: -I click right mouse on Fonts folder then choose Add existing file ![]() -But when I click "Validate epub", I received the notice from Sigil as image blow: ![]() Plz point out if I have made any mistakes. Thank you very very much. |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
|
Well, nobody is using this font. You have to declare this font in the CSS stylesheet and then you need to assign the declared font to special rules.
Just by adding files the only effect you will get that the epub will will be larger. |
![]() |
![]() |
![]() |
#3 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Mar 2012
Device: Pc
|
Quote:
Can you show me how to declare that font in the CSS stylesheet ? And I don't understand this sentences "you need to assign the declared font to special rules." Can you show me more details or give me a example ? ![]() My English is not good ![]() |
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
|
As this has nothing to do with Sigil i would prefer to ask this in the epub forum. And there are some sticky threads, its a good idea to read them first before asking questions already answered.
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Some time ago I created a simple ePub template with an embedded free font. Have a look at the style definitions, add you own font and simply change the font name references.
BTW, if your native language happens to be French, there's also a French subforum. |
![]() |
![]() |
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
To be more specific, it is not possible in BookView. You must do it in CodeView.
|
![]() |
![]() |
![]() |
#7 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
![]() |
![]() |
![]() |
#8 | ||
Berti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,197
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
Quote:
![]() Last edited by mmat1; 03-08-2012 at 02:51 PM. |
||
![]() |
![]() |
![]() |
#9 | ||
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Mar 2012
Device: Pc
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi,
I certainly will not deny the need to understand and practice html and css, if only because it's the stuff ebooks are made of. You can however produce standard EPUBs and embed fonts using LibreOffice in a graphical way only. You have to know how to use styles with this word-processor. You will also need to be able to attach (still within LibreOffice) a very basic css style-sheet containing a @font-face declaration like this one, which even can be written for you by dedicated sites like FontSquirrel: @font-face { font-family: 'LinuxLibertineOCRegular'; src: url('linlibertine_c-4.0.4ro-webfont.ttf') format('truetype'); font-weight: normal; font-style: normal; } Here is an exemple of one ebook of this kind, embedding the true smallcaps font quoted above. It has been realized using exclusively LibreOffice (and its W2X extension) I would like this post not to be deemed as offensive on this particular forum, so I must add that Sigil is invaluable to check and edit your EPUB for whatever may go wrong and that I have been making use of it for a long time and still do. Last edited by roger64; 03-11-2012 at 09:55 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can it embed fonts? | chalimac | Kobo Reader | 1 | 06-27-2017 05:46 PM |
How to embed fonts in ePub after Calibre | fiery | ePub | 79 | 12-05-2016 02:18 AM |
Is it possible to really embed fonts yet? | LaurelRusswurm | ePub | 25 | 11-17-2011 10:25 PM |
Possible to embed fonts in CSS of .lit file? | tanzer21 | Calibre | 9 | 06-30-2010 07:26 PM |
Any free software can embed fonts in epub | droople | ePub | 4 | 03-06-2010 05:40 PM |