View Single Post
Old 03-18-2013, 05:28 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 Characters & Fonts Vietnamese

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");
}
Attached Files
File Type: rtf TXT.rtf (5.7 KB, 37 views)
File Type: epub vpstest.epub (52.0 KB, 26 views)
uieluck is offline   Reply With Quote