We are using Solaris 10.
We have j2ee program which is deployed as an OC4J instance in Oracle's Application Server 10.1.2.3. This j2ee program invokes the prince executable.
We had started a different topic regarding the incorrect display of check boxes with check marks. We ended up resolving that issue by installing a font that include the glyphs and referencing it in fonts.css.
The check box with the check in it is correctly displayed regardless of whether prince is invoked via the command line or via the web through our java servlet.
The copyright symbol is also displayed correctly when prince is executed from the command like. However, we are running into problems with the display of the copyright symbol when prince is invoked via the java servlet. In the pdf document that is generated the copyright symbol appears as:
é
We have tried the following to represent the symbol:
©
©
©
All three methods are correctly displayed when invoked via the command line.
We have tried other symbols that use & such as > and < and they are correctly displayed using either method.
Do you have any ideas as to why the copyright symbol is not being displayed correctly?
The following is the source that is used when calling prince via the command line. Note that although this page has a "Print to PDF" button it is not intended to be printed to pdf via the web.
http://acgidev.acgisoftware.com/copyright_cmd.html
The following is the pdf that is generated when calling prince via the command line with the above source:
http://acgidev.acgisoftware.com/copyright_cmd.pdf
The following is the source that is used to call the java servlet:
http://acgidev.acgisoftware.com/copyright_java.html
You can click on the "Print to PDF" button displayed by the above URL to generate the PDF via the java servlet.
We have j2ee program which is deployed as an OC4J instance in Oracle's Application Server 10.1.2.3. This j2ee program invokes the prince executable.
We had started a different topic regarding the incorrect display of check boxes with check marks. We ended up resolving that issue by installing a font that include the glyphs and referencing it in fonts.css.
The check box with the check in it is correctly displayed regardless of whether prince is invoked via the command line or via the web through our java servlet.
The copyright symbol is also displayed correctly when prince is executed from the command like. However, we are running into problems with the display of the copyright symbol when prince is invoked via the java servlet. In the pdf document that is generated the copyright symbol appears as:
é
We have tried the following to represent the symbol:
©
©
©
All three methods are correctly displayed when invoked via the command line.
We have tried other symbols that use & such as > and < and they are correctly displayed using either method.
Do you have any ideas as to why the copyright symbol is not being displayed correctly?
The following is the source that is used when calling prince via the command line. Note that although this page has a "Print to PDF" button it is not intended to be printed to pdf via the web.
http://acgidev.acgisoftware.com/copyright_cmd.html
The following is the pdf that is generated when calling prince via the command line with the above source:
http://acgidev.acgisoftware.com/copyright_cmd.pdf
The following is the source that is used to call the java servlet:
http://acgidev.acgisoftware.com/copyright_java.html
You can click on the "Print to PDF" button displayed by the above URL to generate the PDF via the java servlet.