Class FontMetadata

java.lang.Object
com.imyeyu.font.icon.model.FontMetadata

public class FontMetadata extends Object

字体标准元数据

字段主要写入或读取自 TrueType name 表和 OS/2 表,包括版权、版本、设计师、许可文本和嵌入限制

Since:
2026-07-13 16:26
Author:
Codex
  • Constructor Details

    • FontMetadata

      public FontMetadata()
  • Method Details

    • defaults

      public static FontMetadata defaults(String family)
      返回指定字体族的默认元数据
    • getFamily

      public String getFamily()
    • getSubfamily

      public String getSubfamily()
    • getFullName

      public String getFullName()
    • getPostScriptName

      public String getPostScriptName()
    • getUniqueIdentifier

      public String getUniqueIdentifier()
    • getVersion

      public String getVersion()
    • getCopyright

      public String getCopyright()
    • getTrademark

      public String getTrademark()
    • getManufacturer

      public String getManufacturer()
    • getDesigner

      public String getDesigner()
    • getDescription

      public String getDescription()
    • getVendorUrl

      public String getVendorUrl()
    • getDesignerUrl

      public String getDesignerUrl()
    • getLicense

      public String getLicense()
    • getLicenseUrl

      public String getLicenseUrl()
    • getVendorId

      public String getVendorId()
    • getWeightClass

      public int getWeightClass()
    • getWidthClass

      public int getWidthClass()
    • getEmbeddingRestrictions

      public FontEmbeddingRestrictions getEmbeddingRestrictions()
    • setFamily

      public void setFamily(String family)
    • setSubfamily

      public void setSubfamily(String subfamily)
    • setFullName

      public void setFullName(String fullName)
    • setPostScriptName

      public void setPostScriptName(String postScriptName)
    • setUniqueIdentifier

      public void setUniqueIdentifier(String uniqueIdentifier)
    • setVersion

      public void setVersion(String version)
    • setCopyright

      public void setCopyright(String copyright)
    • setTrademark

      public void setTrademark(String trademark)
    • setManufacturer

      public void setManufacturer(String manufacturer)
    • setDesigner

      public void setDesigner(String designer)
    • setDescription

      public void setDescription(String description)
    • setVendorUrl

      public void setVendorUrl(String vendorUrl)
    • setDesignerUrl

      public void setDesignerUrl(String designerUrl)
    • setLicense

      public void setLicense(String license)
    • setLicenseUrl

      public void setLicenseUrl(String licenseUrl)
    • setVendorId

      public void setVendorId(String vendorId)
    • setWeightClass

      public void setWeightClass(int weightClass)
    • setWidthClass

      public void setWidthClass(int widthClass)
    • setEmbeddingRestrictions

      public void setEmbeddingRestrictions(FontEmbeddingRestrictions embeddingRestrictions)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object