]> granicus.if.org Git - libass/commitdiff
Document ass_hinting enum
authorGrigori Goronzy <greg@blackbox>
Fri, 24 Jul 2009 08:17:56 +0000 (10:17 +0200)
committerGrigori Goronzy <greg@blackbox>
Fri, 24 Jul 2009 13:39:20 +0000 (15:39 +0200)
Add a note to the docs regarding hinting method choice.

libass/ass.h

index 3c8c1f65c20e03f9433b32e6d71b2a99f2ae3144..e2437113756dec9cc3720bcdd1ebb7e550e489e6 100644 (file)
@@ -51,7 +51,13 @@ typedef struct ass_image_s {
     struct ass_image_s *next;   // Next image, or NULL
 } ass_image_t;
 
-/* Hinting type. */
+/*
+ * Hintint type. (see ass_set_hinting below)
+ *
+ * FreeType's native hinter is still buggy sometimes and it is recommended
+ * to use the light autohinter, ASS_HINTING_LIGHT, instead.  For best
+ * compatibility with problematic fonts, disable hinting.
+ */
 typedef enum {
     ASS_HINTING_NONE = 0,
     ASS_HINTING_LIGHT,