Add line_breaking_strictness project setting.
This commit is contained in:
@ -1646,6 +1646,14 @@
|
||||
[b]Note:[/b] "ICU / HarfBuzz / Graphite" text server data includes dictionaries for Burmese, Chinese, Japanese, Khmer, Lao and Thai as well as Unicode Standard Annex #29 and Unicode Standard Annex #14 word and line breaking rules. Data is about 4 MB large.
|
||||
[b]Note:[/b] [TextServerFallback] does not use additional data.
|
||||
</member>
|
||||
<member name="internationalization/locale/line_breaking_strictness" type="int" setter="" getter="" default="0">
|
||||
Default strictness of line-breaking rules. Can be overridden by adding [code]@lb={auto,loose,normal,strict}[/code] to the language code.
|
||||
- [b]Auto[/b] ([code]0[/code]) - strictness is based on the length of the line.
|
||||
- [b]Loose[/b] ([code]1[/code]) - the least restrictive set of line-breaking rules. Typically used for short lines.
|
||||
- [b]Normal[/b] ([code]2[/code]) - the most common set of line-breaking rules.
|
||||
- [b]Strict[/b] ([code]3[/code]) - the most stringent set of line-breaking rules.
|
||||
See [url=https://www.w3.org/TR/css-text-3/#line-break-property]Line Breaking Strictness: the line-break property[/url] for more info.
|
||||
</member>
|
||||
<member name="internationalization/locale/test" type="String" setter="" getter="" default="""">
|
||||
If non-empty, this locale will be used instead of the automatically detected system locale.
|
||||
[b]Note:[/b] This setting also applies to the exported project. To only affect testing within the editor, override this setting with an [code]editor[/code] [url=$DOCS_URL/tutorials/export/feature_tags.html]feature tag[/url] for localization testing purposes.
|
||||
|
||||
Reference in New Issue
Block a user