Hi z...@litepdf.cz
 I look litepdf can do sign pdf. 
can you help me to use podofo generator sign pdf file‍
Look forward to your reply!‍




------------------ 原始邮件 ------------------
发件人: "MarkTam亿万富翁";<ma...@qq.com>;
发送时间: 2014年11月27日(星期四) 上午9:52
收件人: "zyx"<z...@litepdf.cz>; 
"podofo-users"<podofo-users@lists.sourceforge.net>; 

主题: 回复: [Podofo-users] podofo not drawtext chinese please help methankyous



Hi,
thank you very very much, 
use PdfString sJap(L"你好!中国");  to be successful。


I use
 PdfString sJap("你好!中国");
 PdfString sJap((wchar_t*)("你好!中国"));
 PdfString sJap(reinterpret_cast<const pdf_utf8*>("你好!中国"));
 PdfString sJap(reinterpret_cast<const pdf_utf8*>(L"你好!中国"))
 PdfString sJap("你好!中国",new PdfIdentityEncoding( 0, 0xffff, true )); 


all not show unicode,


I debug use  
PdfString sJap(L"你好!中国");
std::string sTemp = sJap.GetStringUtf8(); tried once.


because Breakpoints show sTemp value is "浣犲ソ!涓浗"       , so not to builder Exe 
application
generate pdf file.




         once again thank you very much!
                                      ma...@qq.com/marktam...@gmail.com; 
marktam ‍
                                                          
                                                        
 

‍





------------------ 原始邮件 ------------------
发件人: "zyx";<z...@litepdf.cz>;
发送时间: 2014年11月26日(星期三) 晚上10:44
收件人: "podofo-users"<podofo-users@lists.sourceforge.net>; 

主题: Re: [Podofo-users] podofo not drawtext chinese please help methankyous



On Wed, 2014-11-26 at 16:35 +0800, MarkTam亿万富翁 wrote:
> 
>          //PdfString sJap(reinterpret_cast<const 
> pdf_utf8*>("你好!中国"));  error         // PdfString 
> sJap(reinterpret_cast<const pdf_utf8*>(L"你好!中国")); true but not show
>                 PdfString sJap("你好!中国");
>         // PdfString sJap((wchar_t*)("你好!中国"));
>          std::string sTemp = sJap.GetStringUtf8();
> 

        Hi,
you didn't seem to try unicode encoding in the source file and unicode 
variant of the PdfString constructor, that is:
        PdfString sJap(L"你好!中国");

I would try that. By the way, 0.9.1 is quite old, I would update to a 
more recent version, 0.9.3 ( 
http://podofo.sourceforge.net/download.html ).

        Hope it helps,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to