Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [birt-dev] I think I meet a problem

Have you solved your problem?
You can see the file below:
plugins\org.eclipse.birt.report.viewer_1.0.0\birt\WEB-INF\plugins\org.eclipse.birt.report.engine.emitter.fo\fop.xml
Here is an example:
 <fonts>
  <font metrics-file="D:\BIRT-Designer\fonts\simsun.xml" embed-file="C:\WINDOWS\fonts\simsun.ttc" kerning="yes">
    <font-triplet name="宋体" style="normal" weight="normal"/>
    <font-triplet name="宋体" style="normal" weight="bold"/>
    <font-triplet name="宋体" style="italic" weight="normal"/>
    <font-triplet name="宋体" style="italic" weight="bold"/>
  </font>
  <font metrics-file="D:\BIRT-Designer\fonts\nsimsun.xml" embed-file="C:\WINDOWS\fonts\simsun.ttc" kerning="yes">
    <font-triplet name="新宋体" style="normal" weight="normal"/>
    <font-triplet name="新宋体" style="normal" weight="bold"/>
    <font-triplet name="新宋体" style="italic" weight="normal"/>
    <font-triplet name="新宋体" style="italic" weight="bold"/>
  </font>
  <font metrics-file="D:\BIRT-Designer\fonts\simfang.xml" embed-file="C:\WINDOWS\fonts\simfang.ttf" kerning="yes">
    <font-triplet name="仿宋_gb2312" style="normal" weight="normal"/>
    <font-triplet name="仿宋_gb2312" style="normal" weight="bold"/>
    <font-triplet name="仿宋_gb2312" style="italic" weight="normal"/>
    <font-triplet name="仿宋_gb2312" style="italic" weight="bold"/>
  </font>
  <font metrics-file="D:\BIRT-Designer\fonts\simhei.xml" embed-file="C:\WINDOWS\fonts\simhei.ttf" kerning="yes">
    <font-triplet name="黑体" style="normal" weight="normal"/>
    <font-triplet name="黑体" style="normal" weight="bold"/>
    <font-triplet name="黑体" style="italic" weight="normal"/>
    <font-triplet name="黑体" style="italic" weight="bold"/>
  </font>
  <font metrics-file="D:\BIRT-Designer\fonts\simkai.xml" embed-file="C:\WINDOWS\fonts\simkai.ttf" kerning="yes">
    <font-triplet name="楷体" style="normal" weight="normal"/>
    <font-triplet name="楷体" style="normal" weight="bold"/>
    <font-triplet name="楷体" style="italic" weight="normal"/>
    <font-triplet name="楷体" style="italic" weight="bold"/>
    <font-triplet name="楷体_gb2312" style="normal" weight="normal"/>
    <font-triplet name="楷体_gb2312" style="normal" weight="bold"/>
    <font-triplet name="楷体_gb2312" style="italic" weight="normal"/>
    <font-triplet name="楷体_gb2312" style="italic" weight="bold"/>
  </font>
  </fonts>
----- Original Message ----- 
From: "s H" <standiorq@xxxxxxxxxxx>
To: <birt-dev@xxxxxxxxxxx>
Sent: Wednesday, July 06, 2005 3:19 PM
Subject: [birt-dev] I think I meet a problem


> hello:
> I have deploy my report to tomcat,but ,when I url to the report and the 
> format=pdf,I got some ##### instead of the chinese in my report,but when i 
> urt the report by format=html,I can got a chinese report, I want to get a 
> chinese report by pdf,what should I do ?I am a chinese!
>                                                           yours stanley.f
> 
> _________________________________________________________________
> 免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  
> 
> _______________________________________________
> birt-dev mailing list
> birt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/birt-dev

Back to the top