Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2013, 05:33 PM   #16
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
Have U seen my Claws?
A duck has a beak and webbed feet, not claws.
JSWolf is offline   Reply With Quote
Old 02-22-2013, 05:36 PM   #17
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by holdit View Post
anyone?
Before you really get into this, I suggest you buy a Sony Reader RS-T2. It has no front light and supports ePub via ADE and it a very good choice to test your embedded fonts. An LCD screen based tablet is almost worthless to test embedded fonts with.
JSWolf is offline   Reply With Quote
Advert
Old 02-22-2013, 06:28 PM   #18
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JSWolf View Post
An LCD screen based tablet is almost worthless to test embedded fonts with.
Unless of course, you're interested in how the embedded fonts look on, say ... a TABLET?

Dear God, man!! Did you really just suggest that a Sony ereader is somehow a prerequisite for just learning how to embed/use fonts with Sigil and ePubs? Have you absolutely no shame? Don't forget to tell them they must burn a Kindle in effigy as part of the ritual.

Last edited by DiapDealer; 02-22-2013 at 06:36 PM.
DiapDealer is offline   Reply With Quote
Old 02-22-2013, 06:40 PM   #19
theducks
Well trained by Cats
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: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DiapDealer View Post
Unless of course, you're interested in how the embedded fonts look on, say ... a TABLET?

Dear God, man!! Did you really just suggest that a Sony ereader is somehow a prerequisite for just learning how to embed/use fonts with Sigil and ePubs? Have you absolutely no shame? Don't forget to tell them they must burn a Kindle in effigy as part of the ritual.
Nah.
It is a Nook that gets the Burn.
Sony is King (and one of the early EInk readers)
theducks is offline   Reply With Quote
Old 02-22-2013, 08:18 PM   #20
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DiapDealer View Post
Unless of course, you're interested in how the embedded fonts look on, say ... a TABLET?
True that. But I've found that some fonts that don't work well with eInk do work fine with the iPad.

Quote:
Dear God, man!! Did you really just suggest that a Sony ereader is somehow a prerequisite for just learning how to embed/use fonts with Sigil and ePubs? Have you absolutely no shame? Don't forget to tell them they must burn a Kindle in effigy as part of the ritual.
This is ePub we are talking about. Kindles don't do ePub. The process would have to be ePub > KF8 before loading and previewing. It's easier to load the ePub. Besides, unless you know how to edit a font's metrics (I've recently learned how) you might not get a result you like. You can adjust the line height in an ePub via CSS. But you have to edit the font metrics to do the same for KF8.
JSWolf is offline   Reply With Quote
Advert
Old 02-22-2013, 09:26 PM   #21
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You've missed the point. The idea that someone would need to buy a particular ereader (any particular ereader) before learning the mechanics of the coding necessary to embed fonts in an ePub is utterly ridiculous. The idea that a Sony would be best is just so, well... you.
DiapDealer is offline   Reply With Quote
Old 02-23-2013, 08:27 AM   #22
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DiapDealer View Post
You've missed the point. The idea that someone would need to buy a particular ereader (any particular ereader) before learning the mechanics of the coding necessary to embed fonts in an ePub is utterly ridiculous. The idea that a Sony would be best is just so, well... you.
The idea is to test the fonts on an eInk screen. Given that the OP is coding in ePub, an ePub cable Reader would help. It doesn't necessarily have to be a Sony Reader. a nook Simple Touch would also do as well. But it should be a Reader with no frontlight.
JSWolf is offline   Reply With Quote
Old 02-23-2013, 08:34 AM   #23
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You don't think HOW to do the actual coding can be demonstrated/worked out without a hardware purchase?
DiapDealer is offline   Reply With Quote
Old 02-23-2013, 09:45 AM   #24
theducks
Well trained by Cats
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: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DiapDealer View Post
You don't think HOW to do the actual coding can be demonstrated/worked out without a hardware purchase?
You can't see how a given font will present itself on a different (dpi) screen media (and it is kind of difficult to imagine how color might render in Greyscale) .

You can check out blocking on any display of the same aspect, but other aspects need the 'real deal'.
I will agree that media, only destined for the Apple store don't need to do E-Ink tests.
theducks is offline   Reply With Quote
Old 02-23-2013, 01:16 PM   #25
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
OK, clearly I'm not expressing myself very well here.

Nobody else sees anything wrong with expecting someone to buy hardware as the first step in learning how to use embedded fonts in an ePub with Sigil? It's just all me? 'Cause that's what my complaint is. The OP didn't ask how to optimize embedded fonts for eInk devices. He asked HOW to use embedded fonts in select places in an ePub. Jon's suggestion to him was essentially "first buy a Sony eInk non-backlit reader."
Quote:
Originally Posted by holdit
I already added the font into the folder, I see its in the manifest already but I need to know how to assign the font to JUST the paragraph I need it to display in and not the entire file.

