Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
2c853b38
by Werner Lemberg at 2021-08-08T00:22:34+02:00
1 changed file:
Changes:
... | ... | @@ -730,11 +730,16 @@ FT_BEGIN_HEADER |
730 | 730 |
* Same as FT_ENCODING_JOHAB. Deprecated.
|
731 | 731 |
*
|
732 | 732 |
* @note:
|
733 |
- * By default, FreeType enables a Unicode charmap and tags it with
|
|
734 |
- * `FT_ENCODING_UNICODE` when it is either provided or can be generated
|
|
735 |
- * from PostScript glyph name dictionaries in the font file. All other
|
|
736 |
- * encodings are considered legacy and tagged only if explicitly defined
|
|
737 |
- * in the font file. Otherwise, `FT_ENCODING_NONE` is used.
|
|
733 |
+ * When loading a font, FreeType makes a Unicode charmap active if
|
|
734 |
+ * possible (either if the font provides such a charmap, or if FreeType
|
|
735 |
+ * can synthesize one from PostScript glyph name dictionaries; in either
|
|
736 |
+ * case, the charmap is tagged with `FT_ENCODING_UNICODE`). If such a
|
|
737 |
+ * charmap is synthesized, it is placed at the first position of the
|
|
738 |
+ * charmap array.
|
|
739 |
+ *
|
|
740 |
+ * All other encodings are considered legacy and tagged only if
|
|
741 |
+ * explicitly defined in the font file. Otherwise, `FT_ENCODING_NONE` is
|
|
742 |
+ * used.
|
|
738 | 743 |
*
|
739 | 744 |
* `FT_ENCODING_NONE` is set by the BDF and PCF drivers if the charmap is
|
740 | 745 |
* neither Unicode nor ISO-8859-1 (otherwise it is set to
|