In control panel/Display/Appearance/Effects if :
'Use the following method to smooth edges of screen fonts' is checked and
ClearType is selected in the combobox (no problem if Standard is selected)
I get a crazy font display in parts of my picturebox.
Do you have any info regarding this?
Thanks for any help! 7 2994
On Apr 30, 4:31 am, " active" <activeNOS... @a-znet.comwrote:
In control panel/Display/Appearance/Effects if :
'Use the following method to smooth edges of screen fonts' is checked and
ClearType is selected in the combobox (no problem if Standard is selected)
I get a crazy font display in parts of my picturebox.
Do you have any info regarding this?
Thanks for any help!
You don't have a small sample app that demonstrates this do you? I
have been experimenting and can't get the error to reproduce.
Thanks,
Seth Rowe
No, It's really a complex application with library and a few projects.
But by checking and unchecking and selecting Standard or ClearType many
times while not changing anything else I can verify what I said.
The font looks like it's been printed twice, with poor registration.
Once blue and once red.
Thanks a lot for trying
"rowe_newsgroup s" <ro********@yah oo.comwrote in message
news:11******** *************@e 65g2000hsc.goog legroups.com...
On Apr 30, 4:31 am, " active" <activeNOS... @a-znet.comwrote:
>In control panel/Display/Appearance/Effects if :
'Use the following method to smooth edges of screen fonts' is checked and
ClearType is selected in the combobox (no problem if Standard is selected)
I get a crazy font display in parts of my picturebox.
Do you have any info regarding this?
Thanks for any help!
You don't have a small sample app that demonstrates this do you? I
have been experimenting and can't get the error to reproduce.
Thanks,
Seth Rowe
On Apr 30, 12:39 pm, " active" <activeNOS... @a-znet.comwrote:
No, It's really a complex application with library and a few projects.
But by checking and unchecking and selecting Standard or ClearType many
times while not changing anything else I can verify what I said.
The font looks like it's been printed twice, with poor registration.
Once blue and once red.
Thanks a lot for trying
"rowe_newsgroup s" <rowe_em...@yah oo.comwrote in message
news:11******** *************@e 65g2000hsc.goog legroups.com...
On Apr 30, 4:31 am, " active" <activeNOS... @a-znet.comwrote:
In control panel/Display/Appearance/Effects if :
'Use the following method to smooth edges of screen fonts' is checked and
ClearType is selected in the combobox (no problem if Standard is
selected)
I get a crazy font display in parts of my picturebox.
Do you have any info regarding this?
Thanks for any help!
You don't have a small sample app that demonstrates this do you? I
have been experimenting and can't get the error to reproduce.
Thanks,
Seth Rowe
I've had plenty of problems with ClearType displaying correctly, but
not in any of my applications. I notice plenty of font "smearing" in
MS Access 2007 forms and Powerpoint.
Have you tried forcing the picturebox to refresh itself by calling
PictureBox.Inva lidate() or PictureBox.Refr esh()? I not sure if the
picturebox supports them, but you could even experiment with
Control.SetStyl e and tell the picturebox to use
(Optimized)Doub leBuffer or maybe Antialiasing - perhaps one of those
will clear up the font.
By the way, how are you putting the text into the picturebox? Are you
printing it with GDI DrawString or using a label etc...
Thanks,
Seth Rowe
" active" <ac********** @a-znet.comschrieb :
But by checking and unchecking and selecting Standard or ClearType many
times while not changing anything else I can verify what I said.
The font looks like it's been printed twice, with poor registration.
Once blue and once red.
This behavior is "by design" but can be fixed. The problem arises from the
way ClearType increases readability: RGB values of certain pixels
surrounding the text are manipulated. By drawing the same text several
times at the same position, those values get added up and are shown in the
wrong color. What you have to do is simply clearing the area on which you
want to draw the text.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
I don't know why this Clear fixes it but I found by cut and try that it
does.
It occurred to me that I don't know what the bitmap pixels are set to if I
don't initialize (clear) them.
Do you know?
I suppose an un-initialize background might have some value that causes
problems.
Comment?
thanks
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.atwrote in message
news:%2******** *********@TK2MS FTNGP06.phx.gbl ...
>" active" <ac********** @a-znet.comschrieb :
>But by checking and unchecking and selecting Standard or ClearType many times while not changing anything else I can verify what I said.
The font looks like it's been printed twice, with poor registration. Once blue and once red.
This behavior is "by design" but can be fixed. The problem arises from
the way ClearType increases readability: RGB values of certain pixels
surrounding the text are manipulated. By drawing the same text several
times at the same position, those values get added up and are shown in the
wrong color. What you have to do is simply clearing the area on which you
want to draw the text.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Trying things I found that initializing the bitmap to some color before I
draw the strings fixes it.
I don't know what the bitmap pixels are set to if I don't initialize them.
Do you know?
Thanks again
"rowe_newsgroup s" <ro********@yah oo.comwrote in message
news:11******** **************@ h2g2000hsg.goog legroups.com...
On Apr 30, 12:39 pm, " active" <activeNOS... @a-znet.comwrote:
>No, It's really a complex application with library and a few projects.
But by checking and unchecking and selecting Standard or ClearType many times while not changing anything else I can verify what I said.
The font looks like it's been printed twice, with poor registration. Once blue and once red.
Thanks a lot for trying
"rowe_newsgrou ps" <rowe_em...@yah oo.comwrote in message
news:11******* **************@ e65g2000hsc.goo glegroups.com.. .
On Apr 30, 4:31 am, " active" <activeNOS... @a-znet.comwrote: In control panel/Display/Appearance/Effects if :
>'Use the following method to smooth edges of screen fonts' is checked and
>ClearType is selected in the combobox (no problem if Standard is selected)
>I get a crazy font display in parts of my picturebox.
>Do you have any info regarding this?
>Thanks for any help!
You don't have a small sample app that demonstrates this do you? I
have been experimenting and can't get the error to reproduce.
Thanks,
Seth Rowe
I've had plenty of problems with ClearType displaying correctly, but
not in any of my applications. I notice plenty of font "smearing" in
MS Access 2007 forms and Powerpoint.
Have you tried forcing the picturebox to refresh itself by calling
PictureBox.Inva lidate() or PictureBox.Refr esh()? I not sure if the
picturebox supports them, but you could even experiment with
Control.SetStyl e and tell the picturebox to use
(Optimized)Doub leBuffer or maybe Antialiasing - perhaps one of those
will clear up the font.
By the way, how are you putting the text into the picturebox? Are you
printing it with GDI DrawString or using a label etc...
Thanks,
Seth Rowe
The pixel values of a newly created bitmap are (0,0,0,0)
Transparent black.
Sort of a wierd color to draw strings on.
My bitmap displays a white but I now believe it's the background pixels I
see, not the Image (bitmap) pixels.
Don't know what smooth edges does but doing it with transparent black might
be the problem.
Do you know of a description of what smooth edges does? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Salgoud Dell |
last post by:
I have a VB6 application running on a French computer using Windows ME. The
app doesn't work the same way as it does when running on an English Windows
OS.
The main issue I have, that I can't seem to overcome, is that the english
text font size my program thinks is available doesn't seem to be there.
Although a line of text printed on a US Windows machine looks fine, when it
is printed from this French computer the tabs are over written...
|
by: Uttam |
last post by:
Hello,
I am using the code from Chapter 17 specifically the code from the
font frmListFonts in my application.
I have taken care to copy all the relevant modules / class modules
into the respective files / folders etc. Nevertheless, I get the
following error when I start my application:
Compile error; Sub or Function not defined
|
by: George |
last post by:
I have marked the areas with comments as to what I would like to do and
what the code does. The two problem areas are in the key pressing and
mousing clicking areas. thanks for the help.
This code outputs a set of lines on the screen in different colors
/********************************************
** problem2 .c **
** --------------- **
|
by: CMEDIA_SOUND |
last post by:
I have a peculiar problem,
I have a tabpage with a label control on it. When i set a background
image to the tabpage and drag the label around it has paint issues in
that it is slow, granted the image i am using is 5mb!!! HOWEVER...
I have inherited the tabpage created an Image reference in it, and
overrriden the onPaint method to draw the image
now if i press a button that sets the background image of the control
|
by: Larry Serflaten |
last post by:
I am taking a 256 color bitmap from a file
and scaling it up X 16 to a 32bppPARGB bitmap
in memory. I copy that image to the screen.
After scaling, the edges of all the lines and
colors are blurred. I want the edges all
crisp, including inherent pixelation (jaggies).
Setting smoothing to none, or adjusting the
composting mode on the Graphics object still
| |
by: Galen Somerville |
last post by:
My original program was targetted to Win98 when 800 x 600 was popular.
Now converted to VB2005 pro and minimum will be 1024 x 768.
I know about the autoresizing at run time but I want the form designer to be
at 1024 x768. Naturally, after conversion from VB6, it is at 800 x 600
(actually 800 x 554 or thereabouts).
Other than manually (and laboriously) moving all the controls, is there a
better way to do it?
|
by: axlq |
last post by:
I'm trying to design my style sheets such that my pages have
similar-looking fonts different platforms (Linux, Mac, Adobe,
X-Windows, MS Windows, etc).
The problem is, a font on one platform might be the same as a font on
another platform, but with different names. I'd like to be able to
specify the font names that are "most equivalent."
For example, "Lucida Console" is a very attractive and readable
monospaced font available in...
|
by: PankajGaur |
last post by:
Hi,
I need to create a Ellipse shaped user control which have folloiwng
attributes:
1) The edges are smooth
2) The control shuld only be selected when click on the ellipse shape & not
when click on the empty area of Client Rectangle
What I have done so far:
I override the OnPaintMethod as below:
|
by: =?Utf-8?B?UGFua2FqR2F1cg==?= |
last post by:
Hi,
I need to create a Ellipse shaped user control which have folloiwng
attributes:
1) The edges are smooth
2) The control shuld only be selected when click on the ellipse shape & not
when click on the empty area of Client Rectangle
What I have done so far:
I override the OnPaintMethod as below:
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |