Skip to content

PARAMETER REFERENCE

Appendix

Supplementary reference covering limitations, preference customization, keyboard/mouse shortcuts, and parameter value ranges.

Limitations ​

ItemLimit Details
Max CharactersFull tiers: Low: 16, Mid: 30, High: 60, and 3D: 30.
Lite tiers: Automatically relaxed to 1.5x of the normal presets (Lite Low: 24, Lite Mid: 45, Lite High: 90, and Lite (3D): 45).
Scripting: 512 characters.
Note: Full and Lite tiers are customizable via preferences.json up to a hard limit of 512 characters.
Max PartsFull tiers: Low: 60, Mid: 84, High: 170, and 3D: 84.
Lite tiers and Scripting: No individual part parameters are defined, so the maximum drawable limit of 1,024 parts is available.
Max ShapesUp to 256 shapes across all presets (declared from Lua via ctx.shapes:declare; does not consume character or part limits).
Preset OptionsThe full 2D presets (Low / Mid / High), Lite 2D presets (Lite Low / Lite Mid / Lite High), Mug Typography 3D, Mug Typography Lite (3D), and Lua-focused Mug Typography Scripting provide nine choices in total. The 3D presets use limits based on Mid.
Individual Settings DisabledLite tiers, including Lite (3D), hide Part Settings and Part selection mode. Scripting hides both Character Settings and Part Settings, along with both selection modes; per-character and per-part values are controlled from Lua.
CompatibilityDue to the split of the alignment parameter into Horizontal Alignment and Vertical Alignment, alignment settings in older projects will be reset. Please re-adjust alignment if necessary.
Background Compositing Limitation (Filters)If rendering switches to CPU mode due to GPU errors or other issues, background compositing will be skipped due to specifications, resulting in only the text being rendered (on a transparent or black background).
Edit Page: Color AlphaDue to DaVinci Resolve specifications, the alpha value (transparency) of color parameters cannot be set in the Edit page. Use the Fusion page if you require transparency.
Edit Page: Keyframe EditorOnly parameters of the currently active page in the Inspector are shown. To set keyframes for parameters on other pages, switch pages accordingly.
Edit Page: Keyframe Curves for 2D ParametersDue to DaVinci Resolve specifications, keyframe curves (such as easing) cannot be adjusted for 2D parameters like Position on the Edit page. If you need to customize animation curves or easing for movement, please use the Fusion page version of the plugin.
Edit Page: Keyframing Split ClipsIf you set keyframes from the plugin (viewer operations, WinAlt+KMacOption+K, etc.) on a clip that has been split (cut) on the Edit page, the keyframes are not placed at the correct positions. This is an issue caused by DaVinci Resolve's behavior and the plugin cannot work around it. For this reason, we recommend not splitting the clip you apply this plugin to.
Fusion Page: Color Shift in Color Managed ProjectsWhen a project's Color Science is set to DaVinci YRGB Color Managed, DaVinci Resolve treats the OFX plugin output on the Fusion page as linear (gamma 1.0) and applies an extra gamma curve when sending it to the viewer or timeline, making midtones look brighter and washed out (standard DaVinci YRGB projects and Edit page generators are unaffected).
When working in a Color Managed project on the Fusion page, insert a Color Space Transform node immediately after this plugin with Input Color Space: Rec.709, Input Gamma: Rec.709, Output Color Space: Rec.709, Output Gamma: Linear, and Pre-Divide/Post-Multiply: ON to restore the intended colors.
TTC Font List ChangeAll faces contained in .ttc files are listed individually in the font list. Projects created with older versions may have shifted font selections if any font listed after a .ttc file was used. If this occurs, please re-select the font in the Inspector.

Customizing Preferences (preferences.json) ​

In Mug Typography, you can customize the plugin's maximum operating limits (maximum characters and maximum parts) by editing the configuration file preferences.json. There are two main reasons to adjust these values:

  • Increasing the character/part limits: If the limits of the existing presets (Low / Mid / High) aren't enough for your text or part count, you can raise the maxCharacters / maxParts values to accommodate it.
  • Reducing load time: Conversely, if you know your text will be short or use few parts, you can lower the limits to reduce loading time. Load time is roughly proportional to "(max characters × number of character parameters) + (max parts × number of part parameters)", so the key to keeping the plugin responsive is not to set the limits higher than you actually need.

File Location ​

The preference file is located in the application data directory of each OS. If the file does not exist, it will be automatically created with default settings upon launching the plugin for the first time.

  • Windows: %APPDATA%\MugLab\MugTypography\preferences.json
    (You can open this folder by entering %APPDATA%\MugLab\MugTypography\ in the Address Bar of Explorer and pressing Enter.)
  • macOS: ~/Library/Application Support/MugLab/MugTypography/preferences.json

