# PDFフォントファイル設定(オンプレミス版のみ)

## **PDFフォント**

{% hint style="warning" %}
本設定は、オンプレミス版でのみ可能な設定となります。\
クラウド版をご利用の場合は変更できません。
{% endhint %}

ConMas Managerでダウンロードする入力帳票のPDF、自動出力PDFに書き込むテキストのフォントファイルを、サーバー内のフォントファイルをフルパス指定することで変更できます。

<div align="left"><figure><img src="/files/XS1XyHxQ1MYcSYLGXFVB" alt=""><figcaption></figcaption></figure></div>

## **PDFフォントの設定**

設定は、ConMas Managerの「システム管理」 ＞ 「共通マスター管理」にて行います。

* 共通キー　　　“PDF\_SETTING”
* 共通項目名称　“FONT\_FILE\_PATH”
* 共通項目値　　フォントファイルフルパス指定
* ロケール　　　ja-JP=日本語環境  en-US=英語環境 zh-CN=中国語環境　　

<div align="left"><figure><img src="/files/iB5gNCo3Cp0EmselzOLR" alt=""><figcaption></figcaption></figure></div>

## **PDFフォントファイルパスの設定**

フォントファイルをフルパス記述して設定します。

ロケールはブラウザの言語環境を表します。

* 日本語環境は”ja-JP”
* 英語環境は”en-US”
* 中国語環境は”zh-CN”

例えば日本語環境のブラウザで見たときに使用するフォントを変更する場合は、ロケールが”ja-JP”の行を設定します。

<div align="left"><figure><img src="/files/K2UxEHzBMtJky7dyqoGU" alt=""><figcaption></figcaption></figure></div>

{% hint style="success" %}
【補足】\
フォントファイルには、拡張子が”ttc”といったコレクションファイルが存在します。\
このようなファイルの場合末尾に”,0” や “,1”を指定してコレクション内のフォントファイル番号を指定します。

例えば　msgothic.ttc　ファイル内１番目のフォントファイルを指定する場合は以下のように設定します。\
C:\Windows\fonts\msgothic.ttc,1
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manuals.i-reporter.jp/output-the-data/data-output/manager-pdf-font.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
