support alignment attribute of components
See original GitHub issueComponents in .glyphs source files may contain an alignment
attribute.
There’s no mention about this in the GlyphsFileFormat.md specification.
In my observations, it can take a value of 1
or -1
; and I suppose that when the attribute is missing the value is 0
?
I am not sure what these values do, and how a user can set them from the interface.
I’d be nice if @schriftgestalt could shed some light on this, so we can add support in glyphsLib
.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
HTML align Attribute - GeeksforGeeks
The align Attribute in HTML is used to specify the alignment of text content of The Element. this attribute is used in all...
Read more >Alignment, font styles, and horizontal rules in HTML documents
Deprecated. This attribute specifies the horizontal alignment of its element with respect to the surrounding context. Possible values: left : text lines are ......
Read more >HTML align attribute - HTML tutorials - w3resource
Purpose of the HTML align attribute is to specify the alignment of data and the justification of text in a cell of a...
Read more >Common Type Attributes (Using the GNU Compiler Collection ...
The aligned attribute specifies a minimum alignment (in bytes) for variables of the specified type. When specified, alignment must be a power of...
Read more >align-content - CSS: Cascading Style Sheets - MDN Web Docs
Used alongside an alignment keyword. Regardless of the relative sizes of the item and alignment container and whether overflow which causes data ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll add it to ‘classes.py’
thanks for the clarification. I think we would still like to export this
alignment
data inside a glif’slib
, so that we can roundtrip it when going the other way around.I’m going to keep this open until we do that.
Since the
lib
applies to the glyph as a whole instead of the single component, we would have to store it as a dictionary keyed by the component name.