Configuration Format ​

The file is written in JSON format. You can customize the maximum characters (maxCharacters) and maximum parts (maxParts) for each preset (Low, Mid, High) by changing their values:

json
{
  "low": {
    "maxCharacters": 16,
    "maxParts": 60
  },
  "mid": {
    "maxCharacters": 30,
    "maxParts": 84
  },
  "high": {
    "maxCharacters": 60,
    "maxParts": 170
  }
}

CAUTION

Risks Associated with Editing Preferences (preferences.json)

Changes made to preferences.json globally affect all projects (including existing ones) in DaVinci Resolve. Please understand the following risks before making any modifications:

  • Lowering the Limit (Data Loss Risk):
    If you lower the maximum limits below the number of characters or parts already used in an existing project, and then open that project, any character or part parameter data exceeding the new lower limit will be permanently lost (truncated). Saving the project in this state will overwrite the data irreversibly. Use extreme caution when lowering limits.
  • Raising the Limit (Performance & Stability Risk):
    Increasing the limits allows you to handle longer text, but significantly increases load time and the time it takes to switch clips (Inspector). Setting limits close to the hard maximums may cause sluggish performance or lead to DaVinci Resolve crashes due to memory exhaustion, depending on your system specifications.

Specifications

  • Maximum Limits:
    maxCharacters (max characters) is up to 512, and maxParts (max parts) is up to 1,024.
  • Out-of-range Values:
    If a value exceeding these limits or a value less than 1 is specified, it will be ignored and automatically return to the default value for the respective preset (e.g., 30 characters / 84 parts for Mid).
  • Max Characters for Lite Presets:
    The maximum character limit for Lite presets (LiteLow / LiteMid / LiteHigh) is automatically increased to 1.5 times (up to 512 characters) the value of maxCharacters configured for the normal presets.
  • 3D Presets:
    3D uses Mid's maxCharacters and maxParts, and Lite 3D uses 1.5 times Mid's maxCharacters. There is no separate 3D limit entry; changing Mid also updates the 3D presets.
  • Scripting Preset: Scripting uses limits of 512 characters and 1,024 parts regardless of the values in preferences.json. Because it defines no individual Character or Part parameters, these higher limits do not increase the number of Inspector controls.

Customizing Shortcuts ​

You can customize some of the shortcut keys (the keycode part excluding modifier keys) used in the preview screen by writing a shortcuts object in the configuration file.

The parameters and default values that can be set are as follows:

Parameter (JSON Key)DescriptionDefault KeyDefault Code (Decimal)
alignHorizontalAlign selected characters horizontallyH72
alignVerticalAlign selected characters verticallyV86
selectGlobalSwitch to Global selection modeA65
selectCharacterSwitch to Character selection modeC67
selectPartSwitch to Part selection modeP80
selectCameraSwitch to Camera selection modeM77
setKeyframeSet keyframes for selected itemsK75
adjustIncreaseIncrease margin or trackingUp (Up Arrow)65362
adjustDecreaseDecrease margin or trackingDown (Down Arrow)65364
clearAlphaMake the selected characters transparent (clear alpha)[91
restoreAlphaRestore the transparency of the selected characters]93
copyRemember the selected character/part as the copy sourceY89
pastePaste the copy source's parameters onto the selectionU85
toggleOutlineToggle the outline (boundary) display ON/OFF;59

Configuration Example ​

json
{
  "low": {
    "maxCharacters": 16,
    "maxParts": 60
  },
  "mid": {
    "maxCharacters": 30,
    "maxParts": 84
  },
  "high": {
    "maxCharacters": 60,
    "maxParts": 170
  },
  "shortcuts": {
    "alignHorizontal": 72,
    "alignVertical": 86,
    "selectGlobal": 65,
    "selectCharacter": 67,
    "selectPart": 80,
    "selectCamera": 77,
    "setKeyframe": 75,
    "adjustIncrease": 65362,
    "adjustDecrease": 65364,
    "clearAlpha": 91,
    "restoreAlpha": 93,
    "copy": 89,
    "paste": 85,
    "toggleOutline": 59
  }
}

Common Keycodes (Decimal) ​

Common keycodes for use in the configuration file are listed below.

  • Alphabets (Uppercase):
    • A to Z: 65 to 90
    • Note: When a letter is specified, it responds to either uppercase or lowercase key input.
  • Numbers:
    • 0 to 9: 48 to 57
  • Function Keys:
    • F1 to F12: 65470 to 65481
    • F13 to F24: 65482 to 65493 (Recommended for mapping to macro keys on custom input devices)
  • Other Special Keys:
    • Space: 32
    • Enter: 65293
    • Escape: 65307
    • Backspace: 65288
    • Delete: 65535
    • Tab: 65289

