summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-07-24 10:17:56 +0200
committerGrigori Goronzy <greg@blackbox>2009-07-24 15:39:20 +0200
commita40f299a7bd74597bc54cae7264b5a45b9ec11b9 (patch)
treed38437f59b63c64db89da30bf53699fcc8538e0d
parent9d421ddec0a17bb17a77571653f30931b55b7397 (diff)
downloadlibass-a40f299a7bd74597bc54cae7264b5a45b9ec11b9.tar.bz2
libass-a40f299a7bd74597bc54cae7264b5a45b9ec11b9.tar.xz
Document ass_hinting enum
Add a note to the docs regarding hinting method choice.
-rw-r--r--libass/ass.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libass/ass.h b/libass/ass.h
index 3c8c1f6..e243711 100644
--- a/libass/ass.h
+++ b/libass/ass.h
@@ -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,