Automatic enhancement of paragraph justification

    公开(公告)号:US11822882B2

    公开(公告)日:2023-11-21

    申请号:US17350519

    申请日:2021-06-17

    申请人: Adobe Inc.

    摘要: Embodiments are disclosed for automatic enhancement of paragraph justification. A method includes receiving a selection of at least one paragraph, determining a plurality of penalty values for at least one typographic feature by varying a typographic feature value, the penalty values indicating a deviation from an optimal layout of the at least one paragraph, determining at least one optimal penalty value for the at least one typographic feature, the at least one optimal penalty value corresponding to at least one optimal typographic feature value of the at least one typographic feature, determining a priority for each of the at least one typographic feature based on a plurality of justification rules and the at least one optimal penalty value, and updating the at least one typographic feature of the at least one paragraph based on the priority and the at least one optimal typographic feature value.