public int getAdvanceWidth() { if (!m_glyph.getHead().checkAdvanceWidth()) { setAdvanceWidth(k_halfWidth); } // if return (int) m_glyph.getHead().getAdvanceWidth(); }
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); }
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 }
public String getGlyphTitle() { String retval = ""; retval = m_glyph.getHead().getTitle(); if (retval.equals("empty")) { retval = ""; } // if return retval; }
public String getLicense() { return m_glyph.getHead().getLicense(); }
public void setLicense(String a_value) { m_glyph.getHead().setLicense(a_value); m_history.record("setLicense"); }
protected void setUnicode(String a_unicode) { m_glyph.getHead().setUnicode(a_unicode); m_history.record("setUnicode"); }
public String getUnicodeAsString() { return m_glyph.getHead().getUnicode(); }
public void setGlyphTitle(String a_title) { m_glyph.getHead().setTitle(a_title); m_history.record("setGlyphTitle"); }
public void removeFileVar(int a_index) { m_history.record("removeFileVar"); m_glyph.getHead().getHeadGlobal().removeParamListParam(a_index); }
public void setAdvanceWidth(int a_width) { m_glyph.getHead().setAdvanceWidth(a_width); m_history.record("setAdvanceWidth"); }
public String getCopyrightYear() { return m_glyph.getHead().getCopyright(); }
public void setCopyrightYear(String a_value) { m_glyph.getHead().setCopyright(a_value); m_history.record("setCopyrightYear"); }
public String getAuthor() { return m_glyph.getHead().getAuthor(); }
public void setAuthor(String a_value) { m_glyph.getHead().setAuthor(a_value); m_history.record("setAuthor"); }