Yotsuba Games
Back to Node List

Text Rasterize

text_rasterize

Final text render node. Rasterizes text or a prebuilt text layout into an image, with optional outline rendering

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
ćƒ¬ć‚¤ć‚¢ć‚¦ćƒˆ
layout
TextLayout
ä»»ę„ć®ćƒ†ć‚­ć‚¹ćƒˆćƒ¬ć‚¤ć‚¢ć‚¦ćƒˆå…„åŠ›ć€‚ęŽ„ē¶šę™‚ćÆćƒ†ć‚­ć‚¹ćƒˆć‚„ćƒ•ć‚©ćƒ³ćƒˆé…ē½®ćƒ‘ćƒ©ćƒ”ćƒ¼ć‚æć‚ˆć‚Šå„Ŗå…ˆć•ć‚Œć¾ć™ć€‚
ćƒ†ć‚­ć‚¹ćƒˆ
text
Text
ä»»ę„ć®ćƒ†ć‚­ć‚¹ćƒˆå…„åŠ›ć€‚ęœŖęŽ„ē¶šę™‚ćÆćƒ†ć‚­ć‚¹ćƒˆćƒ‘ćƒ©ćƒ”ćƒ¼ć‚æć‚’ä½æć„ć¾ć™ć€‚
色
color
Color
ä»»ę„ć®ę–‡å­—č‰²å…„åŠ›ć€‚ęœŖęŽ„ē¶šę™‚ćÆč‰²ćƒ‘ćƒ©ćƒ”ćƒ¼ć‚æć‚’ä½æć„ć¾ć™ć€‚
ē·šč‰²
outline_color
Color
ä»»ę„ć®ē·šč‰²å…„åŠ›ć€‚ęœŖęŽ„ē¶šę™‚ćÆē·šč‰²ćƒ‘ćƒ©ćƒ”ćƒ¼ć‚æć‚’ä½æć„ć¾ć™ć€‚

Output Ports

NameTypeDescription
ē”»åƒ
output
Image
ē”»åƒåŒ–ć•ć‚ŒćŸćƒ†ć‚­ć‚¹ćƒˆ

Parameters

NameTypeDefaultRangeDescription / Options
ćƒ†ć‚­ć‚¹ćƒˆ
text
Text
PixPipeline—

Text å…„åŠ›ćŒęœŖęŽ„ē¶šć®ę™‚ć«ä½æć†ę–‡å­—åˆ—

ćƒ•ć‚©ćƒ³ćƒˆå‚ē…§
source_mode
Enum
SystemFamily—

ę–‡å­—ē”»åƒåŒ–ć«ä½æć†ćƒ•ć‚©ćƒ³ćƒˆć®å‚ē…§ę–¹ę³•

  • ć‚·ć‚¹ćƒ†ćƒ ćƒ•ć‚©ćƒ³ćƒˆSystemFamily
    恓恮 PC ć§ä½æćˆć‚‹ć‚·ć‚¹ćƒ†ćƒ ćƒ•ć‚©ćƒ³ćƒˆć‚’ä½æć„ć¾ć™
  • ćƒ•ć‚©ćƒ³ćƒˆćƒ•ć‚”ć‚¤ćƒ«FontFile
    ćƒ­ćƒ¼ć‚«ćƒ«ć® TTF/OTF/TTC ć‚’äø€ę™‚čŖ­ćæč¾¼ćæć—ć¦ć™ćē”»åƒåŒ–ć—ć¾ć™
ćƒ•ć‚”ćƒŸćƒŖå
family_name
Text
Segoe UI—

ć‚·ć‚¹ćƒ†ćƒ ćƒ•ć‚©ćƒ³ćƒˆåć€‚ćƒ•ć‚©ćƒ³ćƒˆćƒ•ć‚”ć‚¤ćƒ«ä½æē”Øę™‚ćÆä»»ę„ć®ćƒ•ć‚”ćƒŸćƒŖåäøŠę›øććØć—ć¦ć‚‚ä½æćˆć¾ć™ć€‚

ćƒ•ć‚©ćƒ³ćƒˆćƒ•ć‚”ć‚¤ćƒ«
font_path
FilePath
——

ćƒ­ćƒ¼ć‚«ćƒ«ć® TTF / OTF / TTC ćƒ•ć‚”ć‚¤ćƒ«ćƒ‘ć‚¹

