Skip to content

Kerning

final class Kerning
Package: dev.joid.tool.msdf.font · Module: tool-msdf · Source: Kerning.java

The kerning pairs of the requested code points, read from the GPOS table or the kern table of a font file.

ReturnsSignatureSummary
Kerningread(FontFile file, Font font, int[] codepoints) factoryReads the kerning of every pair of those code points that the font draws.

ReturnsSignatureSummary
intgetUnitsPerEm()Returns the units per em of the values.
Map<Long,Integer>getKerning()Returns the non-zero kerning of each pair, in font units, by the two code points packed in a long, read-only.

Kerning read(FontFile file, Font font, int[] codepoints) factory

Reads the kerning of every pair of those code points that the font draws.

int getUnitsPerEm()

Returns the units per em of the values.

Map<Long,Integer> getKerning()

Returns the non-zero kerning of each pair, in font units, by the two code points packed in a long, read-only.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page