|
#1
|
|||
|
|||
|
I am attempting to produce a VDP template that displays the data from a field in the Chinese Simplified language. I am using the Hei font. I have attempted to put the unicode tag in my rule along with the font tag, but I get a blank display and receive errors when attempting to compose. Are there other tags I need to use to compose the language font correctly?
|
|
#2
|
|||
|
|||
|
If you haven't worked with Unicode in FusionPro before, here are a couple tips:
- To fully enable Unicode, ensure that the "Enable Asian character Support" option is selected. FusionPro -> Advanced -> Advanced Settings -> Enable Asian character support (checkbox on bottom). - After enabling the above option, run a "Load Fonts". - In your template, you need to set FusionPro to compose in Unicode (versus just Latin-1 or MacRoman). This is done by de-selecting the "Limit processing to Latin-1 text" checkbox at FusionPro -> Compose -> Advanced (tab) -> Limit processing to Latin-1 text. |
|
#3
|
|||
|
|||
|
Thanks.
All of these steps were completed. If I place static text in my document and format using Asian character font it renders correctly, but when I attempt to apply the font to a field, it does not. |
|
#4
|
||||
|
||||
|
Quote:
Generally, I can make a rule like so: Code:
return '<f name="MyFontName">' + TaggedTextFromRaw(Field("MyFieldName"));
__________________
Dan Korn FusionPro Developer / JavaScript Guru / Super Moderator Printable Technologies, Inc. Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant warning messages. For font-related issues, please check your fonts.err file. The correct spellings are JavaScript and FusionPro. Acceptable abbreviations are JS and FP. Please do not refer to JavaScript as "Java"; they are two completely different languages. Check out the JavaScript Guide and JavaScript Reference! return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|