On 7/23/2011 9:40:34 AM, Pauli Lindgren wrote:
>On 7/21/2011 5:00:47 PM, peter rejto
>wrote:
>>
>>I certainly would appreciate a Dashboard
>>enhancement that would tell me whether I
>>am using ANSI or OEM fonts. I think that
>>this is a very subtle issue.
>
>I have no idea what you are trying to
>do.
>
>Pauli
Hi,
Let me give you a progress report:
In order to properly display the accents in, say, Hungarian, I need ANSI fonts. So, I wanted to automate this display procedure. After studying the manual I wrote the following macro:
#1=Font_Charset
if (#1==0) { Statline_Message("ANSI") }
if (#1==255) { Statline_Message("OEM") }
Return
So, I added this macro to my Dashboard. It seems to work.
That is to say, the Statline tells me the name of the installed character set.
Now, I would like to do this via the new command,
Read_Ini(r,"section","parameter","filename").
I tried, but I am not a good typist, etc. In short, I have a hunch that I got hung up on a simple technicality. So, if somebody would help me out, I would really appreciate it.
Of course, my hope is that if I can read the parameters from my Vedit.ini file than I can also write to it via the new "write" command.
Furthermore, I hope that
Charset=OEM,
is indeed a parameter, so I can set it.
The manual emphasizes that the value of the charset has to be set manually, via the {View, Font} menu command.
(So, with some luck, this is exactly the enhancement I need.)
A big thank you for the other half of your message:
>However, you do not need Dashboard to
>find out whether you are using ANSI or
>OEM font.
>Just select "View" -> "Font", and the
>dialog box displays the font you are
>currently using.
>If the font name does not reveal this
>information, look at the "Script" box.
>"Western" means it is ANSI font.
>"OEM/DOS" means it is OEM font.
>There are other possibilities, too, such
>as "Greek" or "Symbol".
>
>--
I tried but could not figure out that the abbreviation in the Vedit box, referred to Western.
(And of course, I would have never been able to figure out that
"Western" means it is ANSI font.)
I also would like to know how Vedit handles the "Greek" or "Symbol" issue. I tried to find it in the Vedit box, but could not.
Thanks as always,
-peter
|
|