Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 07-13-2011, 12:22 PM   #1
uieluck
Connoisseur
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
Foreign TransIndic, Devanagari Arabic Fonts

Looking for a solution for doing an ebook with these fonts..
I've made several ebooks so far, however limiting font options have got me stumped.
Does anybody have a suggestion, besides a PDF?
Thanks, Uie


uieluck is offline   Reply With Quote
Old 07-13-2011, 01:34 PM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
ePUB

You can just use UTF8 and let the reader deal with it, or make it simpler and embed the fonts (but then the user cannot change them easily).
Jellby is offline   Reply With Quote
Advert
Old 07-13-2011, 06:24 PM   #3
uieluck
Connoisseur
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
Is there a way to use UTF8 easily through InDesign 5.5,,, through an export?
uieluck is offline   Reply With Quote
Old 08-12-2011, 02:02 PM   #4
uieluck
Connoisseur
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
So I'm still trying to embed this font: TransIndicGara etc. in an ebook with NO success.
Here's the CSS embedding code I'm using:
@font-face {
font-family : "Adobe Garamond Pro";
font-style : italic ;
font-weight : normal;
src : url("fonts/AGaramondPro-Italic.otf");
}
@font-face {
font-family : "TransIndicGaraCant";
font-style : normal;
font-weight : normal;
src : url("fonts/TransIndicGaraCant.otf");
}
@font-face {
font-family : "DevanagariExtLA";
font-style : normal;
font-weight : normal;
src : url("fonts/DevanagariExtLA.otf");
}
@page {
margin : 0.5em;
}
tbody, thead, tfoot, tr, td, th {
border-style : inherit;
border-width : inherit;
border-color : inherit;
}
.leftFloat {
float : left;
}
.rightFloat {
float : right;
}
span.TOC-subtitle-ital {
font-family : "Adobe Jenson Pro", serif;
font-weight : normal;
font-style : italic;
}
span.char-style-override-1 {
font-family : "Adobe Garamond Pro", serif;
font-style : italic;
font-weight : normal;
}
span.char-style-override-2 {
font-family : "Adobe Garamond Pro", serif;
font-style : normal;
font-weight : normal;
}
p.devan {
font-family : "DevanagariExtLA", sans-serif;
font-weight : normal;
font-style : normal;
font-size : 1.5em;
text-decoration : none;
font-variant : normal;
line-height : 1.33;
text-align : center;
color : #000000;
text-indent : 0px;
margin : 0px 0px 18px 0px;
}
p.term {
font-family : "TransIndicGaraCant", serif;
font-weight : normal;
font-style : normal;
font-size : 1.67em;
text-decoration : none;
text-transform : uppercase;
line-height : 0.9;
text-align : center;
color : #000000;
text-indent : 0px;
margin : 23px 0px 0px 0px;
}
p.chapter-subtitle {
font-family : "Adobe Jenson Pro Lt", serif;
font-weight : 300;
font-style : italic;
font-size : 1.33em;
text-decoration : none;
font-variant : normal;
line-height : 1.13;
text-align : center;
color : #000000;
text-indent : 0px;
margin : 0px;
}
p.Basic-TOC-Text {
font-family : "TransIndicGaraCant", serif;
font-weight : normal;
font-style : normal;
font-size : 0.83em;
text-decoration : none;
font-variant : normal;
line-height : 1.4;
text-align : left;
color : #000000;
text-indent : -16px;
margin : 0px 0px 0px 16px;
}
uieluck is offline   Reply With Quote
Old 08-13-2011, 03:34 AM   #5
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Can you show a full example? It doesn't need to be a real book, but a whole epub file that you'd expect to work. The CSS looks fine at first sight. Where are you testing it?

P.S. Are the fonts UTF8? Here I found that: "The Devanagari fonts of Baraha follow a proprietary encoding." That wouldn't be appropriate for epub embedding, you need UTF8 encoding all along. Try the Code 2000 font first.

