View Full Version : Foreign Characters & Fonts Vietnamese


uieluck
03-18-2013, 05:28 PM
Ok, I've manage to embed and read several "other" foreign characters and fonts.
Usually I follow these embedding instructions:TXT.rtf

But now I'm having a hellofa time getting this to work: vpstest.epub

It's Unicode UTF-8 etc. I've added some code to try and make it work. The font is called: VPS Times

The font looks like: Ba nghip lng thanh tnh
And should have accent marks etc.
I've also used TransType Pro to convert the font to a TTF, but I could also convert it to a OTF if it would help.

IDEAS?
Thanks, T

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>vpstest.html</title>
<link href="template.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="vpstest.html" xml:lang="en-US">
<div class="Basic-Text-Frame">
<p class="body-no-indent"><span class="Normal char-style-override-1" xml:lang="en-US">1. Inviting the Bell</span></p>
<p class="body-no-indent"><span class="char-style-override-2">Chanted by Brother Ph</span><span class="char-style-override-2">∙</span><span class="char-style-override-2">p Nim</span></p>
<p class="Vietnamese-chants"/>
<p class="Vietnamese-chants">Ba nghip lng thanh tnh
G∫i lng theo ting chung
Nguyn ngi nghe tnh thc
Vt tho∙t no au bun

Lng lng nghe, lng lng nghe
Ting chung huyn diu a v
nh√t tm

Nguyn ting chung ny vang ph∙p gii
Khp ni u ti mi loi nghe
Siu nhin vt tho∙t vng sinh t∫
Gi∙c ng∂ tm t m∂t hng v

Nghe chung phin no tan my khi
lng, thn an, ming mm ci
Hi th nng chung v ch∙nh nim
Vn tm hoa tu n xinh ti
Ph∞ Mn vng ting triu dng
B th xu√t hin gia lng a sen
Cam l m∂t git ri ln</p>
<p class="Vietnamese-chants"/>
</div>
</div>
</body>
</html>



@font-face {
font-family : "VPSTimes";
font-style : normal;
font-weight : normal;
src : url("fonts/VPSTimes.ttf");
}

uieluck
03-18-2013, 07:09 PM
Disregard this post... I've figured it out.
Thanks, T—

uieluck
03-19-2013, 05:03 PM
Can somebody PLEASE respond. My 'so-called' fix. Didn't fix crap. Anybody???
It actually display's correctly in ADE, but not: iPad (ibooks), Nook Touch (non HD), Kindle Fire.

uieluck
03-19-2013, 06:12 PM
Scratch that,, I figured it out (again).
My file needed a correct:
com.apple.ibooks.display-options.xml
and the VPS font needed to be an: OTF
Thanks, T—

JSWolf
03-28-2013, 10:40 AM
Actually, it could be a TTF as well.