Menu

Fatal Error - Font 'Microsoft Sans Serif'...

Help
Caco Fonix
2009-09-10
2012-11-19
  • Caco Fonix

    Caco Fonix - 2009-09-10

    Please help.  Am getting following message (copied to clipboard) when I start v2.08

    Font 'Microsoft Sans Serif' does not support style 'Regular'.
    System.Drawing
       at System.Drawing.Font.CreateNativeFont()
       at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
       at System.Drawing.Font..ctor(FontFamily family, Single emSize)
       at System.Drawing.SystemFonts.get_DefaultFont()
       at System.Drawing.SystemFonts.get_MenuFont()
       at System.Windows.Forms.ToolStripManager.get_DefaultFont()
       at System.Windows.Forms.ToolStripItem.get_Font()
       at System.Windows.Forms.ToolStripItemInternalLayout.CommonLayoutOptions()
       at System.Windows.Forms.ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.CommonLayoutOptions()
       at System.Windows.Forms.ToolStripItemInternalLayout.GetLayoutData()
       at System.Windows.Forms.ToolStripItemInternalLayout.PerformLayout()
       at System.Windows.Forms.ToolStripItem.OnBoundsChanged()
       at System.Windows.Forms.ToolStripDropDownItem.OnBoundsChanged()
       at System.Windows.Forms.ToolStripItem.SetBounds(Rectangle bounds)
       at System.Windows.Forms.ToolStripOverflowButton.SetBounds(Rectangle bounds)
       at System.Windows.Forms.ToolStripItem.set_Size(Size value)
       at System.Windows.Forms.ToolStrip.get_OverflowButton()
       at System.Windows.Forms.ToolStripSplitStackLayout.get_OverflowButtonSize()
       at System.Windows.Forms.ToolStripSplitStackLayout.LayoutHorizontal()
       at System.Windows.Forms.ToolStripSplitStackLayout.LayoutCore(IArrangedElement container, LayoutEventArgs layoutEventArgs)
       at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
       at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
       at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
       at System.Windows.Forms.ToolStrip.OnLayout(LayoutEventArgs e)
       at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       at System.Windows.Forms.Control.PerformLayout()
       at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       at System.Windows.Forms.ToolStrip..ctor()
       at System.Windows.Forms.MenuStrip..ctor()
       at KeePass.UI.CustomMenuStripEx..ctor()
       at KeePass.Forms.MainForm.InitializeComponent()
       at KeePass.Forms.MainForm..ctor()
       at KeePass.Program.Main(String[] args)
    Void CreateNativeFont()

     
    • Web-Crawling Stickler

      Are you on Windows or Mono?

      If on Windows, try opening the font file (in %windir%\fonts) and ensuring it functions correctly; also try creating a Word document or similar with that font. If you get errors during these tests, there's probably something wrong with the font file.

      Does this happen every time you start KeePass, and if so, have you tried restarting?

       
    • Caco Fonix

      Caco Fonix - 2009-09-10

      micross.ttf works fine.

      Works fine in MS Word

      Everytime starting yesterday.  Used to work fine before.

      Have restarted multiple times.  Only option to obtain my passwords is to run it on a different computer  and reading in my key file.

       
    • Caco Fonix

      Caco Fonix - 2009-09-11

      micross.ttf works fine.

      Works fine in MS Word

      Everytime starting yesterday.  Used to work fine before.

      Have restarted multiple times.  Only option to obtain my passwords is to run it on a different computer  and reading in my key file.

       
    • Paul

      Paul - 2009-09-11

      What about SSERIFE.FON (MS Sans Serif)?

      cheers, Paul

       
    • Web-Crawling Stickler

      I suggest you post your config file (http://keepass.info/help/base/configuration.html). There might be something peculiar in it.

      Alternatively, there might be something subtly wrong with the font installation, but I'm not sure how else to pin that down.

      You might try uninstalling and reinstalling KeePass, making sure to try it with a fresh config file before restoring your settings.

       
  • Caco Fonix

    Caco Fonix - 2009-09-12

    SSERIFE.FON is fine.

    I can fire up keepass if I login as a different user and use the portable version and unzip it to a directory.  However, If I login as admin and start keepass in the same directory it crashes.  Should this not imply that something is wrong in the Registry.

     
  • Web-Crawling Stickler

    Actually, I would suspect more of a problem in the config file, not the registry; for one thing, KeePass Portable uses a different config file than the installed version, and for another, no version or edition of KeePass uses the registry for anything (it's unlikely that the registry is at fault in any other way, as you reported that other applications can use that font properly).

    Try renaming your existing config and letting KeePass recreate it. That might well clear up the problems. Alternatively, just use Portable the rest of your natural life, as it seems to work for you ;-).

     
  • Caco Fonix

    Caco Fonix - 2009-09-16

    w-c_stickler …..re:  Alternatively, just use Portable the rest of your natural life, as it seems to work for you ;-).

    That is the problem KeePass portable does not work under my admin ID.  I can make it work if I switch users and login under another userID.  But under my admin ID I get the fatal error.

     
  • Paul

    Paul - 2009-09-16

    Try the non portable version. Download the zip file and extract it to a folder. Then double click on KeePass.exe.

    Alternatively, search your disk for files called KeePass.config.xml and delete/rename them.

    cheers, Paul

     

Log in to post a comment.

MongoDB Logo MongoDB