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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 07-13-2011, 12:22 PM   #1
uieluck
Enthusiast
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 46
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: 6,146
Karma: 4792399
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
 
Enthusiast
Old 07-13-2011, 06:24 PM   #3
uieluck
Enthusiast
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 46
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
Enthusiast
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 46
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: 6,146
Karma: 4792399
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
Old 08-22-2011, 08:42 PM   #6
uieluck
Enthusiast
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 46
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:	107
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: 6,146
Karma: 4792399
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: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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
Enthusiast
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 46
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, 64 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: 6,146
Karma: 4792399
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:48 PM.


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