... | ... | @@ -216,6 +216,12 @@ please refer to: |
|
|
|
|
|
<http://www.minigui.com/doc-api-ref-minigui-sa-4.0.0/html/group__complex__scripts.html>
|
|
|
|
|
|
Note that, the white space rule, character transformation rule, word breaking rule,
|
|
|
line breaking policy, and layout flags used by the new APIs conform
|
|
|
to the CSS Text Module Level 3 specification:
|
|
|
|
|
|
<https://www.w3.org/TR/css-text-3/>
|
|
|
|
|
|
## Internals
|
|
|
|
|
|
These new APIs provide a very flexible implementation for your apps
|
... | ... | @@ -245,4 +251,21 @@ in the following respects: |
|
|
|
|
|
## Restrictions
|
|
|
|
|
|
The current implementation of `CreateLayout` does not provide the support
|
|
|
for the following layout flags:
|
|
|
|
|
|
- `GRF_HANGING_PUNC_FORCE_END`
|
|
|
- `GRF_HANGING_PUNC_ALLOW_END`
|
|
|
- `GRF_HANGING_PUNC_OPEN`
|
|
|
- `GRF_HANGING_PUNC_CLOSE`
|
|
|
- `GRF_SPACES_KEEP`
|
|
|
- `GRF_SPACES_REMOVE_START`
|
|
|
- `GRF_SPACES_REMOVE_END`
|
|
|
- `GRF_SPACES_HANGE_END`
|
|
|
|
|
|
When you use the basic shaping engine, only `GRF_TEXT_ORIENTATION_UPRIGHT`
|
|
|
flag is supported, and the basic shaping engine can not support scripts
|
|
|
which need to re-position the glyphs, such as Indic, Tibetan. For this
|
|
|
purpose, you must use the complex shaping engine with TrueType/OpenType fonts.
|
|
|
|
|
|
|