예제 #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");
 }