Page 3 of 3

Re: pdf grid

Posted: Tue Dec 25, 2018 5:02 pm
by jairpinho
Hi Edk, I need the print grid function to accept accents in the mod ansi not working with SET HPDFDOC ENCODING TO "WinAnsiEncoding" in the print_grid function inside the array aDados

Re: pdf grid

Posted: Tue Dec 25, 2018 10:30 pm
by edk
There was no character encoding declaration for the HPDF_GetFont function.
Here you have the program code working for me:
demo.7z
(1.79 KiB) Downloaded 279 times
I can not insert the ãà chars from the keyboard into NP++ editor as ANSI. The pasted characters from the Windows Character Table into the NP++ editor are also swapped in my Windows to Unicode, so I used the equivalent ASCII code in the source.
I am also enclosing a character table that is supported by WinAnsiEncoding.
HaruPDF WinAnsiEncoding.7z
(71.17 KiB) Downloaded 276 times
Post Scriptum: Essa é outra garrafa de cachaça.

Re: pdf grid

Posted: Sat Dec 29, 2018 5:43 pm
by jairpinho
edk wrote: Tue Dec 25, 2018 10:30 pm There was no character encoding declaration for the HPDF_GetFont function.
Here you have the program code working for me:demo.7z
I can not insert the ãà chars from the keyboard into NP++ editor as ANSI. The pasted characters from the Windows Character Table into the NP++ editor are also swapped in my Windows to Unicode, so I used the equivalent ASCII code in the source.
I am also enclosing a character table that is supported by WinAnsiEncoding.
HaruPDF WinAnsiEncoding.7z
Post Scriptum: Essa é outra garrafa de cachaça.


thanks edk, it worked perfectly the edit already use ansi was only in function even in getfont