HI, i created the font "SimSun" like this:
  
   PdfIdentityEncoding encoding(0, 0xffff, false);
   PdfStreamedDocument pdf(Convert::AnsiToUnicode(m_file).c_str());
  PdfPainter painter;
  
   PdfFont* font = pdf.CreateFont( "SimSun",
   &encoding, false);  //here throw an exception!
 
  font->SetFontSize(12.0); 
  
 "SimSun" is a TrueType font, but failed to create. I want to know is there any 
problem of the code?
  
  

从QQ邮箱发来的超大附件

simsun.ttc (  10.03 M, 2011 年 2 月 2 日 11:52 
到期)进入下载页面:http://mail.qq.com/cgi-bin/ftnExs_download?k=0835366457f96dc71a06bb6011610017040d0e5407020b591a0c5405524c065a0f561b05060456155400025d00040b0854510602376b324b5e584511594f464c54350b&code=756d7a28&t=exs_ftn_download
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to