Author Topic: Big Font File  (Read 3773 times)

0 Members and 1 Guest are viewing this topic.

crsmith

  • Guest
Big Font File
« on: December 22, 2004, 11:45:10 PM »
G'day all,
Just wanted to know if anyone knows how to change the state of the "use big font" check box in the textstyle dialogue box via vba code.

I want to globally change all textstyles so that they don't use a bigfont file.
I can change height's, width's etc... but not this check box.
Cheers,
Cam.

hendie

  • Guest
Big Font File
« Reply #1 on: December 23, 2004, 08:01:38 AM »
I don't see any way of accessing it directly.
Could you delete the text style, then re-create it ?
or specify a different font ~ only SHX files can use bigfonts ~ could you specify a TTF and then change it back to the SHX file ?
I don''t have time to try it but it might be worth a go

Jeff_M

  • King Gator
  • Posts: 4087
  • C3D user & customizer
Big Font File
« Reply #2 on: December 23, 2004, 12:15:08 PM »
Interesting....you can add a filename to the BigFontFile property of any Style, yet you cannot change it to an empty string or null. So you can force a style to use bigfonts but you cannot reverse the process........from the help:
BigFontFile

String; read-write
The name of the big font file.

Remarks

This property is similar to the FontFile property, except it is used to specify an Asian-language big font file. The only valid file type is SHX.

This property cannot be set to NULL or an empty string.

hendie

  • Guest
Big Font File
« Reply #3 on: December 23, 2004, 12:29:30 PM »
that's why I thought  specifying a TTF might "clear" the option but I haven't had time to look into it

Jeff_M

  • King Gator
  • Posts: 4087
  • C3D user & customizer
Big Font File
« Reply #4 on: December 23, 2004, 12:45:00 PM »
I just tried the TTF idea and it won't accept a TTF while a bigfont is specified for a style......so I think that Hendie's first idea is the way to go.

crsmith

  • Guest
Big Font File
« Reply #5 on: December 23, 2004, 07:53:29 PM »
Thanks guys, you've given me a few options to try and I'll let you know how I go.
Glad to hear I wasn't missing something simple.
I can't understand why there isn't a direct method of specifying that particular check box.... Oh well just have to try and work around it.
Cam