Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 465
  • Last Modified:

Winforms Report - Font All Messed Up on one computer.

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
bluem1
Asked:
bluem1
  • 2
1 Solution
 
x77Commented:
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
 
bluem1Author Commented:
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
 
bluem1Author Commented:
Alternate solution, I was never really able to solve core issue but found work around.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now