Go Back   Printable User Community > Support > Issues, Questions, Etc.

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 5th, 2009, 09:27 AM
randy.willey@efi.com randy.willey@efi.com is online now
Forum n00b
 
Join Date: Apr 2009
Posts: 7
Default Problems previewing/composing Chinese Simplified text

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?
Reply With Quote
  #2  
Old November 5th, 2009, 10:00 AM
Alex Marshall Alex Marshall is offline
FusionPro VDP Support
 
Join Date: Sep 2008
Location: Chicago,Illinois
Posts: 154
Default Re: Problems previewing/composing Chinese Simplified text

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.
Reply With Quote
  #3  
Old November 5th, 2009, 10:41 AM
randy.willey@efi.com randy.willey@efi.com is online now
Forum n00b
 
Join Date: Apr 2009
Posts: 7
Default Re: Problems previewing/composing Chinese Simplified text

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.
Reply With Quote
  #4  
Old November 6th, 2009, 10:50 AM
Dan Korn's Avatar
Dan Korn Dan Korn is online now
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 760
Default Re: Problems previewing/composing Chinese Simplified text

Quote:
Originally Posted by randy.willey@efi.com View Post
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?
If you could tell us exactly what error messages you're getting, that would make it a lot easier to help. Other information, such as your OS and FusionPro versions, is useful as well.

Generally, I can make a rule like so:
Code:
return '<f name="MyFontName">' + TaggedTextFromRaw(Field("MyFieldName"));
And check the "Treat returned strings as tagged text" box, and it works, even if the field has Unicode data. If you want to know exactly what font name to specify, you can create a Formatted Text Resource, enter some text in that font, and then click the "View Source" button.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable Technologies

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.

Please contact Support for all font- and installation-related issues. You may also want to check your fonts.err file.


The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MCC. "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference!

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) 2010, Printable Technologies™, Inc.