View Single Post
Old 03-18-2013, 05:28 PM   #1
uieluck
Connoisseur
uieluck began at the beginning.
 
uieluck's Avatar
 
Posts: 52
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 nghiåp l°ng thanh tŒnh
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 Niåm</span></p>
<p class="Vietnamese-chants"/>
<p class="Vietnamese-chants">Ba nghiåp l°ng thanh tŒnh
G∫i lÚng theo tiâng chuÙng
Nguyån ng‹©i nghe tÃnh thŸc
V‹Æt tho∙t n»o «au bu“n

L°ng lÚng nghe, l°ng lÚng nghe
Tiâng chuÙng huyän diåu «‹a vä
nh√t t‚m

Nguyån tiâng chuÙng n‡y vang ph∙p gißi
Kh°p n÷i u t”i mÜi lo‡i nghe
SiÍu nhiÍn v‹Æt tho∙t vÚng sinh t∫
Gi∙c ng∂ t‚m t‹ m∂t h‹ßng vä

Nghe chuÙng phiän n„o tan m‚y khÛi
› l•ng, th‚n an, miång mÃm c‹©i
H÷i th™ n‹÷ng chuÙng vä ch∙nh niåm
V‹©n t‚m hoa tuå n™ xinh t‹÷i
Ph∞ MÙn vÜng tiâng triäu d‚ng
BÈ th÷ xu√t hiån giªa lÚng «Ûa sen
Cam l“ m∂t giÜt r‹ßi lÍn</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, 167 views)
File Type: epub vpstest.epub (52.0 KB, 141 views)
uieluck is offline   Reply With Quote