Document GlyphInfo::id
This commit is contained in:
parent
7397be3401
commit
90cd178117
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ impl UvRect {
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||||
pub struct GlyphInfo {
|
pub struct GlyphInfo {
|
||||||
|
/// Used for pair-kerning.
|
||||||
|
///
|
||||||
|
/// Doesn't need to be unique.
|
||||||
|
/// Use `ab_glyph::GlyphId(0)` if you just want to have an id, and don't care.
|
||||||
pub(crate) id: ab_glyph::GlyphId,
|
pub(crate) id: ab_glyph::GlyphId,
|
||||||
|
|
||||||
/// Unit: points.
|
/// Unit: points.
|
||||||
|
|
Loading…
Reference in a new issue