Index: src_plugins/io_lihata/read.c =================================================================== --- src_plugins/io_lihata/read.c (revision 36643) +++ src_plugins/io_lihata/read.c (revision 36644) @@ -2707,6 +2707,21 @@ pcb_data_clip_polys(sc->data); } } + else if ((doc->root->type == LHT_LIST) && (strncmp(doc->root->name, "pcb-rnd-font-v", 14) == 0)) { + res = 0; + if (rnd_actionva(&Ptr->hidlib, "loadfontfrom", Filename, "1", NULL) != 0) { + rnd_message(RND_MSG_ERROR, "io_lihata: failed to load font file '%s' for editing\n", Filename); + res = -1; + } + else { + rnd_conf_set(RND_CFR_DESIGN, "design/text_font_id", 0, "1", RND_POL_OVERWRITE); + if (rnd_actionva(&Ptr->hidlib, "fontedit", NULL) != 0) { + rnd_message(RND_MSG_ERROR, "io_lihata: failed to start the font editor\n"); + res = -1; + } + } + + } else { iolht_error(doc->root, "Error loading '%s': neither a board nor a subcircuit\n", Filename); res = -1; @@ -2821,6 +2836,8 @@ *state = TPS_GOOD; else if ((nt == LHT_LIST) && (strncmp(name, "pcb-rnd-subcircuit-v", 20) == 0)) *state = TPS_GOOD; + else if ((nt == LHT_LIST) && (strncmp(name, "pcb-rnd-font-v", 14) == 0)) + *state = TPS_GOOD; else if ((nt == LHT_HASH) && (strncmp(name, "pcb-rnd-padstack-v", 18) == 0)) *state = TPS_GOOD; else