> The code in the text module is using PDF_EINVAL as the used error code
> in the case of invalid parameters. All other modules are using
> PDF_EBADDATA for the same purpose.

Yes, I added it to have a difference between
a)Invalid input parameter (ex. NULL pointer) --> PDF_EINVAL
b)Invalid data contained in the input parameter (ex. Invalid UTF-8 encoded
string) --> PDF_EBADDATA

> I suggest to change the text module to use PDF_EBADDATA as well.

I thought it was a good idea... don't you think so? Anyway, no problem to
change it if needed.




Reply via email to