Keyboard & Mouse Shortcuts ​

Viewer Screen ​

OperationAction
ClickSelect a character/part (switches selection)
DragMove a character/part
Click Selected TargetMove while maintaining multiple selections
Drag Empty AreaMarquee selection (area selection)
WinCtrlMacCommand + Click Selected TargetShow rotation, scale, and pivot handles
WinCtrl+AltMacCommand+Option + Click TargetToggle the target selection in Character / Part mode
WinAltMacOption + Drag Bounding Box EdgeModify Stretch
WinAlt+↑/↓MacOption+↑/↓Increase/decrease in 0.1em units (Global: Tracking / Character: Margin After of selected character)
WinAlt+KMacOption+KSet keyframes for the selected characters/parts (Set Keyframes for Selected)
WinAlt+Ctrl+HMacOption+Command+HAlign selected characters horizontally
WinAlt+Ctrl+VMacOption+Command+VAlign selected characters vertically
WinAlt+Ctrl+AMacOption+Command+ASwitch to Global selection mode
WinAlt+Ctrl+CMacOption+Command+CSwitch to Character selection mode
WinAlt+Ctrl+PMacOption+Command+PSwitch to Part selection mode (disabled in Lite / Scripting)
WinAlt+Ctrl+MMacOption+Command+MSwitch to Camera selection mode (3D / Scripting presets only)
WinAlt+Ctrl+[MacOption+Command+[Make the selected characters transparent (clear alpha) (Character selection mode only)
WinAlt+Ctrl+]MacOption+Command+]Restore the transparency of the selected characters back to the global color (Character selection mode only)
WinAlt+Shift+YMacOption+Shift+YRemember the selected character/part as the copy source (Copy Selection)
WinAlt+Shift+UMacOption+Shift+UPaste the copy source's parameters onto the selection (Paste to Selection)
WinAlt+;MacOption+;Toggle the outline (boundary) display ON/OFF
Drag Orbit Handle in Camera ModeChange Camera Yaw / Pitch (3D / Scripting presets only)
WinAltMacOption + Drag Empty Area in Camera ModeOrbit camera (3D / Scripting presets only)
Drag Target Pad in Camera ModeMove Camera Target (3D / Scripting presets only)
Drag Zoom / Perspective Handle in Camera ModeChange Camera Zoom / Perspective Strength (3D / Scripting presets only)
Drag Empty Area in Camera ModeChange Lens Shift (3D / Scripting presets only)
Hold Shift During Camera DragLock to the axis with greater movement (3D / Scripting presets only)

Note: Only the key portion of the shortcuts (e.g., the "H" in Alt+Ctrl+H or "K" in Alt+K) can be customized by editing the shortcuts block in the preferences.json file. Modifier keys (Alt, Ctrl, etc.) are fixed and cannot be changed.

Parameter Value Ranges ​

