FontDialog's "Script" combobox isn't effective?

  • Thread starter Thread starter ralpugan
  • Start date Start date
R

ralpugan

Hi,

I found out that though you change the value of "Script" in FontDialog
of a text-having control such as textbox or richtextbox, it
automatically returns to previous value without being effective.

For example, place a textbox, try to change its font through
properties window in designer, change the default value of
"Script" (that is, at the top of Script combobox), then click OK. When
you re-open FontDialog, it goes back to default value.

This behaviour is not same in WordPad (Script value on FontDialog is
saved, through -> Format -> Font -> Script), but automatically goes
back to default value in Windows Form's controls.

Why?

Regards,

ralpugan
 
what about to save it in your application using My.Settings?

"ralpugan" <[email protected]> a écrit dans le message de groupe de
discussion :
(e-mail address removed)...

Why? I just wonder why "Script" combobox's value is not kept when i
click OK in FontDialog in any Windows Forms control's.
 
No such problem here. However, if the font does not support the selected
script, it will revert to whatever the font does support. So something is
probably happening that changes the selected font to one that does not
support the script you are selecting. When the font changes back, the
original script setting is not re-instated.
 
No such problem here.   However, if the font does not support the selected
script, it will revert to whatever the font does support. So something is
probably happening that changes the selected font to one that does not
support the script you are selecting.  When the font changes back, the
original script setting is not re-instated.

Could you give an font example which doesn't encounter problem for
you? I placed a textbox on my form and clicked "Font" in Properties
Windows and changed the default "Script" value to another one o Arial
Font, lets say; from Turkish (default) to Western and click OK. When i
re-open FontDialog i see it reverts back to Turkish automatically.

However i found out that, in Wordpad also, though it seems the Script
value saved in FontDialog, when you type something it automatically
reverts back to default (Turkish).

So, it would be reasonable to know a font whose script value is
changable and remains permament when i use it.

Regards,

ralpugan
 
For a Forms.TextBox, select Fonts property and open the Font dialog. The
default is MS Sans Serif Regular 8 Western. Select Script as Turkish and OK.
Type a few characters in the Text property to confirm. Select Font again.
The settings are MS Sans Serif Regular 8 Turkish. Change the script to
Arabic and close. Type a few characters in the text property to confirm,
select Font and the settings are MS Sans Serif Regular 8 Turkish. Change
script to Westerm, repeat and confirm OK.

Repeat for Arial - same result.

VS2008 9.0.30729.1 SP Vista Ultimate SP1.

ralpugan said:

Could you give an font example which doesn't encounter problem for
you? I placed a textbox on my form and clicked "Font" in Properties
Windows and changed the default "Script" value to another one o Arial
Font, lets say; from Turkish (default) to Western and click OK. When i
re-open FontDialog i see it reverts back to Turkish automatically.

However i found out that, in Wordpad also, though it seems the Script
value saved in FontDialog, when you type something it automatically
reverts back to default (Turkish).

So, it would be reasonable to know a font whose script value is
changable and remains permament when i use it.

Regards,

ralpugan
 
For a Forms.TextBox, select Fonts property and open the Font dialog.   The
default is MS Sans Serif Regular 8 Western. Select Script as Turkish and OK.
Type a few characters in the Text property to confirm. Select Font again.
The settings are MS Sans Serif Regular 8 Turkish.  Change the script to
Arabic and close.  Type a few characters in the text property to confirm,
select Font and the settings are MS Sans Serif Regular 8 Turkish.  Change
script to Westerm, repeat and confirm OK.

Repeat for Arial - same result.

VS2008 9.0.30729.1 SP Vista Ultimate SP1.




Could you give an font example which doesn't encounter problem for
you? I placed a textbox on my form and clicked "Font" in Properties
Windows and changed the default "Script" value to another one o Arial
Font, lets say; from Turkish (default) to Western and click OK. When i
re-open FontDialog i see it reverts back to Turkish automatically.

However i found out that, in Wordpad also, though it seems the Script
value saved in FontDialog, when you type something it automatically
reverts back to default (Turkish).

So, it would be reasonable to know a font whose script value is
changable and remains permament when i use it.

Regards,

ralpugan

Weird, using Turkish OS and XP SP2 with .NET 2.0, it reverts back to
Turkish either with Arial and Ms Sans Serif after clicking OK on Font
Dialog. However, the issue is not producable for Victorian LET font
(changable to Greek from Western).

Strange.
 
Back
Top