Thanks a lot,
Now I am able to generate the above fonts but still the arialunicode
font is not generating.
I word-wrap is not working while using unicode font.
My code is as fallow
<html xmlns="
http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Rights Catalog</title>
<style>
body {
padding-top: 7em;
padding-bottom: 3em;
margin: 0;
font-family:'lucida-sans', monospace;
width:100%;
line-height:15px;
}
div.header,
div.footer {
position: fixed;
opacity: 0.9;
border: 0px solid #888;
width: 100%;
overflow:hidden;
}
div.header {
top: 0cm;
}
div.footer {
bottom: 0cm;
border-top-width: 1px;
height: 2em;
}
div.footer table {
width: 100%;
text-align: center;
}
@media print {
div.header,
div.footer {
opacity: 1;
background: #fff;
}
hr {
page-break-after: always;
visibility: hidden;
}
}
@media screen {
div.body {
border-bottom: 1px dotted #888;
}
}
p
{
padding:0px;margin:0px;
}
div,p,td
{
font-size:11px;
}
img{ border:0px;}
#wrap{width:100%;}
#top{ width:100%;margin:0px auto;}
#bookstudio{ width:136px;float:left;}
.top_content_wrap{ width:100%; float:left; }
.top_content_center{
background:#ecf6f9;;
width:100%;
color:#000000;;
text-align:left; font-weight:normal;
border:1px solid #bebebe; ;
padding:2px;
}
.top_content_center h1{
font-family:'lucida-sans', monospace;
font-weight:bold;
font-size:12px;
color:#ba7b00;;
padding-bottom:10px;
}
.main_content_wrap{
width:100%;
float:left;
font-family:'lucida-sans', monospace;
background:#ecf6f9;;
color:#000000;;
text-align:left;
font-weight:normal;
border-right:1px solid #bebebe; ;
border-bottom:1px solid #bebebe; ;
border-top:0px;
border-left:0px;
}
.main_content_wrap h1{
font-family:'lucida-sans', monospace;
font-weight:bold;
font-size:13px;
color:#ba7b00;;
padding:0px;
margin:2px;
}
.b1_image{padding:3px;}
.b2_image{padding:3px;}
</style>
</head>
<body>
<div id="wrap">
<div class="top_content_center" style="font-
family:cyberbit"><h1>test</h1>
<p style="font-family:cyberbit">testtesttesttest</p>
</div>
<br clear="all">
<br>
<div class="main_content_wrap">
<table border="0" width="100%" cellspacing="0"
cellpadding="0">
<tbody><tr>
<td width="33%" style="border-left:1px solid #bebebe; ;
border-top:1px solid #bebebe; ;" valign="top">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tbody><tr>
<td align="left" valign="top"
style="width:115px;">
<div class="b1_image"><img
src="
http://images.amazon.com/images/P/4327394173.01.SCTHUMBZZZ_.jpg"
width="110"></div>
</td>
<td
valign="top">
<h1>เดินสู่อิสรภาพ</h1>
<p style="font-family:cyberbit">
<strong>Author:</
strong>Pramuan Pengchan<br>
<strong>Book Category:</strong> RELIGION > General, SELF-
HELP > General, TRAVEL > Gen<br>
<strong>ISBN:</strong>9789744098436<br>
<strong>Publication
Year:</strong>
2007 <br>
<strong>Number of Pages:</strong>300 +<br>
<strong>All Print
Rights Available EXCEPT:</strong> Thailand
China
Taiwan<br>
</p>
</td>
</tr>
<tr>
<td colspan="2" valign="top">
<p style="font-
family:cyberbit">
National Best Book Award in Non-Fiction 2008
JUDPRAKAI Award 2008, Distinguished Documentary Award.
The Fourth “Seven Book Awards”, Best Book
Awar... </p>
</td>
</tr>
</tbody></table>
</td>
<td width="33%" style="border-left:1px solid #bebebe; ;
border-top:1px solid #bebebe; ;" valign="top">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tbody><tr>
<td align="left" valign="top"
style="width:115px;">
<div class="b1_image"><img
src="
http://images.amazon.com/images/P/4327394173.01.SCTHUMBZZZ_.jpg"
width="110"></div>
</td>
<td
valign="top">
<h1>レストラン・お店で使う 英中韓3か国語きほん接客フレーズ</h1>
<p style="font-family:cyberbit">
<strong>Author:</
strong>니시가게히로고 (西蔭浩子)<br>
<strong>Book Category:</strong> FOREIGN LANGUAGE STUDY >
General, LANGUAGE ARTS & DISCIPLINES > Linguistics >
Gen<br>
<strong>ISBN:</strong>9784327394172<br>
<strong>Publication
Year:</strong>
2010 <br>
<strong>Number of Pages:</strong>200 - 300<br>
<strong>All Print
Rights Available EXCEPT:</strong> Japan
Taiwan
China<br>
</p>
</td>
</tr>
<tr>
<td colspan="2" valign="top">
<p style="font-
family:cyberbit">
シンプルフレーズで、おもてなしの心を届ける
お店やデパート、レストラン、駅、銀行、案内所などで使える...
</p>
</td>
</tr>
</tbody></table>
</td>
<td width="33%" style="border-left:1px solid #bebebe; ;
border-top:1px solid #bebebe; ;" valign="top">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tbody><tr>
<td align="left" valign="top"
style="width:115px;">
<div class="b1_image"><img
src="
http://images.amazon.com/images/P/402330395X.01.SCTHUMBZZZ_.jpg"
width="110"></div>
</td>
<td
valign="top">
<h1>もうひとつの国へ</h1>
<p style="font-family:cyberbit">
<strong>Author:</
strong>森山 大道<br>
<strong>Book Category:</strong> ART > General, DESIGN
> General, PHOTOGRAPHY > Gen<br>
<strong>ISBN:</strong>9784023303959<br>
<strong>Publication
Year:</strong>
2008 <br>
<strong>Number of Pages:</strong>300 +<br>
<strong>All Print
Rights Available EXCEPT:</strong> Japan
Taiwan
China<br>
</p>
</td>
</tr>
<tr>
<td colspan="2" valign="top">
<p style="font-
family:cyberbit">
日本攝影三大巨擘森山大道最新親筆著作
收錄近年來多幅未發表的攝影作品,以及經典散文
「對我而言,所謂藝... </p>
</td>
</tr>
</tbody></table>
</td>
</tr><tr> <td width="33%" style="border-left:1px solid
#bebebe; ; border-top:1px solid #bebebe; ;" valign="top">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tbody><tr>
<td align="left" valign="top"
style="width:115px;">
<div class="b1_image"><img
src="
http://images.amazon.com/images/P/4391622580.01.SCTHUMBZZZ_.jpg"
width="110"></div>
</td>
<td
valign="top">
<h1>はじめてのミシンソ-イング ― LESSON OF SEWING</h1>
<p style="font-family:cyberbit">
<strong>Author:</
strong>主婦と生活社 <br>
<strong>Book Category:</strong> REFERENCE > Gen<br>
<strong>ISBN:</strong>9784391622584<br>
<strong>Publication
Year:</strong>
2006 <br>
<strong>Number of Pages:</strong>0 - 100<br>
<strong>All Print
Rights Available EXCEPT:</strong> Japan
Taiwan<br>
</p>
</td>
</tr>
<tr>
<td colspan="2" valign="top">
<p style="font-
family:cyberbit">
縫紉機就是「sewing machine=縫紉的機器」,雖然簡單地被稱作是縫紉機,但依用途又分成幾種類別。在此就縫紉
機... </p>
</td>
</tr>
</tbody></table>
</td>
<td width="33%" style="border-left:1px solid #bebebe; ;
border-top:1px solid #bebebe; ;" valign="top">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tbody><tr>
<td align="left" valign="top"
style="width:115px;">
<div class="b1_image"><img
src="
http://images.amazon.com/images/P/483992998X.01.SCTHUMBZZZ_.jpg"
width="110"></div>
</td>
<td
valign="top">
<h1>かわいい手製本―童話をテーマに自分らしく作る本とかたち</h1>
<p style="font-family:cyberbit">
<strong>Author:</
strong>水野 真帆<br>
<strong>Book Category:</strong> ART > General, CRAFTS
& HOBBIES > General, DESIGN > Gen<br>
<strong>ISBN:</strong>9784839929985<br>
<strong>Publication
Year:</strong>
2009 <br>
<strong>Number of Pages:</strong>0 - 100<br>
<strong>All Print
Rights Available EXCEPT:</strong> Japan
Taiwan<br>
</p>
</td>
</tr>
<tr>
<td colspan="2" valign="top">
<p style="font-
family:cyberbit">
手工書的準備
1關於手工書的步驟和構造
以下,將先說明本書中有關手工書的作法。
此外,還要請你先了解書... </p>
</td>
</tr>
</tbody></table>
</td>
<td width="33%" style="border-left:1px solid #bebebe; ;
border-top:1px solid #bebebe; ;" valign="top">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tbody><tr>
<td align="left" valign="top"
style="width:115px;">
<div class="b1_image"><img
src="
http://images.amazon.com/images/P/
4327394181.01.SCTHUMBZZZ_.jpg"width="110"></div>
</td>
<td
valign="top">
<h1>ホテル・旅館で使う 英中韓3か国語きほん接客フレーズ</h1>
<p style="font-family:cyberbit">
<strong>Author:</
strong>니시가게히로고 (西蔭浩子)<br>
<strong>Book Category:</strong> FOREIGN LANGUAGE STUDY >
General, LANGUAGE ARTS & DISCIPLINES > Linguistics >
Gen<br>
<strong>ISBN:</strong>9784327394189<br>
<strong>Publication
Year:</strong>
2010 <br>
<strong>Number of Pages:</strong>100 - 200<br>
<strong>All Print
Rights Available EXCEPT:</strong> Japan
Taiwan
China<br>
</p>
</td>
</tr>
<tr>
<td colspan="2" valign="top">
<p style="font-
family:cyberbit">
シンプルフレーズで、おもてなしの心を届ける
ホテルや旅館、スキー場、ゴルフ場、温泉施設、案内所などで...
</p>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
</div>
<script type="text/php">
if ( isset($pdf) ) {
$font = Font_Metrics::get_font("helvetica");;
$size = 6;
$color = array(0,0,0);
$text_height = Font_Metrics::get_font_height($font, $size);
$foot = $pdf->open_object();
$w = $pdf->get_width();
$h = $pdf->get_height();
// Draw a line along the bottom
$y = $h - 2 * $text_height - 24;
$pdf->line(16, $y, $w - 16, $y, $color, 1);
$y += $text_height;
$text = "Powered By:
www.PubMatch.com";
$pdf->page_text(16, $y, $text, $font, $size, $color);
$pdf->close_object();
$text = "Page {PAGE_NUM} of {PAGE_COUNT}";
// Center the text
$width = Font_Metrics::get_text_width("Page 1 of 2", $font, $size);
$pdf->page_text($w / 2 - $width / 2, $y, $text, $font, $size,
$color);
}
</script>
</body></html>
I need all text should be wrapped in the TD tag.
Could you please provide me a solution or patch for this.
Thanks once again.