TtfHmtxTable
Inheritance: java.lang.Object, com.aspose.font.TtfTableBase
public class TtfHmtxTable extends TtfTableBase
Rappresenta la tabella “hmtx” del file di font TTF.
Metodi
| Metodo | Descrizione |
|---|---|
| equals(Object arg0) | |
| getAdditionalAdvanceWidth() | Nella tabella hmtx potrebbero esserci casi in cui il numero totale di glifi non è uguale a hhea.numberOfHMetrics. |
| getClass() | |
| getHMetrics() | Ottiene le metriche orizzontali. |
| getLeftSidebearings() | Ottiene i left side bearings. |
| getOffset() | Ottiene l’offset dall’inizio di sfnt. |
| getTag() | Ottiene l’etichetta della tabella. |
| getTtfTables() | Riferimento al repository della tabella TTF. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getAdditionalAdvanceWidth()
public int getAdditionalAdvanceWidth()
Nella tabella hmtx potrebbero esserci casi in cui il numero totale di glifi non è uguale a hhea.numberOfHMetrics. Per questi casi la tabella hmtx contiene un array aggiuntivo ’leftSideBearing’ che corrisponde alla proprietà LeftSidebearings. Tuttavia i glifi con indici da hhea.numOfLongHorMetrics a maxp.numGlyphs hanno anche larghezze. E queste larghezze, in conformità alla specifica per la tabella hmtx, hanno i seguenti valori: “Here the advanceWidth is assumed to be the same as the advanceWidth for the last entry above”.
Returns: int - Larghezza di avanzamento aggiuntiva.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getHMetrics()
public TtfHmtxTable.MetricList getHMetrics()
Ottiene le metriche orizzontali.
Returns: MetricList - Horizontal metrics.
getLeftSidebearings()
public short[] getLeftSidebearings()
Ottiene i left side bearings.
Returns: short[] - Left side bearings.
getOffset()
public long getOffset()
Ottiene l’offset dall’inizio di sfnt.
Returns: long - Offset dall’inizio di sfnt.
getTag()
public static String getTag()
Ottiene l’etichetta della tabella.
Returns: java.lang.String - Etichetta della tabella.
getTtfTables()
public TtfTableRepository getTtfTables()
Riferimento al repository della tabella TTF.
Returns: TtfTableRepository - Reference to TTF table repository.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |