How can this be???

cadpoobah

Usenet Archive
Joined
Jul 23, 2003
Messages
3
Reaction score
0
Folks,

In 15 years of AutoCAD programming, I've never seen anything like this.

I have a text style (named "STANDARD") that I have recently converted from an old font (Stylus BT) to the new one (ARCHQUIK). Part of the conversion is adjusting the width factor of the text to accommodate the different width ratios between the two fonts.

The conversion works fine. However, when I save the drawing and re-open it, the width factors are still applied, but the style has reverted back to the old font...sort of.

Here are the details of the style from the command line. Note the font:

Command: -style Enter name of text style or [?] <STANDARD>: ? Enter text style(s) to list <*>: Text styles:
Style name: "STANDARD" Font typeface: Stylus BT
   Height: 0'-0" Width factor: 1.0080 Obliquing angle: 0.0000    Generation: Normal

Current text style: "STANDARD"

Now, here are the details of the style using Lisp. Note the font (group 3):

Command: (entget (tblobjname "Style" "STANDARD"))
((-1 . <Entity name: 40076c80>)
(0 . "STYLE")
(330 . <Entity name: 40076c18>)
(5 . "10")
(100 . "AcDbSymbolTableRecord")
(100 . "AcDbTextStyleTableRecord")
(2 . "STANDARD")
(70 . 0)
(40 . 0.0)
(41 . 1.00797)
(50 . 0.0)
(71 . 0)
(42 . 4.3125)
(3 . "ARCHQUIK.SHX")
(4 . ""))

How can these be different for the same font?

Note: there is nothing happening during Startup to modify the font. Even if there was, the font would be the same in both of the listings above.

Thanks for any assistance.

Chris
 
I have had similar problems redefining styles that use ttf fonts to use shx fonts, seems acad doesn't like to release the ttf font name?

(no answers for you though:

cadpoobah said:
Folks,
In 15 years of AutoCAD programming, I've never seen anything like this.

I have a text style (named "STANDARD") that I have recently converted from
an old font (Stylus BT) to the new one (ARCHQUIK). Part of the conversion is adjusting the width factor of the text to accommodate the different width ratios between the two fonts.
The conversion works fine. However, when I save the drawing and re-open
it, the width factors are still applied, but the style has reverted back to the old font...sort of.
Here are the details of the style from the command line. Note the font:

Command: -style Enter name of text style or [?] <STANDARD>: ? Enter text
style(s) to list said:
Style name: "STANDARD" Font typeface: Stylus BT
Height: 0'-0" Width factor: 1.0080 Obliquing angle: 0.0000
Generation: Normal

Current text style: "STANDARD"

Now, here are the details of the style using Lisp. Note the font (group 3):

Command: (entget (tblobjname "Style" "STANDARD"))
((-1 . <Entity name: 40076c80>)
(0 . "STYLE")
(330 . <Entity name: 40076c18>)
(5 . "10")
(100 . "AcDbSymbolTableRecord")
(100 . "AcDbTextStyleTableRecord")
(2 . "STANDARD")
(70 . 0)
(40 . 0.0)
(41 . 1.00797)
(50 . 0.0)
(71 . 0)
(42 . 4.3125)
(3 . "ARCHQUIK.SHX")
(4 . ""))

How can these be different for the same font?

Note: there is nothing happening during Startup to modify the font. Even
if there was, the font would be the same in both of the listings above.
 
Steve,

Thanks for confirming my sanity! :-) I was beginning to wonder.

Apparently, you never resolved the issue?

As a ADN member, I've been dialoging with a Developer Support person. It's taken a while for him to understand that it's not simply a font substitution (i.e. fontalt) problem. These tech guys are very good, but the one I am working with has probably never used AutoCAD much. He is probaly a more high level programmer.

But we're chipping away at it. When (if) we find a solution, I will be sure to pass it along here.

Chris
 

Member Recommended

Latest threads

Back
Top