Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!

ComfyUI Node: DP Words

Class Name

DP Words

Category
DP/Text
Author
DesertPixelAi (Account age: 840days)
Extension
ComfyUI-Desert-Pixel-Nodes
Latest Updated
2025-06-22
Github Stars
0.03K

How to Install ComfyUI-Desert-Pixel-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-Desert-Pixel-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Desert-Pixel-Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

DP Words Description

DP Words node generates customizable text images with adjustable font size, kerning, and leading.

DP Words:

The DP Words node is designed to generate text images with customizable formatting options, making it a powerful tool for AI artists looking to incorporate text into their visual creations. This node allows you to specify per-line font size, kerning, and leading through the use of markers embedded within the text. By parsing these markers, the node adjusts the text's appearance dynamically, providing a high degree of control over the final output. This flexibility is particularly beneficial for creating visually appealing text layouts that can be seamlessly integrated into various artistic projects. The node's ability to handle multiple lines of text with different formatting settings makes it an essential component for artists who want to experiment with typography and text-based designs.

DP Words Input Parameters:

font_selection_mode

This parameter determines how the font is selected for rendering the text. It impacts the visual style of the text and can influence the overall aesthetic of the image. The available options and their effects on the text's appearance are not specified in the context, but typically, this could involve choosing between different font styles or weights.

image_width

This parameter specifies the width of the image in which the text will be rendered. It affects how the text is laid out within the image, influencing the line breaks and overall composition. The minimum and maximum values are not provided, but it should be set according to the desired output size.

image_height

Similar to image_width, this parameter defines the height of the image. It plays a crucial role in determining the vertical space available for the text, affecting how many lines can fit and how they are spaced. The exact range of values is not specified, but it should align with the intended design.

font_name

This parameter allows you to select the specific font to be used for rendering the text. The choice of font can significantly impact the mood and readability of the text, making it an important consideration for achieving the desired artistic effect.

font_weight

Font weight determines the thickness of the characters in the text. It can range from light to bold, affecting the emphasis and visual impact of the text. The specific options and their effects are not detailed in the context.

kerning

Kerning adjusts the spacing between individual characters in the text. This parameter allows for fine-tuning the text's appearance, ensuring that the spacing is visually pleasing and consistent. The exact values or range are not specified, but it typically involves small adjustments to improve readability.

leading

Leading controls the vertical spacing between lines of text. It is crucial for managing the overall text layout, especially when dealing with multiple lines. Proper leading ensures that the text is easy to read and aesthetically balanced.

padding_top

This parameter sets the amount of space between the top of the image and the start of the text. It helps in positioning the text within the image, ensuring that it is not too close to the edges.

padding_bottom

Similar to padding_top, this parameter defines the space between the bottom of the text and the bottom edge of the image. It ensures that the text is well-positioned and not cramped at the bottom.

padding_left

Padding_left specifies the space between the left edge of the image and the start of the text. It is important for aligning the text properly within the image.

padding_right

This parameter sets the space between the right edge of the image and the end of the text. It helps in maintaining a balanced layout and prevents the text from being too close to the edge.

align

The align parameter determines the alignment of the text within the image, such as left, center, or right alignment. It affects the overall composition and can be used to create different visual effects.

text

This is the actual text content that will be rendered into the image. It can include markers for font size, kerning, and leading, allowing for dynamic formatting of the text.

DP Words Output Parameters:

info

The info output provides a detailed summary of the text image generated by the node. It includes information about the font used, the number of lines, and the specific formatting applied to each line, such as size, kerning, and leading. This output is valuable for understanding how the text was processed and ensuring that the desired formatting was applied correctly.

DP Words Usage Tips:

  • Experiment with different font sizes, kerning, and leading markers within your text to achieve unique and visually appealing layouts.
  • Use the padding parameters to ensure that your text is well-positioned within the image, avoiding any clipping or awkward spacing.
  • Consider the overall composition of your image when setting the alignment parameter, as it can significantly impact the visual balance of your design.

DP Words Common Errors and Solutions:

Font not found

  • Explanation: This error occurs when the specified font name does not match any available fonts on the system.
  • Solution: Ensure that the font name is spelled correctly and that the font is installed on your system.

Text exceeds image boundaries

  • Explanation: The text may be too large or the image dimensions too small, causing the text to overflow the image boundaries.
  • Solution: Adjust the font size, image dimensions, or padding parameters to ensure the text fits within the image.

Invalid kerning or leading value

  • Explanation: The kerning or leading values may be set outside the acceptable range, causing formatting issues.
  • Solution: Verify that the kerning and leading values are within a reasonable range and adjust them as needed for optimal text appearance.

DP Words Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Desert-Pixel-Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

DP Words