summaryrefslogtreecommitdiff
path: root/include/freetype/ftoutln.h
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2013-09-02 22:08:12 +0200
committerWerner Lemberg <wl@gnu.org>2013-09-02 22:08:12 +0200
commit504f5b4a8d83d21e906aea619b25965b658839fd (patch)
treec144d598bbd3178a091bbb3cbe1438107e01bc07 /include/freetype/ftoutln.h
parent85a7fdf3c6f0403fc4c090161477e4f23d3a0cb8 (diff)
downloadfreetype2-504f5b4a8d83d21e906aea619b25965b658839fd.tar.gz
Fix Savannah bug #39905 (documentation only).
Diffstat (limited to 'include/freetype/ftoutln.h')
-rw-r--r--include/freetype/ftoutln.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/freetype/ftoutln.h b/include/freetype/ftoutln.h
index fd69f2829..92fc34415 100644
--- a/include/freetype/ftoutln.h
+++ b/include/freetype/ftoutln.h
@@ -5,7 +5,7 @@
/* Support for the FT_Outline type used to store glyph shapes of */
/* most scalable font formats (specification). */
/* */
-/* Copyright 1996-2003, 2005-2012 by */
+/* Copyright 1996-2003, 2005-2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -105,6 +105,13 @@ FT_BEGIN_HEADER
/* <Return> */
/* FreeType error code. 0~means success. */
/* */
+ /* <Note> */
+ /* A contour that contains a single point only is represented by a */
+ /* `move to' operation followed by `line to' to the same point. In */
+ /* most cases, it is best to filter this out before using the */
+ /* outline for stroking purposes (otherwise it would result in a */
+ /* visible dot when round caps are used). */
+ /* */
FT_EXPORT( FT_Error )
FT_Outline_Decompose( FT_Outline* outline,
const FT_Outline_Funcs* func_interface,