manoja328 / avr-project-ide

Automatically exported from code.google.com/p/avr-project-ide
1 stars 1 forks source link

Font problem #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Install
2.Start App
3.Create New Project

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Latest. Win XP SP2/SP3

Please provide any additional information below.
>>>
A Fatal Error Has Occured
...
Message: Die Schriftart Courier New unterstützt den Schnitt Regular nicht.
(Translation: Font Courier New doesn't support Regular style)

Target Site: Void CreateNativeFont()

Stack Trace:    bei System.Drawing.Font.CreateNativeFont()
   bei System.Drawing.Font.Initialize(FontFamily family, Single emSize,
FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   bei System.Drawing.Font.Initialize(String familyName, Single emSize,
FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   bei System.Drawing.Font..ctor(String familyName, Single emSize,
FontStyle style, GraphicsUnit unit, Byte gdiCharSet)
   bei AVRProjectIDE.SerialPortPanel.InitializeComponent()
   bei AVRProjectIDE.SerialPortPanel.InitializeControl()
   bei AVRProjectIDE.SerialPortPanel..ctor(String preferedPortName, Int32
preferedBaudRate)
   bei AVRProjectIDE.IDEWindow..ctor(AVRProject project)
   bei AVRProjectIDE.Program.Main(String[] args)

Source: System.Drawing

Inner Exception: 
<<<

Original issue reported on code.google.com by azieme...@gmail.com on 29 Sep 2009 at 7:11

GoogleCodeExporter commented 9 years ago
Is that German?
I'll see if I can run a German version of WinXP on a VM to check this problem 
out.
This seems to happen with the serial port window because I specified it to use
Courier New instead of the default. The fastest fix would be to go back to 
using the
default font but the serial port window should really use a monospace font.

Original comment by frank.zhao.main@gmail.com on 29 Sep 2009 at 8:15

GoogleCodeExporter commented 9 years ago
Hey, do you have the font courier new?
if you do, can you open up something like word pad and use it without underline,
bold, or italic?

I think I fixed it, I changed the font from using courier new to
System.Drawing.FontFamily.GenericMonospace, maybe this will help.

should be in build 23

Original comment by frank.zhao.main@gmail.com on 29 Sep 2009 at 10:15

GoogleCodeExporter commented 9 years ago

Original comment by frank.zhao.main@gmail.com on 16 Oct 2009 at 7:26