Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-05-2013, 07:18 AM   #16
yucca
Member
yucca began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2013
Location: Finland
Device: Bookeen Cybook Muse Frontlight
Quote:
Originally Posted by yucca View Post
It seems that I have been too optimistic about font embedding. It works fine in web browsers nowadays, and I had tested the technique in Android Reader, too, and was happy about it. But neither Adobe Digital Editions nor Reader for PC seems to support font embedding.
But was I too naive now? I only tested using an .otf font, not with a “stack” of font formats, as we normally do on web pages.

Can anyone help with some experience on font embedding support in e-book readers? Which formats are supported, and are there some tricks needed? This must be a frequent question, mustn’t it?
yucca is offline   Reply With Quote
Old 06-05-2013, 07:42 AM   #17
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,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Here's a thread that talks about embedding fonts.
Turtle91 is offline   Reply With Quote
Advert
Old 06-05-2013, 09:17 AM   #18
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: 31,064
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:
Originally Posted by yucca View Post
Yes, that makes font tweaking very easy (if you want just the Greek words in an embedded font): after other @ rules, you would add e.g.

@font-face {
font-family: FreeSerif;
font-weight: normal;
font-sytle: normal;

src: url(../Fonts/FreeSerif.otf;
}

.greek {
font-family: FreeSerif;
}

and you would just need to add the FreeSerif.otf font in the Fonts folder. (I probably would not use FreeSerif, but it was easy to test with it.)

.
note the SRC correction

I made a @fonts template clip where all I need to do is name the Family and fill out the font file (and adjust for bold and italic if needed)
theducks is offline   Reply With Quote
Old 06-05-2013, 08:05 PM   #19
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: 79,763
Karma: 145864619
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 Turtle91 View Post
Instead of embedding a font for short/limited quotes in an alternate language, you could just insert it as an image. It wouldn't change if the reader changed font size, and it's not elegant, but if it is a stand-alone quote it should work well.
That is not a very elegant solution. I'd embed the font and use Calibre to subest it. I did that for a single line of mirrored text.
JSWolf is offline   Reply With Quote
Old 06-05-2013, 10:50 PM   #20
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,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
That is not a very elegant solution. I'd embed the font and use Calibre to subest it. I did that for a single line of mirrored text.
Yup, as I said, it's inelegant. But if it's a single quote (one-off) then it is A solution which avoids embedding and subsetting a font for only a few characters.

I've seen it used when inserting a different character/equation etc. within a sentence. Personally, I wouldn't use it in a sentence; I think that looks horrible when you change the background color unless the device/app supports transparent background, but it is OK if it is used like a blockquote.

Last edited by Turtle91; 06-05-2013 at 10:55 PM.
Turtle91 is offline   Reply With Quote
Advert
Old 06-06-2013, 03:21 AM   #21
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: 79,763
Karma: 145864619
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 Turtle91 View Post
Yup, as I said, it's inelegant. But if it's a single quote (one-off) then it is A solution which avoids embedding and subsetting a font for only a few characters.

I've seen it used when inserting a different character/equation etc. within a sentence. Personally, I wouldn't use it in a sentence; I think that looks horrible when you change the background color unless the device/app supports transparent background, but it is OK if it is used like a blockquote.
In the eBook Mr. Panumbra's 24-Hour Bookstore, it had one line that was in a mirrored font. I embedded Charis SIL and modified the regular version to be mirrored. I did this so the mirrored text would look good. I did subset it and it wasn't that much bigger.
JSWolf is offline   Reply With Quote
Old 06-06-2013, 04:03 AM   #22
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JSWolf View Post
In the eBook Mr. Panumbra's 24-Hour Bookstore, it had one line that was in a mirrored font. I embedded Charis SIL and modified the regular version to be mirrored. I did this so the mirrored text would look good. I did subset it and it wasn't that much bigger.
BTW, you wouldn't need to embed any special fonts for mirrored text in KF8 files, since they support mirrored text (via 2D Transforms) out of the box.
This is one area in which Kindles actually offer more formatting choices than ADE/RMSDK based devices and apps.
Doitsu is offline   Reply With Quote
Old 06-06-2013, 04:06 AM   #23
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: 79,763
Karma: 145864619
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 Doitsu View Post
BTW, you wouldn't need to embed any special fonts for mirrored text in KF8 files, since they support mirrored text (via 2D Transforms) out of the box.
This is one area in which Kindles actually offer more formatting choices than ADE/RMSDK based devices and apps.
The problem with KF8 is that even though it has more features then ePub, most times they don't get used because most times, the KF8 editions get made from an ePub edition so anything ePub cannot do, KF8 won't be doing even if KF8 does it.
JSWolf is offline   Reply With Quote
Old 06-06-2013, 05:43 AM   #24
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Jellby View Post
Why not use the character map to copy-paste whatever you want?
Much larger font size (I raise the font on the Wikipedia/Fileformat page HUGE, so it is very easy to see the accent characters).

Also, having them all organized in a table format by accent is MUCH easier than using the character map.

Plus if you do not know the exact name of the accent, but you know the LOOK of the accent, this can help. I have zero knowledge of Greek, but using the accent table on Wikipedia helped me figure out all the characters in the actual text of the book.

Quote:
Originally Posted by yucca View Post
I suspect it is a font issue rather than Unicode support problem. The readers probably interpret the character data properly, they just fail to display it. E.g., Adobe Digital Editions (on Win 7) shows the Greek characters in your epub OK, except that they are too slanted, but this is probably a feature of the font it is using. (Greek letters have often been designed in italic style.)
I did not know that some fonts already render these greek characters as pre-italics... in all the ones I tested, they were normal (unitalics).

I try to emulate the original book as closely as possible (so I made the .greek class font-style: italic).

I will have to take a closer look at font embedding more closely and do some more tests when I get some free time. Maybe it was just a mistake on my part in the implementation.

I tried to dabble in font embedding many months ago, when I was trying to create a font with just a SINGLE character in it, and assigning the Chi Rho to display in that font:



Quote:
Originally Posted by theducks View Post
I made a @fonts template clip where all I need to do is name the Family and fill out the font file (and adjust for bold and italic if needed)
Genius, I always forget to add helpful Clips such as this. I will definitely add lots of commonly used CSS to my Clips section now.
Tex2002ans is offline   Reply With Quote
Old 06-06-2013, 06:04 AM   #25
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Tex2002ans View Post
I personally use this site to easily search for unicode characters (then I copy/paste them):

http://www.fileformat.info/info/unic...preview=entity [...]
Those who can read Greek might find the following two web sites helpful:

Lexilogos Ancient Greek Keyboard Online

Online Betacode Converter (It's a German site, but the usage is pretty much self-explanatory: enter Betacode and click Hui!)

Both methods are much faster then Copy & Paste.
Doitsu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display lahnschnitzer PocketBook 5 12-17-2011 03:41 AM
De-Ligature-ification brewt ePub 32 07-31-2011 04:45 AM
PRS-650 vizplex display or pearl display hoytlee Sony Reader 2 10-05-2010 06:34 PM
Pixel Qi 10" display will be sold as USB powered Secondary Display Dulin's Books News 8 09-28-2010 06:15 PM
Eink Display's (Sony PRS505) vs. Nokia N800's LCD Display brecklundin Which one should I buy? 23 05-15-2008 04:15 AM


All times are GMT -4. The time now is 07:41 PM.


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