Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: How to set default font?  (Read 455 times)

selden

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • Modelling for Celestia
How to set default font?
« on: October 12, 2017, 10:04:32 pm »

Is there any way to set the default font used for text in the Object Editor?
Is there any way to set defaults for the other fields in the Text popup menu?

I want to have about a dozen 3D text strings around an object. Unfortunately, whenever I select the Text tool it defaults to Ariel. The font I'd prefer is quite a ways down in the list of fonts shown by the Text popup, Scrolling through that list for each string can be rather awkward and time consuming.

I couldn't find any mention of setting default values for any of the fields of the Text popup in the online documentation for the Object Editor.

It'd be really nice if the values one types into the Text popup menu (other than the position) were remembered for use for the next time.
Logged
Selden

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: How to set default font?
« Reply #1 on: October 12, 2017, 10:39:49 pm »

No, there currently isn't anyway to do this. It's a good idea, though. I'll see what I can do.
Logged

Claude

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Re: How to set default font?
« Reply #2 on: October 13, 2017, 12:07:00 am »

You probably already thought about it but
how about editing the file directly.
Logged

selden

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • Modelling for Celestia
Re: How to set default font?
« Reply #3 on: October 13, 2017, 11:29:36 am »

Steve,

Thanks!

Claude,

Do you mean the .an8 model file? Actually I hadn't. Thanks for the suggestion!

Logged
Selden

Claude

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Re: How to set default font?
« Reply #4 on: October 13, 2017, 01:09:43 pm »

Yes.That's what I meant. Don't forget to backup your file first.
« Last Edit: October 13, 2017, 01:18:00 pm by Claude »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: How to set default font?
« Reply #5 on: October 13, 2017, 01:25:37 pm »

You can also make one Text object with the font that you want and copy/paste that, then edit the characters.
Logged

Claude

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Re: How to set default font?
« Reply #6 on: October 13, 2017, 04:21:39 pm »

 Funny.Tried that last night.Couldn't make it
work.This morning,it does.Hope it's because
it was late. ???
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: How to set default font?
« Reply #7 on: October 16, 2017, 09:53:18 pm »

selden: give Build v1.01.1306 a try. It let's you set a default font that is saved with the project. To set the default double-click on a Text object in the Object editor, set the font,size, bold, italic to the default, and check the "DefaultFont" check-box. This will be used as the default for all new Text objects in the project.

Build v1.01.1306 also uses a new Arc Rotate by default but you can disable it. See this topic for details.
Logged

selden

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • Modelling for Celestia
Re: How to set default font?
« Reply #8 on: October 16, 2017, 10:10:10 pm »

Oops. Without making any changes (i.e. with the new Arc Rotate still the default), "Anim8or has stopped working" when I selected/opened an existing .an8 file which contains (among other things) multiple text strings, although the latter might be a red herring.

I've set Anim8or to be the default program used to open .an8 files.

In contrast, running Anim8or first, then using its "File -> Open..." menu item to open the same .an8 file doesn't crash.

A zip containing clipper.an8 is attached.

« Last Edit: October 16, 2017, 10:12:52 pm by selden »
Logged
Selden

selden

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • Modelling for Celestia
Re: How to set default font?
« Reply #9 on: October 16, 2017, 10:19:12 pm »

However, selecting the default font works great! Thanks!
Logged
Selden

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: How to set default font?
« Reply #10 on: October 17, 2017, 12:47:20 am »

OK I'll take a look at it.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: How to set default font?
« Reply #11 on: October 17, 2017, 03:28:33 pm »

I found the problem and am working on a solution. Stay tuned to this channel ...
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: How to set default font?
« Reply #12 on: October 19, 2017, 07:06:03 pm »

selden: give Build v1.01.1307 fixes the crash when you load a file with Text objects. It would crash when you:

1) click on the file name in the windows file explorer,
2) have File->Configure->StartInPrevious checked, or
3) run Anim8or from a command line with that .an8 file for an argument.
Logged

selden

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • Modelling for Celestia
Re: How to set default font?
« Reply #13 on: October 19, 2017, 07:36:32 pm »

Steve,

Thanks!

It doesn't crash and it remembers the default font.


Logged
Selden