Skip to content

what is the purpose of the derivedchars file? #134

Answered by frankrolf
mbutterick asked this question in Q&A
Discussion options

You must be logged in to vote

The derivedchars file is a means for storing accent positions in relationship to a base glyph. In addition to that, a derivedchars file can also store recipes for composite glyphs, such as IJ

The derivedchars language looks like this:

# simple derived glyph
/En DerivedName
(H) Base
EndDerived

# simple derived glyph with width adjustment
/eight.tosf DerivedName
(eight.osf) 12 0 Base
558 Width
EndDerived

# accented glyph
/ocircumflex DerivedName
(o) Base
(circumflexcmb) AddCentered
EndDerived

# accented glyph with offset
/egrave DerivedName
(e) Base
(gravecmb) 21 0 AddCentered
EndDerived

# adjacent accent
/dcaron DerivedName
(d) Base
(caron.alt) -51 0 AddAdjacent
EndDerived

# flush lef…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by frankrolf
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #84 on November 29, 2023 17:53.