Index: src/action.c =================================================================== --- src/action.c (revision 889) +++ src/action.c (revision 890) @@ -6075,7 +6075,7 @@ { if (!PCB->Changed || gui->confirm_dialog (_("OK to override layout data?"), 0)) - LoadPCB (name); + LoadPCB (name, true); } else if (strcasecmp (function, "Netlist") == 0) Index: src/command.c =================================================================== --- src/command.c (revision 889) +++ src/command.c (revision 890) @@ -138,7 +138,7 @@ } if (!PCB->Changed || gui->confirm_dialog ("OK to override layout data?", 0)) - LoadPCB (filename); + LoadPCB (filename, true); free (name); return (0); } Index: src/create.c =================================================================== --- src/create.c (revision 889) +++ src/create.c (revision 890) @@ -220,7 +220,7 @@ old = PCB; PCB = NULL; - if ((LoadPCB(Settings.DefaultPcbFile) == 0) || (LoadPCB(PCB_DEFAULT_PCB_FILE_SRC) == 0)) { + if ((LoadPCB(Settings.DefaultPcbFile, false) == 0) || (LoadPCB(PCB_DEFAULT_PCB_FILE_SRC, false) == 0)) { nw = PCB; if (nw->Filename != NULL) { /* make sure the new PCB doesn't inherit the name of the default pcb */ Index: src/file.c =================================================================== --- src/file.c (revision 889) +++ src/file.c (revision 890) @@ -389,7 +389,7 @@ * to the HID's PCBChanged action. */ static int -real_load_pcb (char *Filename, bool revert) +real_load_pcb (char *Filename, bool revert, bool require_font) { const char *unit_suffix; char *new_filename; @@ -428,7 +428,8 @@ /* enable default font if necessary */ if (!PCB->Font.Valid) { - Message (_ + if (require_font) + Message (_ ("File '%s' has no font information, using default font\n"), new_filename); PCB->Font.Valid = true; @@ -479,9 +480,9 @@ * Load PCB */ int -LoadPCB (char *file) +LoadPCB (char *file, bool require_font) { - return real_load_pcb (file, false); + return real_load_pcb (file, false, require_font); } /* --------------------------------------------------------------------------- @@ -490,7 +491,7 @@ int RevertPCB (void) { - return real_load_pcb (PCB->Filename, true); + return real_load_pcb (PCB->Filename, true, true); } /* --------------------------------------------------------------------------- Index: src/file.h =================================================================== --- src/file.h (revision 889) +++ src/file.h (revision 890) @@ -36,7 +36,7 @@ FILE *CheckAndOpenFile (char *, bool, bool, bool *, bool *); FILE *OpenConnectionDataFile (void); int SavePCB (char *); -int LoadPCB (char *); +int LoadPCB (char *, bool); int RevertPCB (void); void EnableAutosave (void); void Backup (void); Index: src/main.c =================================================================== --- src/main.c (revision 889) +++ src/main.c (revision 890) @@ -1752,7 +1752,7 @@ /* keep filename even if initial load command failed; * file might not exist */ - if (LoadPCB (command_line_pcb)) + if (LoadPCB (command_line_pcb, true)) PCB->Filename = strdup (command_line_pcb); }