ćƒ•ć‚©ćƒ¼ćƒ«ćƒćƒƒć‚Æ
fallback_family
Text
Arial—

ęŒ‡å®šćƒ•ć‚©ćƒ³ćƒˆć‚’ę­£ē¢ŗć«č§£ę±ŗć§ććŖć„ę™‚ć«ä½æć†ćƒ•ć‚©ćƒ¼ćƒ«ćƒćƒƒć‚Æćƒ•ć‚”ćƒŸćƒŖ

文字サイズ
pixel_size
Int
244–256

ćƒ”ć‚Æć‚»ćƒ«å˜ä½ć®ćƒ•ć‚©ćƒ³ćƒˆć‚µć‚¤ć‚ŗ

字間
tracking
Int
0-16–64

ę–‡å­—ć”ćØć«čæ½åŠ ć™ć‚‹å­—é–“

č”Œé€ć‚Š
line_height
Float
10.5–3 / step 0.05

ćƒ•ć‚©ćƒ³ćƒˆćƒ”ćƒˆćƒŖć‚Æć‚¹ć«åÆ¾ć™ć‚‹č”Œé€ć‚Šå€ēŽ‡

余白
padding
Int
20–64

ę–‡å­—ć®ć¾ć‚ć‚Šć«čæ½åŠ ć™ć‚‹é€ę˜Žä½™ē™½

å”—ć‚Šć‚’č”Øē¤ŗ
fill_enabled
Bool
true—

ę–‡å­—ęœ¬ä½“ć®å”—ć‚Šć‚’ęē”»ć™ć‚‹ć‹

ꏃ恈
align
Enum
Left—

č‡Ŗå‹•čØˆē®—ć•ć‚ŒćŸę–‡å­—é ˜åŸŸå†…ć§ć®ęØŖę–¹å‘ęƒćˆ

  • 左寄せLeft
  • 中央寄せCenter
  • å³åÆ„ć›Right
ć‚¢ćƒ³ćƒć‚Øć‚¤ćƒŖć‚¢ć‚¹
antialias
Enum
Gray—

ę–‡å­—ć®ć‚¹ćƒ ćƒ¼ć‚øćƒ³ć‚°ę–¹ę³•

  • ćƒ”ć‚Æć‚»ćƒ«Pixel
    ć‚¢ćƒ³ćƒć‚Øć‚¤ćƒŖć‚¢ć‚¹ć‚’åˆ‡ć£ć¦ē”¬ć„č¼Ŗéƒ­ć§ęē”»ć—ć¾ć™
  • ć‚°ćƒ¬ć‚¤Gray
    ć‚°ćƒ¬ćƒ¼ć‚¹ć‚±ćƒ¼ćƒ«ć®ć‚¢ćƒ³ćƒć‚Øć‚¤ćƒŖć‚¢ć‚¹ć‚’ć‹ć‘ć¦ć‹ć‚‰ć—ćć„å€¤å‡¦ē†ć—ć¾ć™
ć‚¢ć‚¦ćƒˆćƒ©ć‚¤ćƒ³ć‚’č”Øē¤ŗ
outline_enabled
Bool
false—

ę–‡å­—ć®å¤–å“ć«ć‚¢ć‚¦ćƒˆćƒ©ć‚¤ćƒ³ć‚’ęē”»ć™ć‚‹ć‹

ē·šå¹…
outline_width
Int
10–16

ćƒ”ć‚Æć‚»ćƒ«å˜ä½ć®ć‚¢ć‚¦ćƒˆćƒ©ć‚¤ćƒ³å¹…

ē·šč‰²
outline_color
Color
[0,0,0,1]—

ē·šč‰²å…„åŠ›ćŒęœŖęŽ„ē¶šć®ę™‚ć«ä½æć†ć‚¢ć‚¦ćƒˆćƒ©ć‚¤ćƒ³č‰²

ē”¬ć„č¼Ŗéƒ­
crisp_edges
Bool
true—

ć‚ˆć‚Šē”¬ć„ćƒ‰ćƒƒćƒˆč¼Ŗéƒ­ćØč§’å¼µć£ćŸć‚¢ć‚¦ćƒˆćƒ©ć‚¤ćƒ³ę‹”å¼µć‚’å„Ŗå…ˆć—ć¾ć™

