CJK in HTMLPrint
- Article Type: General
- Product: Aleph
- Product Version: 16.02
Description:
The problem:
CJK characters are seen and printed in the GUI "Print Preview".
But in the HTMLPrint software - Blank squares are shown instead of the CJK characters.
See the attached Doc that explains How to print CJK characters in HTMLPrint.
Resolution:
The reason:
This is because the Style definitions (a CSS attribute in the HTML) for the "font-family" of the text.
For example: style="font-family=arial;
Possible solutions:
There are three possible solutions.
See the attached Doc that explains How to print CJK characters in HTMLPrint.
1 Install support East Asian languages in the PC.
Or:
2 - Remove the "font-family" style definitions from the relevant "funcs.xsl" and all "funcs-*.xsl" XSL's.
After this (+ doing util I 6 to re-package templates, and restarting the GUI), the HTML output will be generated without the style definition of the "font-family".
- Then you can define the appropriate font in the HTMLPrint.ini file for HEADER, FOOTER and BODY
For example:
[FOOTER]
FONTNAME=Arial
FONTSTYLE=
FONTSIZE=8
[HEADER]
FONTNAME=Tahoma
FONTSTYLE=
FONTSIZE=8
[FONT]
NAME= Arial Unicode MS
SIZE=10
Or:
3 Define the appropriate font in the "font-family" style definitions in the "funcs" XSLs templates.
For example:
<TABLE WIDTH="100%" style="font-family=Arial Unicode MS; font-size=9pt">
Additional Information
HTMLPrint, CJK, Print, Printouts, XSL, NewPrintType
- Article last edited: 10/8/2013