Class: Fontisan::Ufo::Compile::FeatureWriters::Mark

Inherits:
MarkFamilyBase show all
Defined in:
lib/fontisan/ufo/compile/feature_writers/mark.rb

Overview

GPOS MarkToBase (lookup type 4) + MarkToLigature (type 5).

Builds mark attachments from the UFO's per-glyph anchors. Pair every mark glyph (one whose anchors include a _<name> entry, e.g. _top) with every base glyph that has the matching non-underscore anchor (e.g. top).

Prerequisite: Fontisan::Ufo::Compile::Filters::PropagateAnchors should have run first so composite glyphs carry their inherited anchors.

Constant Summary collapse

LOOKUP_TYPE =
4
FEATURE_TAG =
"mark"

Instance Attribute Summary

Attributes inherited from Base

#font

Method Summary

Methods inherited from MarkFamilyBase

#write

Methods inherited from Base

#initialize, #write

Constructor Details

This class inherits a constructor from Fontisan::Ufo::Compile::FeatureWriters::Base