Text
Finally, a number of properties relate to the appearance and functionality of text in your documents. Not all these properties will always be useful; however, these properties can be of vital importance if you are working with a non-Western language, or for gaining finer control over the flow of text within your documents.
The following examples of text-related properties illustrate the control you can gain over text:
country— This property allows you to specify the country code for the document being defined. The value of the country should be the recognized two character country code.
language— The language property allows you to control the language being used to render the document. This property will not directly affect the character ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access