Hi All
I have the following problem:
I have installed the msttcorefonts package
I was trying to give explicit path to font
by adding
still w/o success The HTML on the screen is perfect
but PDF output is not
Replace all Chinese chars with "?"
What I do wrong?
in addition I have checked /usr/share/fonts/msttcorefonts/fonts.dir
not sure if it's a problem but I don't see UTF8
When doing it from command line I have the following errors:
Can someone tell me what I do wrong?
Best Regards
Kamil
I have the following problem:
<html>
<head>
<title> External Payment Report </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="author" content="Unknown"/>
<meta name="subject" content="Jul - Sep, 2012 "/>
<meta name="keywords" content="Payment "/>
<meta name="date" content="2013-01-28 09:09:18"/>
<meta name="generator" content=""/>
<STYLE TYPE = "text/css">
<!--
.boxtitle { font-size: 15px; font-weight: bold; color: #FFFFFF; background-color: #718796}
.boxfield { font-family: "Times New Roman"; font-weight: bold; color: #000000; background-color: #DDDDCC; clip: rect( ); width: 20%}
.boxvalue { font-family: "Times New Roman"; color: #000000; background-color: #EEEEDD;font-size:12px}
.boxvalue1 { font-family: "Times New Roman"; color: #000000; background-color: #99CCFF; font-size:12px }
.boxvalue2 { font-family: "Times New Roman"; color: #000000; background-color: #FFFFCC; font-size:12px }
.boxvalue3 { font-family: "Times New Roman"; color: #000000; background-color: #e0c0c0; font-size:12px }
-->
</STYLE>
</head>
<body bgcolor="#FFFFFF" text="#000000">
...
<table>
<tr>
<td class="boxvalue" width="265">KGI - 年度前景及建议 (The Annual Outlook and Recommendations ) (CSAORC)</td>
</tr></table>
</body>
</html>
I have installed the msttcorefonts package
I was trying to give explicit path to font
by adding
@font-face {
font-family: "Times New Roman";
font-style: normal;
font-weight: normal;
src: url("/usr/share/fonts/msttcorefonts/times.ttf")
}
@font-face {
font-family: "Times New Roman";
font-style: normal;
font-weight: bold;
src: url("/usr/share/fonts/msttcorefonts/timesbd.ttf")
}
....
still w/o success The HTML on the screen is perfect
but PDF output is not
Replace all Chinese chars with "?"
What I do wrong?
in addition I have checked /usr/share/fonts/msttcorefonts/fonts.dir
not sure if it's a problem but I don't see UTF8
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-ascii-0
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso10646-1
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-10
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-13
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-15
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-1
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-2
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-3
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-4
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-5
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-6
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-7
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-8
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-iso8859-9
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-koi8-r
times.ttf -monotype-times new roman-medium-r-normal--0-0-0-0-p-0-koi8-ru
When doing it from command line I have the following errors:
prince: TW-CS_FY2012-Q4.html:245: error: htmlParseEntityRef: no name
prince: TW-CS_FY2012-Q4.html:406: error: htmlParseEntityRef: no name
prince: TW-CS_FY2012-Q4.html:555: error: htmlParseEntityRef: no name
prince: TW-CS_FY2012-Q4.html:704: error: htmlParseEntityRef: no name
prince: TW-CS_FY2012-Q4.html:1809: error: htmlParseEntityRef: no name
prince: TW-CS_FY2012-Q4.html:2565: error: htmlParseEntityRef: no name
prince: warning: no glyphs for character U+5E74, fallback to '?'
prince: warning: no glyphs for character U+5EA6, fallback to '?'
prince: warning: no glyphs for character U+524D, fallback to '?'
prince: warning: no glyphs for character U+666F, fallback to '?'
prince: warning: no glyphs for character U+53CA, fallback to '?'
prince: warning: no glyphs for character U+5EFA, fallback to '?'
prince: warning: no glyphs for character U+8BAE, fallback to '?'
Can someone tell me what I do wrong?
Best Regards
Kamil