Book a Demo

Author Topic: Can I change font of Control Flow's label?  (Read 4438 times)

George Wei

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Can I change font of Control Flow's label?
« on: November 20, 2008, 02:31:04 am »
Dear all,

I've tried EA 7.1 trial version to draw an Activity Diagram. For I'm working in China, I use Chinese to label all components. If I save the diagram as WMF file without changing the font, I can only see question marks. If I changed the font to a Chinese one (like SimSun) before saving, I can view the characters correctly. The problem is I don't find a way to change the font of a Control Flow's label, so I always see question marks for these labels. Can somebody tell me how to change it?

Regards,
George
« Last Edit: November 20, 2008, 02:33:16 am by george.wei »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Can I change font of Control Flow's label?
« Reply #1 on: November 20, 2008, 06:57:17 am »
Perhaps the following will help. If not, it would still be a good idea since you will need to support extended (i.e. beyond Western European) characters at some point.

Check whether you have the Jet 4.0 option set. You'll find this on the Tools | Options dialog (on the General tab, which is the default).

If the Jet 4.0 option is not checked, do so. Then exit EA completely and restart the program.

Once you've done the above, open your project and see if the question marks disappear. You might need to create some new text in Chinese, I don't know if the older text will display or not.

HTH, David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Can I change font of Control Flow's label?
« Reply #2 on: November 20, 2008, 08:37:40 am »
David's comments about model storage are correct for when you want to use characters outside of the current windows code page.  Versions of Jet prior to 4.0 are non-unicode and use the current code-page, so you may not experience any problems with model storage.  However, in addition to setting EA to use Jet 4.0, you will also need to start with a Jet 4.0 model.

Get the Jet 4.0 base model from http://www.sparxsystems.com.au/bin/EABase_JET4.zip
then transfer your model as described at http://www.sparxsystems.com/uml_tool_guide/uml_model_management/performadatatransfer.html

This may not be your problem though.  I believe our Japanese translation modified the default font to a Japanese one.  It may make sense to globally change your default font used.  (Tools | Options | Objects)

George Wei

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Can I change font of Control Flow's label?
« Reply #3 on: November 20, 2008, 04:06:16 pm »
Thanks «Midnight» and Simon, but I'd better make my problem clearer.

I mean I can only see question marks when I view the saved WMF file. I can see Chinese characters correctly when I draw the diagram (using EA).

At last, I tried Simon's suggestion: Set the default User font to a Chinese font. After that, all Chinese text is displayed correctly when I view the WMF file.

Regards,
George
« Last Edit: November 20, 2008, 04:18:37 pm by george.wei »