App:Library:Squareline:docs:dev env:fontmanager

提供: robot-jp wiki
ナビゲーションに移動検索に移動
SquareLineStudio Font.jpg

Font Manager Panel

原文
Use your operation system fonts in your embedded GUI, as well.


LVGL applies UTF-8 encoding to display Unicode characters on any language.


Here, you can generate a new font for your GUI project.


With the font converter tool, you can create C array from any TTF or WOFF font.


You can select ranges of Unicode characters and specify the bpp (bit-per-pixel).

組み込み GUI でも、オペレーティング システムのフォントを使用します。


LVGL は UTF-8 エンコーディングを適用して、任意の言語で Unicode 文字を表示します。


ここでは、GUI プロジェクト用の新しいフォントを生成できます。


フォント コンバータ ツールを使用すると、任意の TTF または WOFF フォントから C 配列を作成できます。


Unicode 文字の範囲を選択し、bpp (ビット/ピクセル) を指定できます。


Create New Font

原文
You can create a new font in the Create New Font section.


Before creating one, you should copy at least one font into the Assets/Fonts folder of the project.


You can generate a new font only from those that are listed in the folder.

[Create New Font] セクションで新しいフォントを作成できます。


フォントを作成する前に、少なくとも 1 つのフォントをプロジェクトの Assets/Fonts フォルダーにコピーする必要があります。


フォルダにリストされているものからのみ、新しいフォントを生成できます。


Font Name

原文
Here, you can name your font. ここで、フォントに名前を付けることができます。


Select Font Asset

原文
You can select the fonts listed in the Assets/Fonts folder from a drop-down menu. Assets/Fonts フォルダーにリストされているフォントをドロップダウン メニューから選択できます。


Font Size

原文
You can define the size of the font. フォントのサイズを定義できます。


Bpp

原文
You can define the blur of letter edges in bit per pixel. 文字のエッジのぼかしを bit/pixel で定義できます。


Letters

原文
Letters in the generated font can be selected from an ASCII character list.

Default setting is that only those letters are included in the generated font which are selected.

生成されたフォントの文字は、ASCII 文字リストから選択できます。

デフォルト設定では、選択された文字のみが生成されたフォントに含まれます。


Range

原文
You can also define custom letter ranges, meaning the ranges and/or characters you would like to include, e.g. 0x20-0x7F, 0x200, 450. カスタムの文字範囲を定義することもできます。これは、含めたい範囲や文字を意味します。 0x20-0x7F、0x200、450。


Symbols

原文
List of characters to include.

E.g. ABC0123ÁÉŐ

含める文字のリスト。

例えば。 ABC0123ÁÉŐ


Font compression

原文
It reduces size but results in slower rendering.

Compression is more effective with larger fonts and higher bpp.

However, it's about 30% slower to render compressed fonts.

Therefore, it's recommended to compress only the largest fonts of a user interface, because

  • they need the most memory,
  • they can be compressed better,
  • and probably they are used less frequently then the medium-sized fonts, so the performance cost is smaller.

Learn more Documentation of LVGL.

サイズは小さくなりますが、レンダリングが遅くなります。

圧縮は、フォントが大きく、bpp が高いほど効果的です。

ただし、圧縮フォントのレンダリングは約 30% 遅くなります。

したがって、ユーザー インターフェイスの最大のフォントのみを圧縮することをお勧めします。

  • 最も多くのメモリを必要とします。
  • よりよく圧縮することができます。
  • おそらく中サイズのフォントよりも使用頻度が低いため、パフォーマンス コストは小さくなります。

詳細はこちら LVGL のドキュメント


Horizontal subpixel rendering

原文


Subpixel rendering allows for tripling the horizontal resolution by rendering anti-aliased edges on Red, Green and Blue channels instead of at pixel level granularity.

This takes advantage of the position of physical color channels of each pixel, resulting in higher quality letter anti-aliasing.

Learn more here.


Subpixel rendering works only if the color channels of the pixels have a horizontal layout. That is the R, G, B channels are next each other and not above each other.

Learn more in the Documentation of LVGL.

If you specify all parameters, you can create your font by clicking on the Create Font button.


サブピクセル レンダリングでは、ピクセル レベルの粒度ではなく、赤、緑、青のチャネルでアンチエイリアス処理されたエッジをレンダリングすることで、水平解像度を 3 倍にすることができます。

これにより、各ピクセルの物理カラー チャネルの位置が利用され、文字のアンチエイリアシングの品質が向上します。

詳しくはこちら。


サブピクセル レンダリングは、ピクセルのカラー チャンネルが水平レイアウトの場合にのみ機能します。 つまり、R、G、B チャンネルは互いに隣り合っており、互いに上ではありません。

詳細については、LVGL のドキュメントを参照してください。

すべてのパラメーターを指定すると、[フォントの作成] ボタンをクリックしてフォントを作成できます。

Created Fonts

原文
You can find your fonts here which you can modify or delete, as well. フォントもここで確認でき、修正や削除も可能です。





戻る : Previous