I have Urdu Book converted in ePub and want to see it on iPad. I have used Urdu fonts in ePub but it's not displaying the Urdu language.

0 votes
asked by
edited by

2 Answers

0 votes
No avatar answered by (309k points)
edited by

commented by (140 points)
Hello Alex,

I think this will work in better way.
Thanks a lot for your help :)
0 votes
No avatar answered by (140 points)

commented by (193k points)
Even if you create custom layout you still need to define the used fonts by the epub. You can do this with the following code:

@font-face {
font-family: Prophecy Script;
font-style: normal;
font-weight: normal;
src:url("Fonts/Prophecy_Script.ttf");
}

Once you complete this, you need to apply it to your book:

p.letter {
    font-family: "Prophecy Script";
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    margin: 1em 0 0 0;
    -webkit-hyphens:none;
}

You will also need to define the area with the following handle: <p class="letter">Test</p>. On the other hand, custom fonts need to be enabled in the **com.apple.ibooks.display-options.xml**. The line should be like this: **<option name="specified-fonts">true</option>**.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...