2002-05-22 07:41:06 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* ftbdf.h */
|
|
|
|
/* */
|
|
|
|
/* FreeType API for accessing BDF-specific strings (specification). */
|
|
|
|
/* */
|
|
|
|
/* Copyright 2002 by */
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
|
|
/* */
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */
|
|
|
|
/* modified, and distributed under the terms of the FreeType project */
|
|
|
|
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
|
|
/* this file you indicate that you have read the license and */
|
|
|
|
/* understand and accept it fully. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __FTBDF_H__
|
|
|
|
#define __FTBDF_H__
|
2002-05-21 22:50:53 +02:00
|
|
|
|
|
|
|
#include <ft2build.h>
|
|
|
|
#include FT_FREETYPE_H
|
|
|
|
|
2002-05-22 07:41:06 +02:00
|
|
|
|
2002-05-21 22:50:53 +02:00
|
|
|
FT_BEGIN_HEADER
|
|
|
|
|
2002-05-22 07:41:06 +02:00
|
|
|
|
2002-05-28 22:14:28 +02:00
|
|
|
/*************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* <Section> */
|
|
|
|
/* bdf_fonts */
|
|
|
|
/* */
|
|
|
|
/* <Title> */
|
|
|
|
/* BDF Fonts */
|
|
|
|
/* */
|
|
|
|
/* <Abstract> */
|
|
|
|
/* BDF-specific APIs */
|
|
|
|
/* */
|
|
|
|
/* <Description> */
|
|
|
|
/* This section contains the declaration of BDF-specific functions. */
|
|
|
|
/* */
|
|
|
|
/*************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
|
|
|
*
|
2002-05-29 00:38:05 +02:00
|
|
|
* @function:
|
|
|
|
* FT_Get_BDF_Charset_ID
|
2002-05-28 22:14:28 +02:00
|
|
|
*
|
|
|
|
* @description:
|
2002-05-29 00:38:05 +02:00
|
|
|
* Retrieves a BDF font character set identity, according to
|
|
|
|
* the BDF specification.
|
2002-05-28 22:14:28 +02:00
|
|
|
*
|
|
|
|
* @input:
|
2002-05-29 00:38:05 +02:00
|
|
|
* face ::
|
|
|
|
* handle to input face
|
2002-05-28 22:14:28 +02:00
|
|
|
*
|
|
|
|
* @output:
|
2002-05-29 00:38:05 +02:00
|
|
|
* acharset_encoding ::
|
|
|
|
* Charset encoding, as a C string, owned by the face.
|
|
|
|
*
|
|
|
|
* acharset_registry ::
|
|
|
|
* Charset registry, as a C string, owned by the face.
|
2002-05-28 22:14:28 +02:00
|
|
|
*
|
|
|
|
* @return:
|
2002-05-29 00:38:05 +02:00
|
|
|
* FreeType rror code. 0 means success.
|
2002-05-28 22:14:28 +02:00
|
|
|
*
|
|
|
|
* @note:
|
2002-05-29 00:38:05 +02:00
|
|
|
* This function only works with BDF faces, returning an error otherwise.
|
2002-05-28 22:14:28 +02:00
|
|
|
*/
|
2002-05-21 22:50:53 +02:00
|
|
|
FT_EXPORT( FT_Error )
|
|
|
|
FT_Get_BDF_Charset_ID( FT_Face face,
|
|
|
|
const char* *acharset_encoding,
|
|
|
|
const char* *acharset_registry );
|
|
|
|
|
2002-05-28 22:14:28 +02:00
|
|
|
/* */
|
|
|
|
|
2002-05-21 22:50:53 +02:00
|
|
|
FT_END_HEADER
|
|
|
|
|
2002-05-22 07:41:06 +02:00
|
|
|
#endif /* __FTBDF_H__ */
|
|
|
|
|
|
|
|
|
|
|
|
/* END */
|