示例#1
0
  public int getAdvanceWidth() {
    if (!m_glyph.getHead().checkAdvanceWidth()) {
      setAdvanceWidth(k_halfWidth);
    } // if

    return (int) m_glyph.getHead().getAdvanceWidth();
  }
示例#2
0
  public void addFileVar() {
    XParamListParam param = new XParamListParam();
    param.setName("New parameter");
    param.setContent(0.0);
    m_history.record("addFileVar");

    m_glyph.getHead().getHeadGlobal().addParamListParam(param);
  }
示例#3
0
 private void loadVar() {
   XParamListParam[] params = m_glyph.getHead().getHeadGlobal().getParamListParam();
   int i;
   for (i = 0; i < params.length; i++) {
     XParamListParam param = params[i];
     addVar(param.getName(), param.getContent());
   } // for i
 }
示例#4
0
  public String getGlyphTitle() {
    String retval = "";

    retval = m_glyph.getHead().getTitle();

    if (retval.equals("empty")) {
      retval = "";
    } // if

    return retval;
  }
示例#5
0
 public String getLicense() {
   return m_glyph.getHead().getLicense();
 }
示例#6
0
 public void setLicense(String a_value) {
   m_glyph.getHead().setLicense(a_value);
   m_history.record("setLicense");
 }
示例#7
0
 protected void setUnicode(String a_unicode) {
   m_glyph.getHead().setUnicode(a_unicode);
   m_history.record("setUnicode");
 }
示例#8
0
 public String getUnicodeAsString() {
   return m_glyph.getHead().getUnicode();
 }
示例#9
0
 public void setGlyphTitle(String a_title) {
   m_glyph.getHead().setTitle(a_title);
   m_history.record("setGlyphTitle");
 }
示例#10
0
  public void removeFileVar(int a_index) {
    m_history.record("removeFileVar");

    m_glyph.getHead().getHeadGlobal().removeParamListParam(a_index);
  }
示例#11
0
 public void setAdvanceWidth(int a_width) {
   m_glyph.getHead().setAdvanceWidth(a_width);
   m_history.record("setAdvanceWidth");
 }
示例#12
0
 public String getCopyrightYear() {
   return m_glyph.getHead().getCopyright();
 }
示例#13
0
 public void setCopyrightYear(String a_value) {
   m_glyph.getHead().setCopyright(a_value);
   m_history.record("setCopyrightYear");
 }
示例#14
0
 public String getAuthor() {
   return m_glyph.getHead().getAuthor();
 }
示例#15
0
 public void setAuthor(String a_value) {
   m_glyph.getHead().setAuthor(a_value);
   m_history.record("setAuthor");
 }