Home All Groups Group Topic Archive Search About

otnet_windows_application

Author
22 Mar 2007 10:29 AM
Karkera
I am in the process of upgrading the old legacy application to dotnet 2005
windows application. This is a graphical windows application with various
shapes and text strings being put on the bitmap and printed. The problem I am
having is, because of the fact that the old legacy system used lots of fonts
with custom widths and weight and since dotnet GDI plus does not allowing
using ‘Non standard fonts’. I am kind of stuck at this point. I do not know
if any of the below would solve the problem or any other suggestions out
there?

1) Create a font using API to GDI and use the Font generated in the dotnet
environment. But when tried this approach I got the error message “Only TTF
fonts supported”. So looks like not possible.
2) Create the equivalent TTF fonts for all legacy fonts used and use them
in dotnet application.
3) Create an ActiveX on VB6 which returns the equivalent bitmap with the
required text and use it in my dotnet application.

But not sure what other options I have.
Any suggestions are greatly appreciated

AddThis Social Bookmark Button