harfbuzz/docs
David Corbett 91067716f5 Refactor the selection of script and language tags
The old hb-ot-tag.cc functions, `hb_ot_tags_from_script` and
`hb_ot_tag_from_language`, are now wrappers around a new function:
`hb_ot_tags`. It converts a script and a language to arrays of script
tags and language tags. This will make it easier to add new script tags
to scripts, like 'dev3'. It also allows for language fallback chains;
nothing produces more than one language yet though.

Where the old functions return the default tags 'DFLT' and 'dflt',
`hb_ot_tags` returns an empty array. The caller is responsible for
using the default tag in that case.

The new function also adds a new private use subtag syntax for script
overrides: "x-hbscabcd" requests a script tag of 'abcd'.

The old hb-ot-layout.cc functions,`hb_ot_layout_table_choose_script` and
`hb_ot_layout_script_find_language` are now wrappers around the new
functions `hb_ot_layout_table_select_script` and
`hb_ot_layout_script_select_language`. They are essentially the same as
the old ones plus a tag count parameter.

Closes #495.
2018-10-11 13:54:28 -04:00
..
HarfBuzz.png [doc] Optimize HarfBuzz.png; add HarfBuzz.svg 2017-11-21 16:37:04 -08:00
HarfBuzz.svg [doc] Optimize HarfBuzz.png; add HarfBuzz.svg 2017-11-21 16:37:04 -08:00
Makefile.am Minor 2018-01-12 11:37:01 +01:00
harfbuzz-docs.xml [docs] s/Harfbuzz/HarfBuzz/g 2017-11-20 15:07:48 -08:00
harfbuzz-overrides.txt [docs] Move docs/reference/ contents into docs/ 2015-08-31 19:18:10 +01:00
harfbuzz-sections.txt Refactor the selection of script and language tags 2018-10-11 13:54:28 -04:00
usermanual-buffers-language-script-and-direction.xml [docs] s/Harfbuzz/HarfBuzz/g 2017-11-20 15:07:48 -08:00
usermanual-clusters.xml Fix typos. 2018-01-02 13:26:44 -05:00
usermanual-fonts-and-faces.xml [docs] s/Harfbuzz/HarfBuzz/g 2017-11-20 15:07:48 -08:00
usermanual-glyph-information.xml Rename user manual files 2015-12-24 01:52:17 +04:00
usermanual-hello-harfbuzz.xml [docs] s/Harfbuzz/HarfBuzz/g 2017-11-20 15:07:48 -08:00
usermanual-install-harfbuzz.xml Fix typos. 2018-01-02 13:26:44 -05:00
usermanual-opentype-features.xml Rename user manual files 2015-12-24 01:52:17 +04:00
usermanual-what-is-harfbuzz.xml [docs] s/Harfbuzz/HarfBuzz/g 2017-11-20 15:07:48 -08:00
version.xml.in [docs] Move docs/reference/ contents into docs/ 2015-08-31 19:18:10 +01:00