Font name different from PC to another

Font name different from PC to another

joh.richard
Enthusiast Enthusiast
1,294 Views
4 Replies
Message 1 of 5

Font name different from PC to another

joh.richard
Enthusiast
Enthusiast

Hello,

 

I use uUtocad 2018

I created a new style (Barecode) I want to use  the font 3of9

 

The problem a got is the name in C:\windows\font is not the same on every PC

Here the code

            Set ObjTextStyleBarcode = ThisDrawing.TextStyles.Add("BARCODE") 
                ObjTextStyleBarcode.fontFile = "C:\Windows\Fonts\3OF9_4.TTF"
                ObjTextStyleBarcode.Height = "24"
                ObjTextStyleBarcode.ObliqueAngle = 0
                ObjTextStyleBarcode.TextGenerationFlag = 0
                ObjTextStyleBarcode.width = 1


The font name on my PC is 3OF9_4.TTF on another PC the font name is 3OF9_5.TTF.

I try to rename the font, without succes.

 

How could I get the right name?

 

Thanks

0 Likes
1,295 Views
4 Replies
Replies (4)
Message 2 of 5

almutaz_86
Advocate
Advocate
  1. Try to copy 3OF9_4.TTF from your PC
  2. Then past it in the other PC
0 Likes
Message 3 of 5

joh.richard
Enthusiast
Enthusiast

Thanks @almutaz_86for your advice,
Unfortunately, when I copy the font,  he crushes the existing font and increments the numbre at the end (ex 3OF9_2.TTF to 3OF9_3.TTF)
I also delete the policre and install a new one, with the same result (incrementation )
Looks like it's stored in the PC's memory

A got the font 3OF9_9.TTF on one of my PC

0 Likes
Message 4 of 5

joh.richard
Enthusiast
Enthusiast

We alway have the problem.... any suggestion

0 Likes
Message 5 of 5

grobnik
Collaborator
Collaborator

Hi @joh.richard here is a link to Autodesk support how to installa a font.

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Where-to...

As alternative, as suggested, instead copy and paste on the other PC you can try to install, by right click on c:\windows\font folder and install.

Seems to be a stupid and silly answer but, I hope you have administrator rights on PC's where do you want to install new font.

Regards

0 Likes