ParameterRangeUnit
Position / Pos-1.0 to +1.0 (display) / -10.0 to +10.0 (internal)Canvas Relative
Pivot-1.0 to +1.0 (display) / -10.0 to +10.0 (internal)Canvas Relative
Rotation-360 to +360 (display) / -360000 to +360000 (internal)Degrees
Scale (Global)0.1 to 5.0 (display) / 0.001 to 100.0 (internal)Multiplier
Scale (Character / Part)0.1 to 10.0 (display) / 0.001 to 100.0 (internal)Multiplier
Stretch-10 to +10Multiplier
Global / Character Yaw and Pitch-360.0 to +360.0 (display) / -360000 to +360000 (internal)Degrees
Character / Part Z Offset-0.5 to +0.5 (display) / -1.9 to +10.0 (internal)Relative to Canvas Height
Camera Target / Lens Shift-1.0 to +1.0 (display) / -10.0 to +10.0 (internal)Canvas Relative
Camera Yaw / Pitch-360.0 to +360.0 (display) / -360000 to +360000 (internal)Degrees
Perspective Strength0.0 to 2.0 (display) / 0.0 to 5.0 (internal)Ratio
Camera Zoom0.001 to 10.0 (display) / 0.001 to 100.0 (internal)Multiplier
Tracking-1.0 to +1.0 (display) / -10.0 to +10.0 (internal)em
Line Spacing-2.0 to 3.0 (display) / -10.0 to 10.0 (internal)em
Margin After (em)-1.0 to +1.0 (display) / -10.0 to +10.0 (internal)em
Emoji Offset X / Y-1.0 to +1.0 (display) / -10.0 to +10.0 (internal)em
Emoji Scale0.1 to 3.0 (display) / 0.01 to 10.0 (internal)Multiplier
Stroke Width / Outer Stroke Width0.0 to 0.2 (display) / 0.0 to 10.0 (internal)Font Size Ratio
Stroke Gap0.0 to 0.2 (display) / 0.0 to 10.0 (internal)Font Size Ratio
Stroke Miter Limit1.0 to 20.0 (display) / 1.0 to 100.0 (internal)Ratio
Gradient Midpoint0.0 to 1.0Normalized
Gradient Angle0.0 to 360.0 (display) / -360000 to +360000 (internal)Degrees
Gradient Start / End0.0 to 1.0 (display) / -1.0 to 2.0 (internal)BB Relative
Texture P1 to P50.0 to 1.0 (0.0 to 360.0 for angle slots) (display) / -1000.0 to +1000.0 (internal)Slot-dependent
Shadow Distance0.0 to 0.5 (display) / 0.0 to 10.0 (internal)em (font size ratio)
Shadow Angle-360 to +360 (display) / -360000 to +360000 (internal)Degrees
Text Blur X / Y0.0 to 1.0 (display) / 0.0 to 10.0 (internal)em (font size ratio)
Shadow Blur X / Y0.0 to 1.0 (display) / 0.0 to 10.0 (internal)em (font size ratio)
Text Glow / Shadow Glow0.0 to 1.0 (display) / 0.0 to 10.0 (internal)Ratio
Pulse Amplitude0.0 to 3.0 (display) / 0.0 to 20.0 (internal)Ratio
Trapezoid Amplitude0.0 to 1.0Ratio
Sphere / Barrel Amplitude0.0 to 1.0 (display) / -10.0 to +10.0 (internal)Ratio
Pulse/Sphere/Barrel Range Min / Max-1.0 to 1.0Normalized
Deform Speed (Hz)0.0 to 10.0 (display) / 0.0 to 20.0 (internal)Hz
Deform Step0.0 to 360.0Degrees
Deform Phase0.0 to 360.0 (display) / -360000.0 to +360000.0 (internal)Degrees
Deform Char Phase / Angle-360.0 to +360.0 (display) / -360000.0 to +360000.0 (internal)Degrees
Deform Char Delay-2.0 to +2.0 (display) / -10.0 to +10.0 (internal)Seconds
Hand Drawn Frame Rate1.0 to 30.0 (display) / 0.001 to 120.0 (internal)Times/second
Hand Drawn Wobble Amplitude0.0 to 10.0 (display) / 0.0 to 100.0 (internal)Font Size Relative
Hand Drawn Fine Wobble0.0 to 2.0 (display) / 0.0 to 100.0 (internal)Font Size Relative
Hand Drawn Jitter Amplitude0.0 to 10.0 (display) / 0.0 to 100.0 (internal)Font Size Relative
Hand Drawn Pattern Count1 to 30Count
Border Width0.5 to 500.0% (Font Size Ratio)
Bounding Box Margin X / Y-1500 to +1500% (Font Size Ratio)
Bounding Box Corner Radius0 to 100% (Font Size Ratio)
Bounding Box Border / Fill Offset-1500 to +1500% (Font Size Ratio)

Transform Order ​

2D Presets ​

Global Transform (Position / Rotation / Scale / Stretch)
    ↓ (applied additionally)
Character Transform (Pos / Rotation / Scale / Stretch)
    ↓ (applied additionally)
Part Transform (Pos / Rotation / Scale / Stretch)

3D Presets ​

Character and Part Stretch are unavailable in 3D presets. After accumulating the transforms at each level, the Camera Settings projection is applied.

Global Transform (Position / Rotation / Scale / Stretch / Global Yaw / Pitch)
    ↓ (applied additionally)
Character Transform (Pos / Rotation / Scale / Z Offset / Yaw / Pitch)
    ↓ (applied additionally)
Part Transform (Pos / Rotation / Scale / Z Offset)
    ↓
Projection by Camera Settings

Color Priority ​

Face (Fill) Color:

Part Custom Color (Use Indiv Color)  ← Highest Priority
    ↑ if none
Character Custom Color (Use Indiv Color)
    ↑ if none
Global Font Color (Font Color) / Gradient

Line (Stroke) Color:

Character Custom Stroke Color (Use Indiv Stroke: Stroke Color / Outer Stroke Color)  ← Highest Priority
    ↑ if none
Global Stroke Color (Stroke Color / Outer Stroke Color)

Shadow Color:

Character Custom Shadow Color (Use Indiv Shadow: Shadow Color)  ← Highest Priority
    ↑ if none
Global Shadow Color (Shadow Color)

Uninstallation ​

Delete the folder from the installation directory and restart DaVinci Resolve.

OSInstallation Directory
WindowsC:\Program Files\Common Files\OFX\Plugins\MugTypography.ofx.bundle
macOS/Library/OFX/Plugins/MugTypography.ofx.bundle