# キャンペーンのための信頼されていないフォントの許可

Windowsオペレーティングシステムは、信頼されていないフォントファイルをブロックする機能を提供します。 Nexthinkソフトウェアエージェントは、コンピュータ画面に最適化されたオープンソースのフォントファミリーを使用してキャンペーンテキストをレンダリングします。

<figure><img src="/files/IRvwlYBd1mw66vz2kGbY" alt="" width="544"><figcaption><p>ウェブインターフェースを用いたキャンペーンのプレビュー</p></figcaption></figure>

ウェブインターフェースからのキャンペーンのプレビューは常に正しいフォントを使用します。 キャンペーンが常に公式のフォントファミリーを使用してレンダリングされているかどうか疑う場合：

* デバイスに接続してください。
* `%ProgramData%\Nexthink\Logs\User` フォルダ内のローカルログファイルを開き、`nxtray*.log` というラベルの付いたファイルを探します。ここで、`*` はユーザーSIDと数字の組み合わせを表します。
* `QML FontLoader: Cannot load font:` または類似した行を検索してください。

ログファイルの抜粋を以下に示します：

```
[2023-04-13 17:56:51.160][ 7736][10028][W][`anonymous-namespace'::qtMessageHandler] [Qt] qrc:/qml/Constants.qml:157:39: QML FontLoader: Cannot load font: "qrc:/NotoSans-Regular.ttf"
[2023-04-13 17:56:51.160][ 7736][10028][W][`anonymous-namespace'::qtMessageHandler] [Qt] qrc:/qml/Constants.qml:153:39: QML FontLoader: Cannot load font: "qrc:/NotoSansSC-Regular.otf"
[2023-04-13 17:56:51.160][ 7736][10028][W][`anonymous-namespace'::qtMessageHandler] [Qt] qrc:/qml/Constants.qml:149:39: QML FontLoader: Cannot load font: "qrc:/NotoSansJP-Regular.otf"
```

`nxtray.exe` プロセスが信頼されていないフォントを読み込むことを許可するために：

1. すべてのデバイスに`Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options` にレジストリキーを追加し、それを `nxtray.exe` と名付けます。
2. `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\nxtray.exe` に `MitigationOptions` という名前の新しいQWORD（64ビット）値を追加し、16進数で`2000000000000`を設定します。
3. 変更を適用するためにWindowsを再起動してください。


---

# 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://docs.nexthink.com/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/windows-collector-references/allowing-untrusted-fonts-for-campaigns.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.
