From 17904a107a6cb6e5ba7999e3b25f38919d7e86e5 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Wed, 26 Aug 2009 13:27:04 -0700 Subject: [PATCH] Document that FT_Get_X11_Font_Format() is a general call. This function was originally added to return the underlying font format in a way which was compatible with the needs of the XFree86 font server. However, a function of this sort is also necessary when freetype is used by PDF interpreters which apply different rules based on the font format. The X11 namespace is confusing for such users. This commit ameliorates that confusion by documenting that this function is in fact entirely internal to freetype and doesn't depend on X11 in any way. --- include/freetype/ftxf86.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/freetype/ftxf86.h b/include/freetype/ftxf86.h index ae9ff076f..8c68afdcc 100644 --- a/include/freetype/ftxf86.h +++ b/include/freetype/ftxf86.h @@ -49,6 +49,9 @@ FT_BEGIN_HEADER /* however, there are special cases (like in PDF devices) where it is */ /* important to differentiate, in spite of FreeType's uniform API. */ /* */ + /* This function is in the X11/xf86 namespace for historical reasons */ + /* and in no way depends on that windowing system. */ + /* */ /*************************************************************************/