× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Dear All

i have the following definition
D ITXTBaseFont...
D S O CLASS(*JAVA
D
:'com.lowagie.text.pdf.BaseFont')
D bf_CP1252...
D C 'Cp1252'

*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* ITXTCreateBasefont
* Create a new Basefont Object
*
* Returns the new Basefont
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
D ITXTCreateBaseFont...
D PR likt(ITXTBaseFont)
D ExtProc(*JAVA:
D
'com.lowagie.text.pdf.BaseFont':
D 'createFont')
D name like(jstring) const
D encoding like(jstring) const
D embedded n value
D

I call the procedure " ITXTCreateBaseFont" in the following way

d jtesto s like(jstring)
d jtesto2 s like(jstring)
d bf s like(ITXTBaseFont)
d embedded s n
/free
embedded = *Off;
jtesto = new_String(font);
jtesto2 = new_String(bf_CP1252);

ITXTCreateBaseFont(bf:jtesto:jtesto2:embedded);
Itext return the following error

Message . . . . : Java exception received when calling Java
method.
Cause . . . . . : RPG procedure ITXT_ADDTE in program ITTOOL/ITEXT
received
Java exception "java.lang.NoSuchMethodError: createFont" when calling
method
"crea" with signature "" in class
"com.lowagie.text.pdf.BaseFont".

If i try to change the program like this

bf = ITXTCreateBaseFont(jtesto:jtesto2:embedded) i can't compile the
program

Someone can help me

Thanks & Regards
Basilio

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.