Topic: Setting Default Font and Font Size ?? (1 of 9), Read 24 times
Conf: Installation, Configuration
From: Tom Merritt
Date: Tuesday, September 18, 2007 01:07 PM

I want to change the default font and font size in the vedit.ini file so business users will not have to change the font setting each time they start VEDIT.

Can someone tell me how the Height and Width parameters in VEDIT correlate to the Font size parameter in Windows??

I would like to default in the vedit.ini file to the following Windows settings:

Font=Courier New;Font Style=Regular;Size=9

Any input appreciated!!

Thanks,

Tom

 


Topic: Re: Setting Default Font and Font Size ?? (2 of 9), Read 25 times
Conf: Installation, Configuration
From: Christian Ziemski
Date: Tuesday, September 18, 2007 02:19 PM

on 18.09.2007 19:09 Tom Merritt wrote:

> I want to change the default font and font size in the vedit.ini file so business users
> will not have to change the font setting each time they start VEDIT.
>
> Can someone tell me how the Height and Width parameters in VEDIT correlate to the Font size parameter in Windows??
>
> I would like to default in the vedit.ini file to the following Windows settings:
>
> Font=Courier New;Font Style=Regular;Size=9
>
> Any input appreciated!!

You can simply try it out by changing the font in VEDIT's {View, Font}
menu and inspect the result in VEDIT.INI.

Your example above gives the following:

[FONT]
Height=12
Width=0
Weight=4
Italic=0
Charset=ANSI
Typeface=Courier New


Regards

Christian

 


Topic: Re: Setting Default Font and Font Size ?? (4 of 9), Read 21 times
Conf: Installation, Configuration
From: Tom Merritt
Date: Wednesday, September 19, 2007 09:15 AM

Christian,

That helps and makes sense. I didn't realize that the main .ini file was updated with all the session changes. A simple but effective way to back into it.

Thanks!!

Tom

 


Topic: Re: Setting Default Font and Font Size ?? (5 of 9), Read 23 times
Conf: Installation, Configuration
From: Ted Green
Date: Wednesday, September 19, 2007 01:19 PM

At 09:17 AM 9/19/2007, you wrote:
>From: "Tom Merritt"
>
>Christian,
>
>That helps and makes sense. I didn't realize that the main .ini file was updated with all the session changes. A simple but effective way to back into it.

I purposely chose to keep such things in the vedit.ini file (instead of the MS "recommended" registry) so that it is easy to find/edit and you can easily copy a VEDIT install from one machine to another.

BTW - Years ago to get "Certified for Windows" for software you had to prove to MS that you did not use an .ini file and did everything with the registry. IMHO the registry is the root cause of the fundamental problems with Windows.

I'll give up update about what we are doing with VEDIT soon.

Ted.

 


Topic: Re: Setting Default Font and Font Size ?? (6 of 9), Read 18 times
Conf: Installation, Configuration
From: Tom Merritt
Date: Thursday, September 20, 2007 10:48 AM

I'm still missing something with the "back into it" approach. When I change the font settings in VEDIT and then open the vedit.ini file the setting are not changed from the defaults. What am I missing???

Thanks,

Tom

 


Topic: Re: Setting Default Font and Font Size ?? (7 of 9), Read 15 times
Conf: Installation, Configuration
From: Ted Green
Date: Thursday, September 20, 2007 11:22 AM

At 10:48 AM 9/20/2007, you wrote:
>From: "Tom Merritt"
>
>I'm still missing something with the "back into it" approach. When I change the font settings in VEDIT and then open the vedit.ini file the setting are not changed from the defaults. What am I missing???

First of all, make sure you are opening the correct vedit.ini file - I have often encountered confusing situations where customers unknowingly have multiple installations of VEDIT. (In the rare case you have a network installation of VEDIT, there is a network global vedit.ini and a workstation specific vedit.ini file.)

Second, I suggest editing the vedit.ini file with Notepad to avoid interactions, as VEDIT re-writes the vedit.ini file as it closes, after you thought you saved changes.

Ted.

 


Topic: Re: Setting Default Font and Font Size ?? (8 of 9), Read 18 times
Conf: Installation, Configuration
From: Christian Ziemski
Date: Thursday, September 20, 2007 11:23 AM

on 20.09.2007 16:48 vtech-install-config Listmanager wrote:
> From: "Tom Merritt"
>
> I'm still missing something with the "back into it" approach.
> When I change the font settings in VEDIT and then open the vedit.ini
file the setting
> are not changed from the defaults. What am I missing???

Did you close VEDIT before inspecting vedit.ini?

Christian

 


Topic: Re: Setting Default Font and Font Size ?? (9 of 9), Read 16 times
Conf: Installation, Configuration
From: Tom Merritt
Date: Thursday, September 20, 2007 11:35 AM

I am new to this job and just discovered that I didn't have privileges to save .ini files. Got that fixed and thought it would also alleviate the problem of not seeing the Font change I made in VEDIT show up in the vedit.ini file. I can exit VEDIT, make changes to vedit.ini, restart VEDIT and have the new FONT settings at startup but I still can't do the "back into it" approach that was suggested. I would like to be able to do that for other changes I need to make. I also want to be able to change the printer fonts as well. Anyone have any ideas on why I'm not seeing the .ini file changes while VEDIT is up?

Thanks,

Tom

 


Topic: Setting Default Font and Font Size ?? (3 of 9), Read 29 times
Conf: Installation, Configuration
From: Ian Binnie
Date: Wednesday, September 19, 2007 04:17 AM

On 9/18/2007 1:07:45 PM, Tom Merritt wrote:
>I want to change the default
>font and font size in the
>vedit.ini file so business
>users will not have to change
>the font setting each time
>they start VEDIT.
>
>Can someone tell me how the
>Height and Width parameters in
>VEDIT correlate to the Font
>size parameter in Windows??
>
>I would like to default in the
>vedit.ini file to the
>following Windows settings:
>
>Font=Courier New;Font
>Style=Regular;Size=9
>
>Any input appreciated!!

The font size is specified in points ~ 1/72inch
Windows calculates
FontHeight = PointSize * LogicalPixelsPerInch / 72

I believe this explains what you are sesing as LogicalPixelsPerInch is usually 96

Incidentally I note vedit.ini states:-
Only "Terminal" and "VEDIT Oem" use the OEM character set...

I suspect this really should be
"Terminal" and "VEDIT Oem" ONLY use the OEM character set

There are a few fonts which have OEM e.g. Lucida Console, Andale Mono

Does anyone use OEM these days?

See http://www.ztwiki.com/tiki-index.php?page=h_ZTreeWinFont for some info on fixed width fonts

Consolas looks quite good on LCD - but really doesn't support most OEM characters.