If you're using 1bpp images, that's plain black and white. Truetype fonts require more color depth to perform antialiasing, so that won't work. You can go three ways IMO:
- render the font to a transparent image, convert to black & white and overlay over the original image, possibly creating a jagged font
- convert the image to more bpp, then render the text on top of it, then convert back to b&w. Will use a lot of memory for the converted image.
- use a bitmapped font that you can directly add to the image by using SetPixel()
Understood the anti-aliasing part..
But didn't quite understand your first suggestion..
As for your second suggestion, I figure it doesn't solve the memory problem..
Guess will take a shot at attempting your third suggestion though...
I need some information regarding stack trace of the .net framework.
As we know,when ever an exception occurs some details will be shown in the stack trace.
In my project we have a system to lock the exact exception occured ..
using like this
I am using exception handling (try,catch,finally) in my development.
These details will be stored in some error log folder as files per each day.
My request is ...
1.)In which are the situations we will use stack trace related details in coding.
2.)Can i use the stack trace details for my project scenario more effectively than the existing system. If so pls give me details how can use that.
I have intalled .Net Framework 1.1 With SP1 on my test PC which is Running on Windows XP Home Edition and Windows 2000 Professional. My app crashes with some unknown Exception. I have tried a simple Windows App with just a few default controls it still doesnt work.
Common Language Runtime Debugging Services
Application Has Generated an exception that could not be handled
The test systems did not have .net framework installed prevously. I installed it by running that 23MB framework file only. I even installed the SP1 after the framework installtion. And no.. The test system is isolated, i.e. not connected through any network. I am running it through the local hard drive. What else can be wrong?
I checked the framework version the test system has a has a .001 minor upgrade
and itt is supposed to be backwards compatible
but any how I will try to use the dotnetfx that comes with the VS2003 CD
will get back to you then
If you are that concerned about performance, you really shouldn't be writing code in .NET. It might take a few nanoseconds more to execute one or the other and unless you've identified this to be bottleneck, I'd suggest you go with the one you feel is intuitive and readable.
I want to run mono .NET on sun solaris. but there isn't an installation program on the mono's mainpage. How can i do it? and Can you give me some doucuments or references about how to run mono on solaris. Thanks!!!