Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Translate the entire conversation x

Change PDF export default Truetype font

SC_TK
12-Amethyst

Change PDF export default Truetype font

Hi, 

 

We are using "Isofont.ndx" in our drawings. But we need to export them to PDF with Truetype font. I can chose the option to force it to use Truetype font but the default font is "Arial" and it is too wide. 

 

Can anyone help how to change this default setting to another type of narrower font? 

 

Thanks

7 REPLIES 7
Catalina
Moderator
(To:SC_TK)

Hi @SC_TK 

 

Thank you for your question! 

 

I’d like to recommend to add screenshot(s) to better understand what you are trying to do in your process. 

 

Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

This will increase your chances to receive meaningful help from other Community members. 

 

Thank you for your participation and please let me know if you need further assistance! 

 

Best regards,

Catalina
PTC Community Moderator
SC_TK
12-Amethyst
(To:Catalina)

Thanks Catalina, 

 

See the two screenshots below. First one is the screenshot from Creo directly and 2nd is the screenshot for the PDF was created using the " Using True Type Font" option.  It can be seen the string gets a lot wider than it was in Creo. When the filename gets longer, it will encroach into the other cell of the table. 

 

In Creo the default font is "Isofont.ndx", but in PDF it was converted to "Arial". That is why it is a lot wider. I believe it is the default setting in Creo. 

I tried to find a solution to change the default True Type font used in Creo to "ArialLN".  That is a narrower font, but I don't know where to start. 

 

Thanks

 

 

SC_TK_0-1742408012989.png

SC_TK_1-1742408030599.png

 

Radovan_DT
13-Aquamarine
(To:SC_TK)

Several people I know worked on this and the resume was to give up. Vector fonts are not working properly in creo and you want to elimitate the thing that your drawing looks different on paper than on your monitor. In case I want some CNC laser text done I use them with these export settings or I just do 0,01mm extrude a text on a part. We switched to true type. The advise from official creo distributor in our country was to install ISOCP fonts, we are using ISOCPEUR as default now. It looks technical and similar size like ndx font and we export ttf to ttf.

Radovan_DT_0-1742447671836.png

Radovan_DT_1-1742447839199.png

 

 

SC_TK
12-Amethyst
(To:Radovan_DT)

Thanks Radovan_DT,

 

Our situation is different. We are in a highly regulated industry. Documentation requirement is very strict. We often receive "repeat" projects. Physically they are the same, but drawings have to be changed due to some wording changing. It is very time consuming to change a few hundreds something thousands drawings one by one, We would like to export all drawings to PDF format and do a batch search and replace using a Python script. It works really well except this font issue.

Our creo default font is "isofont.ndx". If we simply export it to PDF, all characters are not editable. We had to force the export option to use True Type fonts. But the part number gets too wide and cause the issue. 

 

Radovan_DT
13-Aquamarine
(To:SC_TK)

I see and understand, very clever idea but sadly I dont think there is way to do it. Creo doesnt have this solved very well and building software with base font from 1995 will bite you in the ass somewhere. Hopefully somebody knows more...that would save my time too!

 

Only experimental way I know would be probably manually porting isofont.src file into .ttf which you can install on windows, that should work after export 1:1. Porting will take probably week but still better than rework all the drawings several times a year.

Path cca. C:\Usr\Creo9_040\Creo 9.0.4.0\Common Files\text\usascii\isofont.src
https://chatgpt.com/share/67dc047c-cdb4-800a-94a8-a2e3326684e1

MartinHanak
24-Ruby III
(To:SC_TK)


@SC_TK wrote:

Thanks Radovan_DT,

 

Our situation is different. We are in a highly regulated industry. Documentation requirement is very strict. We often receive "repeat" projects. Physically they are the same, but drawings have to be changed due to some wording changing. It is very time consuming to change a few hundreds something thousands drawings one by one, We would like to export all drawings to PDF format and do a batch search and replace using a Python script. It works really well except this font issue.

Our creo default font is "isofont.ndx". If we simply export it to PDF, all characters are not editable. We had to force the export option to use True Type fonts. But the part number gets too wide and cause the issue. 

 


Hi,

it seems to me that in addition to isofont, you also use filled font. Both of them are proprietary ProE/Creo fonts.

MartinHanak_0-1742475930175.png

 

Note: When you export drawing to PDF then all proprietary ProE/Creo fonts are replaced by ARIAL font.

 

Suggestion

  • export drawing to PDF
  • use additional software to replace fonts in PDF

I asked Google ... how to replace TTF font in PDF from command line

Google returned link https://www.verypdf.com/wordpress/201306/how-to-change-font-name-in-pdf-by-command-line-36963.html

See also https://www.verypdf.com/app/pdf-text-replacer/.

Maybe free trial of this software enables you to test, whether it is worth to spend money for buying it.


Martin Hanák
Chris3
21-Topaz I
(To:SC_TK)

Announcements


NEW Creo+ Topics: Real-time Collaboration

Top Tags