mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-14 22:35:26 +00:00
type.para, style.paragraph.create and style.paragraph.edit accepted any number for paragraph spacing and justification. They now refuse Space Before, Space After and same-style spacing outside 0 to 15552 pt, word spacing outside 0% to 1000%, letter spacing outside -100% to 500%, glyph scaling outside 50% to 200%, Auto Leading outside 0% to 500%, and a Single Word Justification other than left, center, right or fullyJustified. Each justification row needs Minimum <= Desired <= Maximum over the values the paragraph or style resolves to after the change, including the styles based on an edited style and the paragraphs, table cells and notes that use them. object.textFrameOptions refuses an inset outside 0 to 15552 pt or a list that is not four sides, and a verticalJustification, firstBaseline, autoSize or columnsKind that is not one of its names. These were applied or skipped without an error before. IDML import reads these values as before.