cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Trouble with "Special" Characters

ablasi
1-Newbie

Trouble with "Special" Characters

Hello Guys,

 

In some of ours workstations with PTC 3.0 (ALL with Windows 7 64 bit) it happens that, when a user save a file, some characters wrote in it  change when the same file is opened again or is opened by another user.

 

For example .. I write a "phi" character.. when i'm finished, I save the file and quit. When I re-open the same file instead "phi" I see another character (in this particular case I see " ' ", the one between quotes)

 

Why have I this strange behaviour? Also It seems that when the file is opened by Creo Viewer this problem doesn't appears....

There's someone that can help me?

 

Thanks for help,

Alessandro


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
ACCEPTED SOLUTION

Accepted Solutions
jskraba
7-Bedrock
(To:ablasi)

How is your dxf_export.pro configuration file been set? When you exporting drawing from Creo to DXF or DWG you need to take care about mapping Creo fonts to AutoCAD fonts.

Creo font needs to be "compatible" with AutoCAD font where AutoCAD font name need to exist in AutoCAD configuration. Also mapped Creo fonts need to be installed in Creo installation directory.

In our dxf_export.pro configuration file we are mapping Creo font ISO.ttf to AutoCAD font isocp.shx so configuration file shows the following:

map_font iso isocp.shx

My suggestion would be to first try to change Text Style in 2D CAD to font which shows the correct symbols e.g. diameter symbol without changing anything else on the drawing. Open the drawing, click dimension to see text style being used, open Text Style window and select the dimension text style. Then change style to font which would best suit your company needs or standards and which shows diameter symbol correctly.

Then set mapping in dxf_export.pro to map Creo font being used on drawings and for dimensions to 2D CAD font which you previously tested. Repeat the export procedure and check the results.

As you mentioned 64-bit Windows 7 platform. We were experiencing similar problem with font characters not being translated correctly when exporting to PDF. We have found out that when Creo installation is placed on network drive (network installation), characters for some reason do not translate correctly. When the installation of Creo was moved to local disk, translation worked OK. According to our VAR it has something to do with Windows fonts not being read correctly from network install.

View solution in original post

10 REPLIES 10
MartinHanak
24-Ruby III
(To:ablasi)

Alessandro,

please upload some pictures and Creo example file.

Martin Hanak


Martin Hanák

Hello Martin,

I uploaded two files.

In the first one (file right_signed.png) I've marked the characters that is ok. When I Export this file in dwg format you will see that marked characters is different.

Is there some explanation?

Thanks for helping us.
right_signed.png

wrong_signed.png

MartinHanak
24-Ruby III
(To:ablasi)

Alessandro,

if I understand you well, then:

  1. you created a drawing in Creo (2.0 or 3.0 ?)
  2. when anybody opens this drawing in Creo, then PHI characters are OK
  3. you exported this drawing into DWG format
  4. when anybody opens in AutoCAD, then PHI characters are replaced by n letter

Can you comment my "procedure".

Martin Hanak


Martin Hanák

Hello Martin,

about your procedure, here answers from my colleagues.

  1. True, we are using Creo 3.0
  2. Also this is  true.
  3. True
  4. Some users see wrong letter, Others see the right letter.

Hope this help,

Alessandro.

MartinHanak
24-Ruby III
(To:ablasi)

Alessandro,

I uploaded phi.drw containing test note.

I also uploaded phi_DWG2013.dwg containing the same note.

In phi_Notepad++.txt I am showing that phi character is coded using three characters {SOH}n{STX}

coding.png

Following pictures show note properties displayed in Draftsight evvironment.

phi_Draftsight_01.png

phi_Draftsight_02.png

I guess that text shown in "AutoCAD" depends on Style and Font set in note properties.

Martin Hanak


Martin Hanák

Hello,

I spent some days with R&D guys for try your suggestion.

We saw that If we use ASCII "phi", exporting in DWG we have no problem. If we use "phi" of Creo symbols I see in exportation other characters.

Actually it seems that for some reason some symbol truetype fonts became corrupted. In some cases replace symbol.ttf font and rebuild font cache had success in other cases this workaround is not working. I'm still figuring out.

There's some other suggestion?

Alessandro

MartinHanak
24-Ruby III
(To:ablasi)

Alessandro,

I need data for testing, please create sample drawing and upload it to this discussion.

Martin Hanak


Martin Hanák
jskraba
7-Bedrock
(To:ablasi)

How is your dxf_export.pro configuration file been set? When you exporting drawing from Creo to DXF or DWG you need to take care about mapping Creo fonts to AutoCAD fonts.

Creo font needs to be "compatible" with AutoCAD font where AutoCAD font name need to exist in AutoCAD configuration. Also mapped Creo fonts need to be installed in Creo installation directory.

In our dxf_export.pro configuration file we are mapping Creo font ISO.ttf to AutoCAD font isocp.shx so configuration file shows the following:

map_font iso isocp.shx

My suggestion would be to first try to change Text Style in 2D CAD to font which shows the correct symbols e.g. diameter symbol without changing anything else on the drawing. Open the drawing, click dimension to see text style being used, open Text Style window and select the dimension text style. Then change style to font which would best suit your company needs or standards and which shows diameter symbol correctly.

Then set mapping in dxf_export.pro to map Creo font being used on drawings and for dimensions to 2D CAD font which you previously tested. Repeat the export procedure and check the results.

As you mentioned 64-bit Windows 7 platform. We were experiencing similar problem with font characters not being translated correctly when exporting to PDF. We have found out that when Creo installation is placed on network drive (network installation), characters for some reason do not translate correctly. When the installation of Creo was moved to local disk, translation worked OK. According to our VAR it has something to do with Windows fonts not being read correctly from network install.

ablasi
1-Newbie
(To:jskraba)

Thanks Jurij, I will check with R&D's people. I will let you know.

Alessandro-

ablasi
1-Newbie
(To:jskraba)

Hello Jurij, it seems that in this way we can solve the problem.


Many Thanks!

Alessandro

Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags