In harupdf.ch the following line (701)
   hb_retnl( ( long ) HPDF_Page_TextWidth( ( HPDF_Page ) hb_parptr( 1
), hb_parc( 2 ) ) );

should be changed in
   hb_retnd( ( double ) HPDF_Page_TextWidth( ( HPDF_Page ) hb_parptr(
1 ), hb_parc( 2 ) ) );


since function definition in Haru library is:

HPDF_EXPORT(HPDF_REAL)
HPDF_Page_TextWidth  (HPDF_Page    page,
                      const char  *text);



It now returns a integer value instead of a decimal one... and it kept
breaking my column alignment....


Thanks
Francesco
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to