![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2015
Device: None
|
Issues with Ebook with Devanagari script (Mangal font)
Hello friends,
I have tried creating an e-book having text in Devnagari script (Mangal font). I have bit of an issue here. While most of the text is displayed properly, only in some cases the letters are broken up and/ or partially shifted to next page. Please see attached PDF - the issues are circled in red. Surprisingly, this is not consistent, in the sense many a place similar letters are displayed properly. The procedure that I followed to create an ebook is as under:
Code:
@font-face { font-family: "Mangal"; font-weight: normal; font-style: normal; src: url(../Fonts/Mangal-Regular.ttf); } @font-face { font-family: "Mangal"; font-weight: bold; font-style: normal; src: url(../Fonts/Mangal-Bold.ttf); } body { font-family: "Mangal", serif; } Code:
src: url(../Fonts/Mangal-Regular.ttf) Request your help to solve the problem. Thanks in advance |
![]() |
![]() |
![]() |
#2 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Moved to the ePub forum.
|
![]() |
![]() |
![]() |
#3 |
Scripler Project Lead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19
Karma: 19304
Join Date: May 2014
Location: Copenhagen, Denmark.
Device: Gameboy Color
|
I think your problem is not with the font (it seems to work) but with the way you have produced the html. Odd divisions inside words across lines or pages suggests that the html looks something like:
Code:
<p>The following word will break across lines/pages on some readers <span>W</span><span>o</span><span>r</span><span>d</span>.</p> (( The src-statement is the path of the font files inside the epub file - so this is the files you just added (mangal and mangalb), so it is important the the filenames in the src-statements are actually the same as the ones you've added. But it seems to be correct since it is displaying on the reader. )) |
![]() |
![]() |
![]() |
#4 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
If none of this makes a difference post the html code of the lines with broken words. |
||
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2015
Device: None
|
RE: Issues with Ebook with Devanagari script (Mangal font)
Thank you Abekonge and Doitsu,
@ Doitsu - Can you guide me little more on using Annapurna SIL? I mean, can I use that font while the original MS Word document is created in Mangal font? Can such a ebook be properly read on Play Books, Kindle etc. applications? Thanks in advance, |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T1 Devanagari? | democrite | Sony Reader | 4 | 06-28-2013 02:02 AM |
Font issues with Calibre | ivanbayross | Calibre | 6 | 10-16-2012 08:19 AM |
Font Issues Between Mobi and ePub | GeckoFriend | Conversion | 4 | 04-16-2012 04:31 PM |
Does NookColor have font-sizing issues? | L.J. Sellers | Nook Color & Nook Tablet | 12 | 06-02-2011 04:45 PM |
Perl script for ebook-convert | gucky | Calibre | 3 | 01-11-2011 12:51 PM |