diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 79736ac2a7..e43dfecf73 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,12 @@ The license applies to all entries newer than 2009-04-28. */ +2011-01-23 17:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbhpdf/harupdf.c + + Added wrapper for HPDF_UseUTFEncodings(). + It requires 2.3.0 which is not released yet, so it's also not + the version hosted in Harbour SVN. + 2011-01-23 10:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg ! Minor typo in help text. diff --git a/harbour/contrib/hbhpdf/harupdf.c b/harbour/contrib/hbhpdf/harupdf.c index b5768b8e7e..2c7fe8414e 100644 --- a/harbour/contrib/hbhpdf/harupdf.c +++ b/harbour/contrib/hbhpdf/harupdf.c @@ -2706,3 +2706,16 @@ HB_FUNC( HPDF_PDFA_GENERATEID ) } /*----------------------------------------------------------------------*/ + +/* +HPDF_EXPORT(HPDF_STATUS) +HPDF_UseUTFEncodings (HPDF_Doc pdf); +*/ +HB_FUNC( HPDF_USEUTFENCODINGS ) +{ +#if HB_HPDF_VERS( 2, 3, 0 ) + hb_retnl( HPDF_UseUTFEncodings( HPDF_Doc_par( 1 ) ) ); +#else + hb_retnl( -1 ); +#endif +}