godot/thirdparty/freetype/src/winfonts/winfnt.c

/****************************************************************************
 *
 * winfnt.c
 *
 *   FreeType font driver for Windows FNT/FON files
 *
 * Copyright (C) 1996-2023 by
 * David Turner, Robert Wilhelm, and Werner Lemberg.
 * Copyright 2003 Huw D M Davies for Codeweavers
 * Copyright 2007 Dmitry Timoshkov for Codeweavers
 *
 * 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.
 *
 */


#include <freetype/ftwinfnt.h>
#include <freetype/internal/ftdebug.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/ftobjs.h>
#include <freetype/ttnameid.h>

#include "winfnt.h"
#include "fnterrs.h"
#include <freetype/internal/services/svwinfnt.h>
#include <freetype/internal/services/svfntfmt.h>

  /**************************************************************************
   *
   * The macro FT_COMPONENT is used in trace mode.  It is an implicit
   * parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log
   * messages during execution.
   */
#undef  FT_COMPONENT
#define FT_COMPONENT


  static const FT_Frame_Field  winmz_header_fields[] =;

  static const FT_Frame_Field  winne_header_fields[] =;

  static const FT_Frame_Field  winpe32_header_fields[] =;

  static const FT_Frame_Field  winpe32_section_fields[] =;

  static const FT_Frame_Field  winpe_rsrc_dir_fields[] =;

  static const FT_Frame_Field  winpe_rsrc_dir_entry_fields[] =;

  static const FT_Frame_Field  winpe_rsrc_data_entry_fields[] =;

  static const FT_Frame_Field  winfnt_header_fields[] =;


  static void
  fnt_font_done( FNT_Face face )
  {}


  static FT_Error
  fnt_font_load( FNT_Font   font,
                 FT_Stream  stream )
  {}


  static FT_Error
  fnt_face_get_dll_font( FNT_Face  face,
                         FT_Int    face_instance_index )
  {}


  FNT_CMap;


  static FT_Error
  fnt_cmap_init( FT_CMap     cmap,     /* FNT_CMap */
                 FT_Pointer  pointer )
  {}


  static FT_UInt
  fnt_cmap_char_index( FT_CMap    cmap,       /* FNT_CMap */
                       FT_UInt32  char_code )
  {}


  static FT_UInt
  fnt_cmap_char_next( FT_CMap     cmap,        /* FNT_CMap */
                      FT_UInt32  *pchar_code )
  {}


  static const FT_CMap_ClassRec  fnt_cmap_class_rec =;

  static FT_CMap_Class const  fnt_cmap_class =;


  static void
  FNT_Face_Done( FT_Face  fntface )       /* FNT_Face */
  {}


  static FT_Error
  FNT_Face_Init( FT_Stream      stream,
                 FT_Face        fntface,        /* FNT_Face */
                 FT_Int         face_instance_index,
                 FT_Int         num_params,
                 FT_Parameter*  params )
  {}


  static FT_Error
  FNT_Size_Select( FT_Size   size,
                   FT_ULong  strike_index )
  {}


  static FT_Error
  FNT_Size_Request( FT_Size          size,
                    FT_Size_Request  req )
  {}


  static FT_Error
  FNT_Load_Glyph( FT_GlyphSlot  slot,
                  FT_Size       size,
                  FT_UInt       glyph_index,
                  FT_Int32      load_flags )
  {}


  static FT_Error
  winfnt_get_header( FT_Face               face,
                     FT_WinFNT_HeaderRec  *aheader )
  {}


  static const FT_Service_WinFntRec  winfnt_service_rec =;

  /*
   * SERVICE LIST
   *
   */

  static const FT_ServiceDescRec  winfnt_services[] =;


  static FT_Module_Interface
  winfnt_get_service( FT_Module         module,
                      const FT_String*  service_id )
  {}




  FT_CALLBACK_TABLE_DEF
  const FT_Driver_ClassRec  winfnt_driver_class =;


/* END */