From 97ba206bed341dc7c915a86531512b1e0617303d Mon Sep 17 00:00:00 2001 From: Nathan Willis Date: Sat, 25 May 2019 12:26:50 +0100 Subject: [PATCH] Usermanual; minor. --- ...al-buffers-language-script-and-direction.xml | 2 +- docs/usermanual-opentype-features.xml | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/usermanual-buffers-language-script-and-direction.xml b/docs/usermanual-buffers-language-script-and-direction.xml index e9585c467..2865426f2 100644 --- a/docs/usermanual-buffers-language-script-and-direction.xml +++ b/docs/usermanual-buffers-language-script-and-direction.xml @@ -215,7 +215,7 @@ bottom-to-top (HB_DIRECTION_BTT). For the script property, HarfBuzz uses identifiers based on the ISO-15924 + url="https://unicode.org/iso15924/">ISO 15924 standard. For languages, HarfBuzz uses tags based on the IETF BCP 47 standard. diff --git a/docs/usermanual-opentype-features.xml b/docs/usermanual-opentype-features.xml index 242ac8e1f..3eedab3d4 100644 --- a/docs/usermanual-opentype-features.xml +++ b/docs/usermanual-opentype-features.xml @@ -66,15 +66,15 @@ The algorithms used for complex scripts can be quite involved; HarfBuzz tries - to be 100% compatible with the OpenType Layout specification + to be compatible with the OpenType Layout specification and, wherever there is any ambiguity, HarfBuzz attempts to replicate the output of Microsoft's Uniscribe engine. See the Microsoft - Typeography pages for more detail. + Typography pages for more detail. - In general, though, all that you need to know if that - hb-shape() returns the results of shaping + In general, though, all that you need to know is that + hb_shape() returns the results of shaping in the same buffer that you provided. The buffer's content type will now be set to HB_BUFFER_CONTENT_TYPE_GLYPHS, indicating @@ -194,7 +194,10 @@ Just like we enabled the dlig feature by setting its value to 1, you would disable a feature by setting its - value to 0. + value to 0. Some + features can take other value settings; + be sure you read the full specification of each feature tag to + understand what it does and how to control it. @@ -212,7 +215,7 @@ mix of tables, or one of the tables might simply be broken for the script you need to shape. So, sometimes, you might not want to rely on HarfBuzz's process for deciding what to do, and - just tell hb-shape what you want it to try. + just tell hb_shape() what you want it to try. hb_shape_full() is an alternate shaping @@ -243,7 +246,7 @@ Internally, HarfBuzz uses a structure called a shape plan to track its decisions about how to shape the contents of a - buffer. The hb-shape function builds up the shape plan by + buffer. The hb_shape() function builds up the shape plan by examining segment properties and by inspecting the contents of the font.