Some to be found here: http://www.fontspace.com/c
Main Topics
Browse All TopicsHi,
Anyone know how to draw blurred text on top of an image?
Normally, we use function like "TextOut()" for drawing text. However, I need blur effect.
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Some to be found here: http://www.fontspace.com/c
kapot,
I don't think you can do this directly. You probably want to draw the text on a seperate layer (using GR32: http://graphics32.org/wiki
Another approach would be to use windows paths. You can start a path, then stroke text in an existing font to that path. Once you close the path you have the ability to do many unique things with it. You can do outline letters simply by telling it to stroke the path. For your purposes you would need to walk the path, and at each point do blur effect. this could involve simply setting pixels around the point, or other shading techniques. That portion would be up to your own experimentation. This MSDN article shows the StrokePath function and it is easy to see all of the path functions from there.
http://msdn.microsoft.com/
Can you use grey font color, rather than the default black?
One way to accomplish this is to mimic the shaded effect. Since you want to blur this text, you will need at least 8 additional text-to-canvas operations. What you do is to output your main text and then ouput the same text in a light grey font color in the -1 and +1 pixel positions in both the X and Y coordinates.
Check this too if you want :
http://www.clootie.ru/delp
aikimark,
MerijnB said that this could not be done directly and indeed. I dont like his solution because it involves drawing in other layer then merge it, which is beyond the scope of this task. Why I dont want layer, because I must take care of other drawing functions in my application.
I simply need a text drawing function that could draw blurred text, thats it.
For example, you got an image or a canvas ... then draw blurred text on top of it with a simple function call.
And I cant figure out your suggestion with grey color satisfy my requirement.
Why I want this blurred text? Because I will use it as "realistic" drop shadow.
This are my reasoning that none of the suggested solutions give answer to this questions.
And I am giving up.
@kapot
"And I cant figure out your suggestion with grey color satisfy my requirement"
Did you try my suggestion?
The offset double-printing of characters is EXACTLY how drop shadow is done. The grey shadow is first printed one l pixel to the right and 1 pixel below the 'real' character's position. Then the real character is printed in black in the correct position.
==========================
However, you asked for 'blurred text', which is VERY different than drop shadow. You are at the point of quitting while MerijnB and I are just now discovering your true requirements. That is why I objected to closing this question.
aikimark,
Please ... read my original question.
I asked about how to draw BLURRED TEXT.
Dont you understand what I am asking here?
BLURRED TEXT drawing method.
That's all I am asking.
And none of you provided any solution.
Or am I missing something here?
It does not matter for what purpose I will use that blurred text LATER, that is not what I am asking here.
Speaking about drop shadow. YES, I do understand your info about first printed one pixel down and right. Even though, thats not realistic drop shadow like I want to achieve LATER with this blurred text.
If you dont know what is realistic drop shadow, please see the attached image. That drop shadow could NOT be achieved with your grey text and offset double-printing.
Stick to what the question is ...
@kapot
What we (experts) are missing is an example of what you MEAN by blurred text. Please post an example like you did of the drop shadow letter above.
If you consider just the shadow part of the above combination to be a blurred text (which it is), then you can most certainly use the technique I originally described to achieve it. Consider the central character to be a dark grey. There are printings of the same (dark grey) charater to the left, right, above and below with lighter shades of grey.
Since you indicated you are an advanced Delphi developer, I assume you understand the purpose of the first two parameters of the TextOut method.
For some reason ee-stuff doesn't update the Q, so you can find the file here http://www.ee-stuff.com/Ex
Here you can download it all: http://www.ee-stuff.com/Ex
One more hint: next time you're looking for a drop shadow, at least say so in your question. For me, 'drop shadow' triggers a whole different thing in my head than 'blurry text'. I understand you can make the first from the latter, but in this case, 'blurry text' just didn't do it for me :)
Have fun with it.
Hi MerijnB,
It works :) It took me sometimes to figure out how to install that GR32ex, but it works fine.
To others, here is the home of GR32ex:
http://code.google.com/p/g
When I first read this question, I thought you were building a security system to deter electronic monitor snoopers. Many years ago, I read of an analysis of EM signals emitted by CRT monitors. The cause was the clear spike at the border between the white background and the edge of the black letters. Blurring the text meant that there was some 'ramp-up' and 'ramp-down' to either side of the black letters.
Business Accounts
Answer for Membership
by: SteveBayPosted on 2008-07-29 at 18:46:11ID: 22117011
I would look for a Blurred Font.