发明名称 Dynamic Text Layout Rules
摘要 A system, method and non-transitory, computer-readable storage medium are disclosed for implementing dynamic layout rules for attributed text strings having different type styles. In some implementations, developers can use an Application Programming Interface (API) or a design tool to specify dynamic text layout rules for rendering attributed text strings in a user interface (UI). Various text attributes associated with the different type styles (e.g., font metrics) are dynamically adjusted based on the dynamic text layout rules to improve the readability of the text when, for example, font sizes are adjusted. In some implementations, one or more parameters of a text container, text container region, line-fragment or display object are dynamically adjusted based on the dynamic text layout rules to improve the readability of the text.
申请公布号 US2015347356(A1) 申请公布日期 2015.12.03
申请号 US201414503209 申请日期 2014.09.30
申请人 Apple Inc. 发明人 Beaver Jason Clay;Cranfill Elizabeth Caroline Furches;Wilson Eric Lance;Graham David Chance;Fortmann Johannes;Gutknecht Olivier;Cavedoni Antonio
分类号 G06F17/21;G09G5/26;G09G5/24 主分类号 G06F17/21
代理机构 代理人
主权项 1. A method comprising: obtaining, by an electronic device, two or more attributed text strings to be rendered in a user interface (UI) for display on a screen of the electronic device, each attributed text string having a type style; dynamically adjusting text layout rules for arranging the attributed text strings in the UI in response to input; and rendering the attributed text strings in the UI according to the type styles and the dynamically adjusted text layout rule.
地址 Cupertino CA US