pdf grid

Moderator: Rathinagiri

User avatar
jairpinho
Posts: 269
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Has thanked: 2 times
Been thanked: 5 times
Contact:

Re: pdf grid

Post by jairpinho » Tue Dec 25, 2018 5:02 pm

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
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br

edk
Posts: 415
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 123 times
Been thanked: 331 times

Post by edk » 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
(1.79 KiB) Downloaded 36 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 43 times
Post Scriptum: Essa é outra garrafa de cachaça.

User avatar
jairpinho
Posts: 269
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Has thanked: 2 times
Been thanked: 5 times
Contact:

Post by jairpinho » Sat Dec 29, 2018 5:43 pm

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
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br

Post Reply