Default font: not selectable

Discuss and ask questions about CAD plugins for 3rd party software: IrfanView, XnView, Total Commander, Konvertor FM.

Moderators: SDS, support, admin

Post Reply
Peter
Posts: 323
Joined: 23 Jun 2005, 11:27
Location: Switzerland
Contact:

Default font: not selectable

Post by Peter » 24 Apr 2009, 16:51

The "default font" should have a possibility to select Truetype and SHX-Fonts. This is the best way to select only real existing fonts and to avoid typos in font-name.

Peter

support
Posts: 3253
Joined: 30 Mar 2005, 11:36
Contact:

Re: Default font: not selectable

Post by support » 27 Apr 2009, 10:16

CADView plugin allows defining default fonts:
  • right mouse click over CADView plugin;
  • select "Options..." item in the popup menu;
  • select "SHX fonts" tab;
  • set on "Use SHX fonts";
  • define "Search path" - this is where SHX fonts to be searched of;
  • define "Default path" - this is where default SHX font to be stored;
  • define "Default font" - default SHX font.
If necessary SHX font is not found it is to be replaced by TTF font with the same name.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Peter
Posts: 323
Joined: 23 Jun 2005, 11:27
Location: Switzerland
Contact:

Re: Default font: not selectable

Post by Peter » 27 Apr 2009, 13:33

support wrote:...
[*]define "Default font" - default SHX font.[/*][/list]
If necessary SHX font is not found it is to be replaced by TTF font with the same name.

Sergey.
That is not what I meant. In AutoCAD I use "Wingdings" as "Standard replacement font". The reason is that I

- do not want to replace an unknown font
- but want to see clearly with strange signs (Wingdings) that a font is missing.

And to avoid wrong typing of name (wingding, windings, plus extension or not ...) there should be a selecting menu.

Peter

support
Posts: 3253
Joined: 30 Mar 2005, 11:36
Contact:

Re: Default font: not selectable

Post by support » 27 Apr 2009, 14:07

Can you please send us file example?

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Peter
Posts: 323
Joined: 23 Jun 2005, 11:27
Location: Switzerland
Contact:

Re: Default font: not selectable

Post by Peter » 27 Apr 2009, 14:25

I sent it now per e-mail.

Peter

support
Posts: 3253
Joined: 30 Mar 2005, 11:36
Contact:

Re: Default font: not selectable

Post by support » 27 Apr 2009, 15:02

OK, thank you.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

support
Posts: 3253
Joined: 30 Mar 2005, 11:36
Contact:

Re: Default font: not selectable

Post by support » 28 Apr 2009, 15:03

The search fonts logic is the following:
  • SHX font is to be searched, if it is required for some text;
  • default SHX font is to be searched, if necessary SHX font does not exists on a computer and respective setting are made on "Options..." dialog;
  • TTF font with the same name as necessary SHX font is to be searched, if necessary and default SHX fonts weren't found;
  • Arial.ttf font is used, if non of fonts were found.
Do you suppose that there is not enough Arial.ttf font to be used, if non of required fonts were found?

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Peter
Posts: 323
Joined: 23 Jun 2005, 11:27
Location: Switzerland
Contact:

Re: Default font: not selectable

Post by Peter » 28 Apr 2009, 17:23

support wrote:The search fonts logic is the following:
  • SHX font is to be searched, if it is required for some text;
Question 1:
Is SHX always searched, independent from the settings in Options?
support wrote:The search fonts logic is the following:
  • default SHX font is to be searched, if necessary SHX font does not exists on a computer and respective setting are made on "Options..." dialog;
Question 2:
Does "respective settings" mean that "SHX" is enabled?
What happens if it is disabled?
support wrote:[Do you suppose that there is not enough Arial.ttf font to be used, if non of required fonts were found?
Question 3:
What do you mean with "not enough"?

I looked at Cadview.ini:

Code: Select all

SHX default path=C:\
SHX default font=wingdings
Now it is clear that "default font" only can be a SHX-font.

IMHO the AutoCAD solution is fine:
- They do not use the word "Default", but they use "Alternative" (similiar). That is more clear
- The user can select what he wants - so the user is free and the logic is not so complicated.

Peter

support
Posts: 3253
Joined: 30 Mar 2005, 11:36
Contact:

Re: Default font: not selectable

Post by support » 29 Apr 2009, 10:35

Peter wrote:
support wrote:The search fonts logic is the following:
  • SHX font is to be searched, if it is required for some text;
Question 1:
Is SHX always searched, independent from the settings in Options?
No, it is not. It is TTF font to be searched, if "Use SHX fonts" option is switched off.
Peter wrote:
support wrote:The search fonts logic is the following:
  • default SHX font is to be searched, if necessary SHX font does not exists on a computer and respective setting are made on "Options..." dialog;
Question 2:
Does "respective settings" mean that "SHX" is enabled?
What happens if it is disabled?
"Respective settings" means "Use SHX fonts" option.
It is TTF font to be searched, if "Use SHX fonts" option is switched off.
Peter wrote:
support wrote:[Do you suppose that there is not enough Arial.ttf font to be used, if non of required fonts were found?
Question 3:
What do you mean with "not enough"?
"Not enough" means Arial.ttf font. This font is used if no SHX and respective TTF font were found.
Peter wrote:I looked at Cadview.ini:

Code: Select all

SHX default path=C:\
SHX default font=wingdings
Now it is clear that "default font" only can be a SHX-font.
Yes. it is.
Peter wrote:IMHO the AutoCAD solution is fine:
- They do not use the word "Default", but they use "Alternative" (similiar). That is more clear
- The user can select what he wants - so the user is free and the logic is not so complicated.

Peter
We will consider this question and inform you about results.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply