Page 1 of 1

HPDFPRINT UNICODE Background color

Posted: Wed Aug 23, 2017 10:23 am
by Georg_BA
Hello everyone
I needed to help with HPDFPRINT UNICODE
If I use HPDFPRINT the background color remains
For HPDFPRINT UNICODE is white

Source
@ Px-1.10 HPDFPRINT RECTANGLE to px + 5-1,205 color {c1, c2, c3} filled
@ Px, 10 HPDFPRINT str (i_pria, 3.0) + '.' To px, 16 FONT "Helvetica" SIZE 7
@ Px + 4-1,10 HPDFPRINT RECTANGLE to px + 10-1,205 color {c1, c2, c3} filled
@ Px + 3, 37 HPDFPRINT UNICODE s_nach to px + 9, 88 FONT "ArialUni" size 9

Thank you for your help

Re: HPDFPRINT UNICODE Background color

Posted: Wed Aug 23, 2017 11:44 am
by edk
Hi.
In fact, the UNICODE text in HPDF is a graphic.
See function _HMG_HPDF_MULTILINE_PRINT_UNICODE() in the source "h_HMG_HPDF_UNICODE.PRG"
The background color of the image is set to WHITE rigidly.
You can try to do your own function based on this source to add an additional parameter as the background color.

Re: HPDFPRINT UNICODE Background color

Posted: Wed Aug 23, 2017 9:17 pm
by Georg_BA
Thanks for help
I have adapted this feature
I have to change the names of functions in "hmg_hpdf.ch"