Solved

Winforms Report - Font All Messed Up on one computer.

Posted on 2011-09-14
3
447 Views
Last Modified: 2013-11-05
Team -

Hope you can help, I am desperate trying to go on vacation for first time in 3 years!

Have a winform program written in vb.net.  Very simple program, running fine on 12 computers.  Now all of a sudden on one of the computers when we go to print a report the fonts are all messed up.  Using basic Arial & Times New Roman.

Fonts work fine in MS Office etc.

I have:
1.  Removed & Reinstalled program
2.  Removed & Reinstalled fonts
3.  Removed & Reinstalled default printer.
4.  Installed alternate printer

All with no luck.

Thanks for the help.

Dewayne
0
Comment
Question by:bluem1
  • 2
3 Comments
 
LVL 15

Expert Comment

by:x77
ID: 36540819
Arial & Times New Roman - are standar fonts, you do´nt need install it.

When mismatch font name then Gdi+ do´nt crash as vb6 do, it select a default font family.

Put some code to allow us detect where program fails.

You can also declare a LOGFONT class and use Font.ToLogFont to Know efective font.
0
 

Accepted Solution

by:
bluem1 earned 0 total points
ID: 36543029
Thanks for your help.

I didn't install the fonts, I did a re-install in case of any corruption issues.  All programs printed fine using the fonts.  

After reinstalling the report viewer, I finally just gave up and did a system restore from a week ago and that seemed to clear it up.

Thanks for your input.
0
 

Author Closing Comment

by:bluem1
ID: 36565430
Alternate solution, I was never really able to solve core issue but found work around.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now