亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? t1driver.c

?? a very goog book
?? C
?? 第 1 頁 / 共 2 頁
字號:
/***************************************************************************//*                                                                         *//*  t1driver.c                                                             *//*                                                                         *//*    Type 1 driver interface (body).                                      *//*                                                                         *//*  Copyright 1996-2001, 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.                                        *//*                                                                         *//***************************************************************************/#include <ft2build.h>#include "t1driver.h"#include "t1gload.h"#include "t1load.h"#include "t1errors.h"#ifndef T1_CONFIG_OPTION_NO_AFM#include "t1afm.h"#endif#include FT_INTERNAL_DEBUG_H#include FT_INTERNAL_STREAM_H#include FT_INTERNAL_POSTSCRIPT_NAMES_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  trace_t1driver  static FT_Error  t1_get_glyph_name( T1_Face     face,                     FT_UInt     glyph_index,                     FT_Pointer  buffer,                     FT_UInt     buffer_max )  {    FT_String*  gname;    gname = face->type1.glyph_names[glyph_index];    if ( buffer_max > 0 )    {      FT_UInt  len = (FT_UInt)( ft_strlen( gname ) );      if (len >= buffer_max)        len = buffer_max - 1;      FT_MEM_COPY( buffer, gname, len );      ((FT_Byte*)buffer)[len] = 0;    }    return T1_Err_Ok;  }  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    t1_get_name_index                                                  */  /*                                                                       */  /* <Description>                                                         */  /*    Uses the Type 1 font's `glyph_names' table to find a given glyph   */  /*    name's glyph index.                                                */  /*                                                                       */  /* <Input>                                                               */  /*    face       :: A handle to the source face object.                  */  /*                                                                       */  /*    glyph_name :: The glyph name.                                      */  /*                                                                       */  /* <Return>                                                              */  /*    Glyph index.  0 means `undefined character code'.                  */  /*                                                                       */  static FT_UInt  t1_get_name_index( T1_Face     face,                     FT_String*  glyph_name )  {    FT_Int      i;    FT_String*  gname;    for ( i = 0; i < face->type1.num_glyphs; i++ )    {      gname = face->type1.glyph_names[i];      if ( !ft_strcmp( glyph_name, gname ) )        return (FT_UInt)i;    }    return 0;  }  static const char*  t1_get_ps_name( T1_Face  face )  {    return (const char*) face->type1.font_name;  }  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    Get_Interface                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    Each driver can provide one or more extensions to the base         */  /*    FreeType API.  These can be used to access format specific         */  /*    features (e.g., all TrueType/OpenType resources share a common     */  /*    file structure and common tables which can be accessed through the */  /*    `sfnt' interface), or more simply generic ones (e.g., the          */  /*    `postscript names' interface which can be used to retrieve the     */  /*     PostScript name of a given glyph index).                          */  /*                                                                       */  /* <InOut>                                                               */  /*    driver       :: A handle to a driver object.                       */  /*                                                                       */  /* <Input>                                                               */  /*    t1_interface :: A string designing the interface.  Examples are    */  /*                    `sfnt', `post_names', `charmaps', etc.             */  /*                                                                       */  /* <Return>                                                              */  /*    A typeless pointer to the extension's interface (normally a table  */  /*    of function pointers).  Returns NULL if the requested extension    */  /*    isn't available (i.e., wasn't compiled in the driver at build      */  /*    time).                                                             */  /*                                                                       */  static FT_Module_Interface  Get_Interface( FT_Driver         driver,                 const FT_String*  t1_interface )  {    FT_UNUSED( driver );    FT_UNUSED( t1_interface );    if ( ft_strcmp( (const char*)t1_interface, "glyph_name" ) == 0 )      return (FT_Module_Interface)t1_get_glyph_name;    if ( ft_strcmp( (const char*)t1_interface, "name_index" ) == 0 )      return (FT_Module_Interface)t1_get_name_index;    if ( ft_strcmp( (const char*)t1_interface, "postscript_name" ) == 0 )      return (FT_Module_Interface)t1_get_ps_name;#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT    if ( ft_strcmp( (const char*)t1_interface, "get_mm" ) == 0 )      return (FT_Module_Interface)T1_Get_Multi_Master;    if ( ft_strcmp( (const char*)t1_interface, "set_mm_design") == 0 )      return (FT_Module_Interface)T1_Set_MM_Design;    if ( ft_strcmp( (const char*)t1_interface, "set_mm_blend") == 0 )      return (FT_Module_Interface)T1_Set_MM_Blend;#endif    return 0;  }#ifndef T1_CONFIG_OPTION_NO_AFM  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    Get_Kerning                                                        */  /*                                                                       */  /* <Description>                                                         */  /*    A driver method used to return the kerning vector between two      */  /*    glyphs of the same face.                                           */  /*                                                                       */  /* <Input>                                                               */  /*    face        :: A handle to the source face object.                 */  /*                                                                       */  /*    left_glyph  :: The index of the left glyph in the kern pair.       */  /*                                                                       */  /*    right_glyph :: The index of the right glyph in the kern pair.      */  /*                                                                       */  /* <Output>                                                              */  /*    kerning     :: The kerning vector.  This is in font units for      */  /*                   scalable formats, and in pixels for fixed-sizes     */  /*                   formats.                                            */  /*                                                                       */  /* <Return>                                                              */  /*    FreeType error code.  0 means success.                             */  /*                                                                       */  /* <Note>                                                                */  /*    Only horizontal layouts (left-to-right & right-to-left) are        */  /*    supported by this function.  Other layouts, or more sophisticated  */  /*    kernings are out of scope of this method (the basic driver         */  /*    interface is meant to be simple).                                  */  /*                                                                       */  /*    They can be implemented by format-specific interfaces.             */  /*                                                                       */  static FT_Error  Get_Kerning( T1_Face     face,               FT_UInt     left_glyph,               FT_UInt     right_glyph,               FT_Vector*  kerning )  {    T1_AFM*  afm;    kerning->x = 0;    kerning->y = 0;    afm = (T1_AFM*)face->afm_data;    if ( afm )      T1_Get_Kerning( afm, left_glyph, right_glyph, kerning );    return T1_Err_Ok;  }#endif /* T1_CONFIG_OPTION_NO_AFM */  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    Get_Char_Index                                                     */  /*                                                                       */  /* <Description>                                                         */  /*    Uses a charmap to return a given character code's glyph index.     */  /*                                                                       */  /* <Input>                                                               */  /*    charmap  :: A handle to the source charmap object.                 */  /*                                                                       */  /*    charcode :: The character code.                                    */  /*                                                                       */  /* <Return>                                                              */  /*    Glyph index.  0 means `undefined character code'.                  */  /*                                                                       */  static FT_UInt  Get_Char_Index( FT_CharMap  charmap,                  FT_Long     charcode )  {    T1_Face          face;    FT_UInt          result = 0;    PSNames_Service  psnames;    face    = (T1_Face)charmap->face;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区午夜视频在线观看| 日韩国产一区二| av不卡一区二区三区| 日本一区二区不卡视频| 成人一区在线观看| 国产欧美视频一区二区三区| 国产一区二区三区四区在线观看| 精品国产污网站| 成人黄页毛片网站| 亚洲精品第一国产综合野| 欧美日韩免费观看一区二区三区| 青青草原综合久久大伊人精品 | 国产一区二区不卡在线| 久久你懂得1024| 99久久免费精品高清特色大片| 亚洲视频在线一区| 欧美日本精品一区二区三区| 日本一不卡视频| 国产欧美综合在线观看第十页 | 韩国成人精品a∨在线观看| 国产亚洲精品bt天堂精选| 色妹子一区二区| 日韩成人精品在线观看| 久久久www成人免费无遮挡大片| 成人18视频日本| 午夜视频在线观看一区二区三区| 日韩久久久精品| 91色综合久久久久婷婷| 美女尤物国产一区| 中文字幕一区二区视频| 91麻豆精品国产91久久久久久久久| 国产精品中文字幕一区二区三区| 亚洲摸摸操操av| 2021中文字幕一区亚洲| 色诱视频网站一区| 久久成人麻豆午夜电影| 亚洲男人天堂av| xvideos.蜜桃一区二区| 在线视频中文字幕一区二区| 激情文学综合丁香| 洋洋成人永久网站入口| 久久人人97超碰com| 欧美日韩国产一二三| 不卡一区二区中文字幕| 久久精品99久久久| 亚洲国产毛片aaaaa无费看| 欧美国产日韩在线观看| 日韩一区和二区| 欧洲国产伦久久久久久久| 成人视屏免费看| 精品一区二区三区不卡| 亚洲国产欧美在线| 中文字幕一区二区三区在线播放 | 欧美大片拔萝卜| 91搞黄在线观看| www.视频一区| 国产精品一区二区无线| 久久99热这里只有精品| 天堂资源在线中文精品| 亚洲免费大片在线观看| 欧美激情一区二区三区不卡| 精品伦理精品一区| 欧美一区二区三区免费观看视频| 色婷婷亚洲婷婷| 99久久99久久精品免费看蜜桃| 国产一区二区免费在线| 精品一区二区三区久久久| 蜜臀99久久精品久久久久久软件| 亚洲一区二区三区不卡国产欧美| 自拍偷拍亚洲欧美日韩| 中文字幕欧美国产| 国产精品无码永久免费888| 久久久青草青青国产亚洲免观| 91精品视频网| 欧美一区二区久久| 7878成人国产在线观看| 欧美一区二区三区思思人| 777亚洲妇女| 日韩午夜在线播放| www亚洲一区| 国产午夜精品久久久久久免费视| 亚洲精品一区二区三区四区高清| 精品黑人一区二区三区久久 | 91国产精品成人| 欧美色图12p| 91精品国产手机| 日韩免费观看高清完整版| 精品少妇一区二区三区日产乱码| 日韩女优制服丝袜电影| 亚洲成人一区在线| 午夜精品久久久久久久久久| 午夜久久久久久电影| 日本成人中文字幕在线视频| 奇米一区二区三区| 国产一区二区三区精品欧美日韩一区二区三区 | 日韩欧美精品三级| 国产亚洲一区二区三区四区| 国产女人水真多18毛片18精品视频| 国产亚洲精品超碰| 亚洲精品视频在线观看网站| 亚洲福利一区二区三区| 免费一区二区视频| 国产福利一区在线| 色综合av在线| 欧美大片拔萝卜| 国产精品视频九色porn| 亚洲一区二区三区三| 久久成人免费日本黄色| 99视频有精品| 91.成人天堂一区| 国产日韩一级二级三级| 亚洲综合一二区| 久久精品国产99| 一本色道综合亚洲| 精品理论电影在线观看| 亚洲婷婷在线视频| 久草精品在线观看| 色婷婷一区二区| 精品国产123| 亚洲一区二区偷拍精品| 精品一区二区免费| 色哟哟精品一区| 精品国产1区2区3区| 一区二区三区在线观看国产| 日本aⅴ精品一区二区三区| 成人久久久精品乱码一区二区三区| 欧美午夜电影在线播放| 精品国产精品网麻豆系列| 亚洲免费在线观看| 国产精品一二三在| 精品婷婷伊人一区三区三| 久久久国产综合精品女国产盗摄| 亚洲国产成人av网| 99国产欧美久久久精品| 精品999在线播放| 亚洲综合精品自拍| 国产成人免费av在线| 欧美精品第1页| 亚洲精品国产品国语在线app| 国产精品一区二区久久精品爱涩| 欧美日韩国产综合草草| 亚洲三级在线免费观看| 国产精品中文字幕欧美| 精品乱人伦小说| 青青草97国产精品免费观看无弹窗版 | 欧美巨大另类极品videosbest | 欧美性感一类影片在线播放| 国产日产欧美一区二区三区 | 国产成+人+日韩+欧美+亚洲| 91精品免费在线| 亚洲午夜私人影院| 色综合久久综合网欧美综合网| 国产清纯在线一区二区www| 激情综合网av| 日韩欧美电影一区| 蜜芽一区二区三区| 欧美一区二区三区视频免费播放| 午夜伦理一区二区| 欧美丰满美乳xxx高潮www| 亚洲一区免费在线观看| 欧美最猛黑人xxxxx猛交| 亚洲精品成人在线| 在线观看一区日韩| 亚洲曰韩产成在线| 欧美在线综合视频| 亚洲国产成人av好男人在线观看| 一本一道综合狠狠老| 亚洲精品中文在线| 欧洲国内综合视频| 午夜亚洲国产au精品一区二区| 欧美丝袜丝nylons| 日韩中文字幕av电影| 91精品中文字幕一区二区三区| 日韩精品久久理论片| 欧美一区二区三区影视| 精品一区二区免费视频| 久久久青草青青国产亚洲免观| 国产夫妻精品视频| 久久www免费人成看片高清| 精品国产乱码久久久久久蜜臀 | 日韩一级二级三级精品视频| 秋霞影院一区二区| 精品国产乱码久久久久久蜜臀 | k8久久久一区二区三区| 亚洲欧美激情视频在线观看一区二区三区| 国产成人日日夜夜| 综合激情成人伊人| 欧美高清视频www夜色资源网| 三级精品在线观看| 久久婷婷色综合| 91欧美激情一区二区三区成人| 有码一区二区三区| 91精品国产综合久久香蕉的特点| 国内精品久久久久影院一蜜桃| 中文字幕成人在线观看| 欧美色男人天堂| 国产一区二区三区四区五区入口| 国产精品国产三级国产有无不卡| 日本精品一区二区三区高清 | 91精品中文字幕一区二区三区|