> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CustomFontSet オブジェクト (ICustomFontSet インターフェイス)

> ABBYY FineReader Engine API の CustomFontSet オブジェクト (ICustomFontSet インターフェイス) — 文書合成時に使用される、ユーザー指定のフォントセット (システムフォントに加えて) へのアクセスを提供します。事前定義フォントフィルターとカスタムフォントフィルターをサポートします。

このオブジェクトを使用すると、ユーザーが指定したフォントセットにアクセスできます。システムに登録されているフォントに加えて必要なフォントがある場合は、それらをフォルダーに保存し、そのフォルダーのパスを指定するだけで追加できます。

事前定義フィルターと独自のフィルターの両方を使用して、これらのフォントのサブセットを選択できます。事前定義フィルターとカスタムフィルターの優先度は同じです。両方を設定した場合は、指定したフォルダー内のフォントのうち、いずれか 1 つ以上のフィルター条件に一致するものが、文書合成用のフォントセットに追加されます。

<div id="properties">
  ## プロパティ
</div>

| 名前                    | 型                                                                                                                                                                                                                | 説明                                                                                                                                                                                                                            |                  |                                                                                                                                                  |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Application           | [Engine](/ja/fine-reader/engine/api-reference/engine-object-iengine-interface), [読み取り専用](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties) | Engine オブジェクトを返します。                                                                                                                                                                                                           |                  |                                                                                                                                                  |
| Folder                | [BSTR](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                                                                       | カスタムフォントセットが格納されているフォルダーを指定します。                                                                                                                                                                                               |                  |                                                                                                                                                  |
| FontNamesCustomFilter | [BSTR](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                                                                       | フォントファミリー名のカスタムフィルターを指定します。このプロパティには、複数のフォントファミリー名をコンマ区切りで指定できます。たとえば、"Arial,Times New Roman" です。既定では、このプロパティの値は空文字列です。                                                                                                       |                  |                                                                                                                                                  |
| FontNamesFilter       | [int](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                                                                        | フォントファミリー名のフィルターを指定します。このプロパティでは、事前定義されたフォントファミリー名フィルターを 1 つまたは複数選択できます。このプロパティの値は、[FontNamesFiltersEnum](/ja/fine-reader/engine/api-reference/enumerations/fontnamesfiltersenum) フラグのビット単位の OR の組み合わせです。たとえば、FNF\_Chinese \\ | FNF\_Japanese \\ | FNF\_Korean を指定できます。これは、文書合成時に中国語、日本語、韓国語に適したフォントファミリーが使用されることを意味します。既定では、このプロパティの値は FNF\_All です。これは、カスタムセット内のすべてのフォントファミリーを文書合成時に使用できることを意味します。 |

<div id="related-objects">
  ## 関連オブジェクト
</div>

<img src="https://mintcdn.com/abbyy/6udH-pkk8zkVafYH/images/fine-reader/engine/customfontset.gif?s=425b26f85c33fcdac11666e53175ebb6" alt="CustomFontSet" width="193" height="84" data-path="images/fine-reader/engine/customfontset.gif" />[](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/fontset#customfontset)[](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/fontset)[](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/synthesisparamsfordocument)

[オブジェクト図](/ja/fine-reader/engine/api-reference/object-diagram)

<div id="see-also">
  ## 関連項目
</div>

[FontSet](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/fontset)

[SystemFontSet](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/systemfontset)

[プロパティ の使用](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