ćƒ”ć‚Æć‚»ćƒ«ćƒ‘ćƒ¼ćƒ•ć‚§ć‚Æćƒˆč£œę­£
pp_cleanup
Bool
false—

ē”Ÿęˆå¾Œć®ć‚¢ć‚¦ćƒˆćƒ©ć‚¤ćƒ³ć‹ć‚‰ L å­—ć®ä½™åˆ†ćŖč§’ćƒ”ć‚Æć‚»ćƒ«ć‚’é™¤åŽ»ć—ć¾ć™

č£œę­£ć™ć‚‹å“
pp_cleanup_side
Enum
Outer—

ę–‡å­—ć‚¢ć‚¦ćƒˆćƒ©ć‚¤ćƒ³ć®ć©ć”ć‚‰å“ć«ćƒ”ć‚Æć‚»ćƒ«ćƒ‘ćƒ¼ćƒ•ć‚§ć‚Æćƒˆč£œę­£ć‚’ć‹ć‘ć‚‹ć‹

  • 内偓Inner
    å†…å“ć‚Øćƒƒć‚øć® L å­—ć‚’é™¤åŽ»
  • 外偓Outer
    å¤–å“ć‚Øćƒƒć‚øć® L å­—ć‚’é™¤åŽ»
ć—ćć„å€¤
threshold
Float
0.150–1 / step 0.01

ę–‡å­—ć®ćƒ©ć‚¹ć‚æćƒ©ć‚¤ć‚ŗå¾Œć«é©ē”Øć™ć‚‹ć‚¢ćƒ«ćƒ•ć‚”ć—ćć„å€¤

色
color
Color
[1,1,1,1]—

Color å…„åŠ›ćŒęœŖęŽ„ē¶šć®ę™‚ć«ä½æć†ę–‡å­—č‰²

Overview

The primary text-rendering node that draws text as a pixel-art image. Font, size, fill, and outline are all handled here. It is the endpoint for anything that needs text, including score displays, title logos, and dialogue boxes.

Usage tips

  • The minimal setup is text_input → text_rasterize. For pixel art, disable antialias or binarize with threshold; specifying a bitmap-style font through font_path gives the cleanest result.
  • Route through text_layout only when inserting per-character effects: text_layout → text_reveal_by_glyph, for example, → text_rasterize (layout input).
  • When layout is connected, font parameters are ignored because layout has already resolved them.

Related nodes

  • text_input — supplies the text
  • text_layout / text_reveal_by_glyph / text_animate_by_glyph — per-character effects
  • text_outline — compatibility wrapper with outline defaults
  • pixel_cleanup — cleans artifacts after rasterization

Priority rules

  • When layout is connected, the input TextLayout takes priority for rasterization.
  • In that case, these layout-related parameters are not read:
    • text
    • source_mode
    • family_name
    • font_path
    • fallback_family
    • pixel_size
    • tracking
    • line_height
    • align
  • padding / fill_enabled / antialias / threshold / color remain active with a layout input.
  • Outline parameters beginning with outline_enabled also remain active with a layout input.

Technical details

  • The font binary itself is not embedded in a project, template, or export.
  • A referenced local font is converted to an Image on the spot.
  • SystemFamily lets you choose from fonts installed on the computer.
  • FontFile temporarily loads a local TTF / OTF / TTC and renders it.
  • If the specified font cannot be resolved exactly, the node tries fallback_family.
  • Fill and outline are drawn together at the final glyph placements after reveal or animation on a TextLayout.
  • TextOutline is a compatibility wrapper around the same render engine; Text Rasterize is intended as the canonical final bake.

Examples

[Text Input] -> [Text Rasterize] -> [Preview]
[Color RGB] -> [Text Rasterize]
[Text Input] -> [Text Layout] -> [Text Rasterize] -> [Preview]
[Text Input] -> [Text Layout] -> [Text Animate By Glyph] -> [Text Rasterize] -> [Preview]
[Text Input] -> [Text Layout] -> [Text Rasterize]
[Color RGB] ------------------------------^
[Color RGB] ------------------------------(outline_color)
Back to Node List
Text Rasterize — PixPipeline Node Reference