It should �C but how are you obtaining those fonts for use with Poppler?
Those fonts come on with Adobe Acrobat (hence the Acro) and are NOT licensed
for use outside of that application.
Leonard Rosenthol
PDF Architect
Adobe Systems
From: 凌风 [mailto:[email protected]]
Sent: Monday, January 17, 2011 8:16 AM
To: weskinglf; Dominik Seichter
Cc: podofo-users
Subject: [Podofo-users] 回复: Question about CreateFont
HI,i updated to the latest vewsion, and have found the solution by use
"document.CreateFont(FT_Face, Encoding, true)"
And I want to ask another question:
Dose the podofo support these
fonts--"STSong-Light","AdobeSongStd-Light-Acro","STSongStd-Light-Acro"?
Best Regards!
------------------ 原始邮件 ------------------
发件人: "weskinglf"<[email protected]>;
发送时间: 2011年1月17日(星期一) 中午11:52
收件人: "Dominik Seichter"<[email protected]>;
抄送: "podofo-users"<[email protected]>;
主题: [Podofo-users] Question about CreateFont
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?
------------------------------------------------------------------------------
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