Minor doc fixes

This commit is contained in:
Behdad Esfahbod 2012-03-06 20:47:50 -05:00
parent 406044986a
commit c346671b6b
1 changed files with 6 additions and 4 deletions

View File

@ -34,8 +34,10 @@
* This file exports one main function: _hb_ot_shape_normalize(). * This file exports one main function: _hb_ot_shape_normalize().
* *
* This function closely reflects the Unicode Normalization Algorithm, * This function closely reflects the Unicode Normalization Algorithm,
* yet it's different. The shaper an either prefer decomposed (NFD) or * yet it's different.
* composed (NFC). *
* Each shaper specifies whether it prefers decomposed (NFD) or composed (NFC).
* The logic however tries to use whatever the font can support.
* *
* In general what happens is that: each grapheme is decomposed in a chain * In general what happens is that: each grapheme is decomposed in a chain
* of 1:2 decompositions, marks reordered, and then recomposed if desired, * of 1:2 decompositions, marks reordered, and then recomposed if desired,
@ -56,8 +58,8 @@
* which typically has better mark positioning. * which typically has better mark positioning.
* *
* - When a font does not support a combining mark, but supports it precomposed * - When a font does not support a combining mark, but supports it precomposed
* with previous base. This needs the itemizer to have this knowledge too. * with previous base, use that. This needs the itemizer to have this
* We need ot provide assistance to the itemizer. * knowledge too. We need ot provide assistance to the itemizer.
* *
* - When a font does not support a character but supports its decomposition, * - When a font does not support a character but supports its decomposition,
* well, use the decomposition. * well, use the decomposition.