1\section{FLT API}
2\label{group__m17nFLT}\index{FLT API@{FLT API}}
3libm17n-flt.so �������� API
4\subsection*{�ǡ�����¤}
5\begin{CompactItemize}
6\item
7struct {\bf MFLTGlyph}
8\begin{CompactList}\small\item\em ����դ˴ؤ������η�. \item\end{CompactList}\item
9struct {\bf MFLTGlyphAdjustment}
10\begin{CompactList}\small\item\em ����հ���Ĵ������Τ���η�. \item\end{CompactList}\item
11struct {\bf MFLTGlyphString}
12\begin{CompactList}\small\item\em �������ξ���Τ���η�. \item\end{CompactList}\item
13struct {\bf MFLTOtfSpec}
14\begin{CompactList}\small\item\em GSUB ����� GPOS OpenType �ơ��֥�λ��ͤΤ���η�. \item\end{CompactList}\item
15struct {\bf MFLTFont}
16\begin{CompactList}\small\item\em FLT �ɥ饤�Ф��Ȥ��ե���Ȥη�. \item\end{CompactList}\end{CompactItemize}
17\subsection*{�����}
18\begin{CompactItemize}
19\item
20typedef struct \_\-MFLT {\bf MFLT}
21\begin{CompactList}\small\item\em FLT (Font Layout Table) �η�. \item\end{CompactList}\end{CompactItemize}
22\subsection*{�ؿ�}
23\begin{CompactItemize}
24\item
25{\bf MFLT} $\ast$ {\bf mflt\_\-get} ({\bf MSymbol} name)
26\begin{CompactList}\small\item\em ���ꤵ�줿̾������� FLT ���֥������Ȥ��֤�. \item\end{CompactList}\item
27{\bf MFLT} $\ast$ {\bf mflt\_\-find} (int c, {\bf MFLTFont} $\ast$font)
28\begin{CompactList}\small\item\em ���ꤵ�줿ʸ���ȥե���Ȥ˹�ä� FLT ��õ��. \item\end{CompactList}\item
29const char $\ast$ {\bf mflt\_\-name} ({\bf MFLT} $\ast$flt)
30\begin{CompactList}\small\item\em FLT ��̾�����֤�. \item\end{CompactList}\item
31{\bf MCharTable} $\ast$ {\bf mflt\_\-coverage} ({\bf MFLT} $\ast$flt)
32\begin{CompactList}\small\item\em FLT ���ϰϤ��֤�. \item\end{CompactList}\item
33int {\bf mflt\_\-run} ({\bf MFLTGlyphString} $\ast$gstring, int from, int to, {\bf MFLTFont} $\ast$font, {\bf MFLT} $\ast$flt)
34\begin{CompactList}\small\item\em FLT ��Ȥä�ʸ����쥤�����Ȥ���. \item\end{CompactList}\item
35{\bf MFLT} $\ast$ {\bf mdebug\_\-dump\_\-flt} ({\bf MFLT} $\ast$flt, int indent)
36\end{CompactItemize}
37\subsection*{�ѿ�}
38\begin{CompactItemize}
39\item
40{\bf MSymbol}($\ast$ {\bf mflt\_\-font\_\-id} )(struct \_\-MFLTFont $\ast$font)
41\item
42int($\ast$ {\bf mflt\_\-iterate\_\-otf\_\-feature} )(struct \_\-MFLTFont $\ast$font, {\bf MFLTOtfSpec} $\ast$spec, int from, int to, unsigned char $\ast$table)
43\item
44int($\ast$ {\bf mflt\_\-iterate\_\-otf\_\-feature} )(struct \_\-MFLTFont $\ast$font, {\bf MFLTOtfSpec} $\ast$spec, int from, int to, unsigned char $\ast$table)
45\item
46{\bf MSymbol}($\ast$ {\bf mflt\_\-font\_\-id} )(struct \_\-MFLTFont $\ast$font)
47\end{CompactItemize}
48
49
50\subsection{����}
51libm17n-flt.so �������� API
52
53������ɥ������ƥ�Τ���� FLT ���ݡ���.
54
55���Υ��������Ǥϡ�FLT (Font Layout Table) ���Ѥ���ʸ���쥤�����ȵ�ǽ�˴ؤ��� m17n FLT API ��������롣 FLT �η����� \doxyref{�ե���ȥ쥤�����ȥơ��֥�}{p.}{m17nDBFormat_mdbFLT} �˵��Ҥ���Ƥ��롣
56
57\subsection{�����}
58\index{m17nFLT@{m17nFLT}!MFLT@{MFLT}}
59\index{MFLT@{MFLT}!m17nFLT@{m17nFLT}}
60\subsubsection[MFLT]{\setlength{\rightskip}{0pt plus 5cm}typedef struct \_\-MFLT {\bf MFLT}}\label{group__m17nFLT_g28abba06fa26ca3d9389382261905add}
61
62
63FLT (Font Layout Table) �η�.
64
65�� \doxyref{MFLT}{p.}{group__m17nFLT_g28abba06fa26ca3d9389382261905add} �� FLT ���֥������ȤΤ���η��Ǥ��롣 ����������¤�ϡ����ץꥱ�������ץ���फ��ϱ��ä���Ƥ��롣
66
67\subsection{�ؿ�}
68\index{m17nFLT@{m17nFLT}!mflt\_\-get@{mflt\_\-get}}
69\index{mflt\_\-get@{mflt\_\-get}!m17nFLT@{m17nFLT}}
70\subsubsection[mflt\_\-get]{\setlength{\rightskip}{0pt plus 5cm}{\bf MFLT} $\ast$ mflt\_\-get ({\bf MSymbol} {\em name})}\label{group__m17nFLT_g3f239eb3dc7eb38ba2784959f6be8a9b}
71
72
73���ꤵ�줿̾������� FLT ���֥������Ȥ��֤�.
74
75�ؿ� \doxyref{mflt\_\-get()}{p.}{group__m17nFLT_g3f239eb3dc7eb38ba2784959f6be8a9b} �ϡ�{\bf name} �Ȥ���̾������� FLT ���֥������Ȥ��֤���
76
77\begin{Desc}
78\item[�����:]�⤷��������С�mflt\_\-get() �ϸ��Ĥ��ä� FLT ���֥������ȤؤΥݥ������֤������Ԥ������� {\tt NULL} ���֤��� \end{Desc}
79\index{m17nFLT@{m17nFLT}!mflt\_\-find@{mflt\_\-find}}
80\index{mflt\_\-find@{mflt\_\-find}!m17nFLT@{m17nFLT}}
81\subsubsection[mflt\_\-find]{\setlength{\rightskip}{0pt plus 5cm}{\bf MFLT} $\ast$ mflt\_\-find (int {\em c}, \/  {\bf MFLTFont} $\ast$ {\em font})}\label{group__m17nFLT_gadd34d825776eff1571a6ec1ebf18213}
82
83
84���ꤵ�줿ʸ���ȥե���Ȥ˹�ä� FLT ��õ��.
85
86�ؿ� \doxyref{mflt\_\-find()}{p.}{group__m17nFLT_gadd34d825776eff1571a6ec1ebf18213} �ϡ�ʸ�� {\bf c} ��ե���� {\bf font} �ǥ쥤�����Ȥ��뤿��˺Ǥ�Ŭ�ڤ� FLT ���֤���
87
88\begin{Desc}
89\item[�����:]�⤷��������С�mflt\_\-find() �ϸ��Ĥ��ä� FLT ���֥������ȤؤΥݥ������֤������Ԥ������� {\tt NULL} ���֤��� \end{Desc}
90\index{m17nFLT@{m17nFLT}!mflt\_\-name@{mflt\_\-name}}
91\index{mflt\_\-name@{mflt\_\-name}!m17nFLT@{m17nFLT}}
92\subsubsection[mflt\_\-name]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ mflt\_\-name ({\bf MFLT} $\ast$ {\em flt})}\label{group__m17nFLT_g1a01dd37b3e13e32317694164cb2bae7}
93
94
95FLT ��̾�����֤�.
96
97�ؿ� \doxyref{mflt\_\-name()}{p.}{group__m17nFLT_g1a01dd37b3e13e32317694164cb2bae7} �� {\bf flt} ��̾�����֤��� \index{m17nFLT@{m17nFLT}!mflt\_\-coverage@{mflt\_\-coverage}}
98\index{mflt\_\-coverage@{mflt\_\-coverage}!m17nFLT@{m17nFLT}}
99\subsubsection[mflt\_\-coverage]{\setlength{\rightskip}{0pt plus 5cm}{\bf MCharTable} $\ast$ mflt\_\-coverage ({\bf MFLT} $\ast$ {\em flt})}\label{group__m17nFLT_g6da91edea6065f90515c24fd48455e54}
100
101
102FLT ���ϰϤ��֤�.
103
104�ؿ� \doxyref{mflt\_\-coverage()}{p.}{group__m17nFLT_g6da91edea6065f90515c24fd48455e54} �ϡ�{\bf flt} �����ݡ��Ȥ���ʸ�����Ф��� 0 �Ǥʤ��ͤ�ޤ�ʸ���ơ��֥���֤��� \index{m17nFLT@{m17nFLT}!mflt\_\-run@{mflt\_\-run}}
105\index{mflt\_\-run@{mflt\_\-run}!m17nFLT@{m17nFLT}}
106\subsubsection[mflt\_\-run]{\setlength{\rightskip}{0pt plus 5cm}int mflt\_\-run ({\bf MFLTGlyphString} $\ast$ {\em gstring}, \/  int {\em from}, \/  int {\em to}, \/  {\bf MFLTFont} $\ast$ {\em font}, \/  {\bf MFLT} $\ast$ {\em flt})}\label{group__m17nFLT_gb7bf42cc0f306fb6058ba5d10e79e27d}
107
108
109FLT ��Ȥä�ʸ����쥤�����Ȥ���.
110
111�ؿ� \doxyref{mflt\_\-run()}{p.}{group__m17nFLT_gb7bf42cc0f306fb6058ba5d10e79e27d} �ϡ�{\bf gstring} ��� {\bf from} ���� {\bf to} ľ���ޤǤ�ʸ���� {\bf font} ���Ѥ��ƥ쥤�����Ȥ��롣�⤷ {\bf flt} ������Ǥʤ���С������ͤ��٤Ƥ�ʸ�����Ф����Ѥ��롣 �����Ǥʤ����Ŭ�ڤ� FLT ��ưŪ�������롣
112
113\begin{Desc}
114\item[�����:]
115\begin{description}
116\item[{\em $>$=0}]�¹������������֤�����ͤϡ�{\bf gstring-$>$glyphs} ��ǰ��� {\bf to} �ˤ�äƼ�����Ƥ�������դؤΥ���ǥ����Ǥ��롣\item[{\em -2}]��̤��Ǽ����ˤ� {\bf gstring-$>$glyphs} ��û�����뤳�Ȥ����� �ƤӽФ�¦�ϡ����Ĺ�� {\bf gstring-$>$glyphs} ���Ѥ��ƺ��٤��δؿ���Ƥ֤��Ȥ��Ǥ��롣\item[{\em -1}]����¾�Υ��顼�����������Ȥ����� \end{description}
117\end{Desc}
118\index{m17nFLT@{m17nFLT}!mdebug\_\-dump\_\-flt@{mdebug\_\-dump\_\-flt}}
119\index{mdebug\_\-dump\_\-flt@{mdebug\_\-dump\_\-flt}!m17nFLT@{m17nFLT}}
120\subsubsection[mdebug\_\-dump\_\-flt]{\setlength{\rightskip}{0pt plus 5cm}{\bf MFLT}$\ast$ mdebug\_\-dump\_\-flt ({\bf MFLT} $\ast$ {\em flt}, \/  int {\em indent})}\label{group__m17nFLT_gad4554d5e2eea550061234debdf6f0c8}
121
122
123
124
125\subsection{�ѿ�}
126\index{m17nFLT@{m17nFLT}!mflt\_\-font\_\-id@{mflt\_\-font\_\-id}}
127\index{mflt\_\-font\_\-id@{mflt\_\-font\_\-id}!m17nFLT@{m17nFLT}}
128\subsubsection[mflt\_\-font\_\-id]{\setlength{\rightskip}{0pt plus 5cm}{\bf MSymbol}($\ast$ {\bf mflt\_\-font\_\-id})(struct \_\-MFLTFont $\ast$font)}\label{group__m17nFLT_g34b4a542edc38d30fe6c5fc326b5a987}
129
130
131\index{m17nFLT@{m17nFLT}!mflt\_\-iterate\_\-otf\_\-feature@{mflt\_\-iterate\_\-otf\_\-feature}}
132\index{mflt\_\-iterate\_\-otf\_\-feature@{mflt\_\-iterate\_\-otf\_\-feature}!m17nFLT@{m17nFLT}}
133\subsubsection[mflt\_\-iterate\_\-otf\_\-feature]{\setlength{\rightskip}{0pt plus 5cm}int($\ast$ {\bf mflt\_\-iterate\_\-otf\_\-feature})(struct \_\-MFLTFont $\ast$font, {\bf MFLTOtfSpec} $\ast$spec, int from, int to, unsigned char $\ast$table)}\label{group__m17nFLT_g2286495d42b49ce59cb0730482a89c70}
134
135
136\index{m17nFLT@{m17nFLT}!mflt\_\-iterate\_\-otf\_\-feature@{mflt\_\-iterate\_\-otf\_\-feature}}
137\index{mflt\_\-iterate\_\-otf\_\-feature@{mflt\_\-iterate\_\-otf\_\-feature}!m17nFLT@{m17nFLT}}
138\subsubsection[mflt\_\-iterate\_\-otf\_\-feature]{\setlength{\rightskip}{0pt plus 5cm}int($\ast$ {\bf mflt\_\-iterate\_\-otf\_\-feature})(struct \_\-MFLTFont $\ast$font, {\bf MFLTOtfSpec} $\ast$spec, int from, int to, unsigned char $\ast$table)}\label{group__m17nFLT_g2286495d42b49ce59cb0730482a89c70}
139
140
141\index{m17nFLT@{m17nFLT}!mflt\_\-font\_\-id@{mflt\_\-font\_\-id}}
142\index{mflt\_\-font\_\-id@{mflt\_\-font\_\-id}!m17nFLT@{m17nFLT}}
143\subsubsection[mflt\_\-font\_\-id]{\setlength{\rightskip}{0pt plus 5cm}{\bf MSymbol}($\ast$ {\bf mflt\_\-font\_\-id})(struct \_\-MFLTFont $\ast$font)}\label{group__m17nFLT_g34b4a542edc38d30fe6c5fc326b5a987}
144
145
146