Lines Matching defs:glyph

36 #include "sp-glyph.h"
37 #include "sp-missing-glyph.h"
39 #include "sp-glyph-kerning.h"
451 // create a new glyph
453 repr = xml_doc->createElement("svg:glyph");
456 os << _("glyph") << " " << count;
457 repr->setAttribute("glyph-name", os.str().c_str());
459 // Append the new glyph node to the current font
486 /* SPGlyph* glyph =*/ new_glyph(doc, get_selected_spfont(), count+1);
488 DocumentUndo::done(doc, SP_VERB_DIALOG_SVG_FONTS, _("Add glyph"));
522 char *msg = _("Select a <b>path</b> to define the curves of a glyph");
535 SPGlyph* glyph = get_selected_glyph();
536 if (!glyph){
537 char *msg = _("No glyph selected in the SVGFonts dialog.");
546 glyph->getRepr()->setAttribute("d", str);
548 DocumentUndo::done(doc, SP_VERB_DIALOG_SVG_FONTS, _("Set glyph curves"));
564 char *msg = _("Select a <b>path</b> to define the curves of a glyph");
587 DocumentUndo::done(doc, SP_VERB_DIALOG_SVG_FONTS, _("Set glyph curves"));
607 DocumentUndo::done(doc, SP_VERB_DIALOG_SVG_FONTS, _("Reset missing-glyph"));
618 SPGlyph* glyph = (*i)[_GlyphsListColumns.glyph_node];
620 glyph->getRepr()->setAttribute("glyph-name", str.c_str());
623 DocumentUndo::done(doc, SP_VERB_DIALOG_SVG_FONTS, _("Edit glyph name"));
632 SPGlyph* glyph = (*i)[_GlyphsListColumns.glyph_node];
634 glyph->getRepr()->setAttribute("unicode", str.c_str());
637 DocumentUndo::done(doc, SP_VERB_DIALOG_SVG_FONTS, _("Set glyph unicode"));
660 SPGlyph* glyph = (*i)[_GlyphsListColumns.glyph_node];
663 sp_repr_unparent(glyph->getRepr());
666 DocumentUndo::done(doc, SP_VERB_DIALOG_SVG_FONTS, _("Remove glyph"));
831 //create a missing glyph
837 //create a missing glyph
839 mg = xml_doc->createElement("svg:missing-glyph");