anyone?
Quote:
Originally Posted by JSWolf
Quote:
Originally Posted by holdit
anyone?
Before you really get into this, I suggest you buy a Sony Reader RS-T2. It has no front light and supports ePub via ADE and it a very good choice to test your embedded fonts. An LCD screen based tablet is almost worthless to test embedded fonts with.
Nobody else thinks it's a a bit over the top to give advice on stuff the OP didn't ask about? Advice that includes buying hardware of all things?

Sometimes it's OK to just. answer. the question.
(Not that you didn't attempt to answer the question that was first asked, Ducky--and I love you for it. )
DiapDealer is offline   Reply With Quote
Old 02-23-2013, 01:51 PM   #26
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
<p class="specialfont">This goes at the beginning of paragraphs to which you want the special font applied.</p>

This goes in the stylesheet:
@font-face {font-family: yourFont; src: url('yourfontfile.ttf');}
p.specialfont {font-family:yourFont, cursive}

Replace:
yourFont with the name you want to use for your font
yourfontfile.ttf with the filename of your special font (.ttf/.otf, or .eot -for IE)
cursive with whatever fallback font you want to use if the reader doesn't have or support your embedded font. Make sure you surround the name with quotes if it has any spaces in it.


=======
Does that work Diap??
Turtle91 is offline   Reply With Quote
Old 02-23-2013, 02:41 PM   #27
theducks
Well trained by Cats
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: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Turtle91 View Post
<p class="specialfont">This goes at the beginning of paragraphs to which you want the special font applied.</p>

This goes in the stylesheet:
@font-face {font-family: yourFont; src: url('yourfontfile.ttf');}
p.specialfont {font-family:yourFont, cursive}

Replace:
yourFont with the name you want to use for your font
yourfontfile.ttf with the filename of your special font (.ttf/.otf, or .eot -for IE)
cursive with whatever fallback font you want to use if the reader doesn't have or support your embedded font. Make sure you surround the name with quotes if it has any spaces in it.


=======
Does that work Diap??
All that was in my sample stylesheet in post 2
theducks is offline   Reply With Quote
Old 02-23-2013, 03:04 PM   #28
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DiapDealer View Post
You don't think HOW to do the actual coding can be demonstrated/worked out without a hardware purchase?
I can code ePub so the embedded fonts will display no problem. I can preview it on my desktop, laptop, iPad and iPhone. But unless I have an eInk screen, I have no idea how the fonts will actually look. It's not the same without the actually Reader in hand to see how things look. I can even simulate the coloring of eInk on an LCD screen. But the fonts won't display the same. There's no way to know if the fonts will look good or not on eInk without the eInk Reader.

This is not a matter of HOW to code. It's a matter of how the embedded fonts look after the coding is done. A lot of publishers try to simulate the look of the pBook and some of the fonts used for the pBook do not display well on eInk.

In the latest Star Trek eBook I recently purchased, the main body font embedded is Minion Pro. That didn't work well on eInk. I was able to replace the regular and italic versions with the medium versions and then it was good enough. It's things like fonts that do not look good with eInk that can cause readability issues for some.
JSWolf is offline   Reply With Quote
Old 02-23-2013, 04:18 PM   #29
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Never mind Jon. You clearly have no concept of "Cart Before the Horse"... and I'm tired. So you win. The OP clearly needs to buy an eInk, non-frontlit reader before even attempting to learn how to write the code necessary to utilize embedded fonts in select portions of an ePub with Sigil. It's so clear to me now.
DiapDealer is offline   Reply With Quote
Old 02-23-2013, 10:03 PM   #30
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by theducks View Post
All that was in my sample stylesheet in post 2
Almost. You certainly had the stylesheet, but the question asked was:

Quote:
Originally Posted by holdit View Post
I already added the font into the folder, I see its in the manifest already but I need to know how to assign the font to JUST the paragraph I need it to display in and not the entire file.
It appeared the OP needed to know how to assign that style to JUST the paragraph.... Thus I also included an example of assigning a class to a particular paragraph - something that was missing in your post.

I also included a short explanation of what they needed to do instead of just giving the stylesheet. I don't know what level of experience the OP has in coding HTML...so I thought it might help to expound upon it as well.

Cheers!
Turtle91 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedding fonts in kf8 techiemonkey Kindle Developer's Corner 4 07-19-2012 12:11 PM
Fonts embedding 1drey Writer2ePub 3 06-17-2011 11:15 PM
Embedding fonts JaneFancher Calibre 14 04-10-2010 09:28 PM
Embedding fonts AprilHare ePub 6 01-02-2010 11:42 AM
Embedding fonts jash Calibre 2 09-09-2008 05:05 PM


All times are GMT -4. The time now is 06:30 PM.


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