Last edited by Jellby; 08-13-2011 at 03:40 AM.
Jellby is offline   Reply With Quote
Advert
Old 08-22-2011, 08:42 PM   #6
uieluck
Connoisseur
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
These are the fonts
Attached Thumbnails
Click image for larger version

Name:	Screen shot 2011-08-22 at 6.38.33 PM.png
Views:	408
Size:	69.7 KB
ID:	75672  
uieluck is offline   Reply With Quote
Old 08-23-2011, 04:00 AM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Well, the filenames say nothing about the font encoding or about the actual font name. The only font format that one should expect being supported is OpenType, and probably TrueType, I wouldn't be surprised if PostScript fonts are not supported by ePUB readers...

If you need more comments, you should provide a complete ePUB. You can trim the contents to something minimal, replace copyrighted material with some dummy text, and use free fonts instead of commercial ones, if that's a concern.
Jellby is offline   Reply With Quote
Old 08-23-2011, 04:35 AM   #8
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
AFAIK only TTF and OTF are supported. I haven't heard of any other type so far.
There are some tools on the market that can convert font types into each other, perhaps that could help.
Toxaris is offline   Reply With Quote
Old 08-23-2011, 12:56 PM   #9
uieluck
Connoisseur
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 52
Karma: 10
Join Date: Jul 2010
Location: Denver, Colorado
Device: iphone, ipad, kindle, nook
A full epub file "un-tweaked" and without the embedding font css code. Yes, Toxaris, I've tried font converters to make the un-otf fonts OTF's. They won't convert those font without an error. I've contacted Linguist Software,, whom we have some foreign font licensing with, however they didn't have a solution. These fonts are making me loose my hair.
Attached Files
File Type: epub BK1877_Path_Yoga_Sutras.epub (419.4 KB, 371 views)
uieluck is offline   Reply With Quote
Old 08-24-2011, 04:49 AM   #10
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
OK, take Chapter 10, which should be the heading you posted in the first post. This is what it says in utf-8 (and the file correctly states it's utf-8 encoded):

Code:
<p id="toc_marker-1-1-10" class="term">KARMA AND SAÒSKÄRA</p>
<p class="chapter-subtitle">Action and Its Imprint</p>
<p class="devan">éº<span>@</span><span> </span>–ė響</p>
Which does not match the intended text, it should be something like:

Code:
<p id="toc_marker-1-1-10" class="term">KARMA AND SAṀSKĀRA</p>
<p class="chapter-subtitle">Action and Its Imprint</p>
<p class="devan">कर्म संस्कार<p>
Whether or not it shows fine for you depends on the available fonts for your browser, but the code is utf-8. A not particularly pretty font, but with a wide Unicode coverage is code2000. Or, using numerical entities (remove spaces between & and #):

Code:
<p id="toc_marker-1-1-10" class="term">KARMA AND SA& #7744;SK& #256;RA</p>
<p class="chapter-subtitle">Action and Its Imprint</p>
<p class="devan">& #2325;& #2352;& #2381;& #2350; & #2360;& #2306;& #2360;& #2381;& #2325;& #2366;& #2352;<p>
(According to Wikipedia, it's SAṂSKĀRA instead of SAṀSKĀRA, but that probably depends on the transliteration convention.)

Now, if you want more font choice, search for Unicode Devanagari fonts, like these.

Last edited by Jellby; 08-24-2011 at 04:51 AM.
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts with foreign language charachters elizilla Sony Reader 19 03-15-2011 11:32 AM
Foreign fonts (PL) in epub tntmarek Interead COOL-ER 1 03-04-2011 06:05 PM
Embedded fonts, Calibre, and choice of fonts AlexBell ePub 8 05-30-2010 06:00 AM
Large fonts / bold fonts for Kindle DX International tandyjames Amazon Kindle 5 03-23-2010 06:53 AM
Best option to read devanagari (indic) documents on Kindle 2 raahul80 Amazon Kindle 7 07-30-2009 08:42 PM


All times are GMT -4. The time now is 11:16 AM.


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