pdf grid

Moderator: Rathinagiri

User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: pdf grid

Post 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
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: pdf grid

Post 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.
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: pdf grid

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