Categories

PDF Typography Playground (PDF排版实验室)

Experiment with typography settings: line height, spacing, alignment, and indentation

This tool allows you to experiment with various typography settings and see the results in real-time: **Font Controls:** - Font size adjustment (8-72pt) - Font weight (normal, bold, light) - Letter spacing (character spacing) - Word spacing adjustments **Layout Controls:** - Line height (1.0-3.0) - Paragraph spacing before/after - Text alignment (left, right, center, justify) - First line indent - Left and right indents **Visual Aids:** - Optional baseline guides - Optional grid overlay - Page border for debugging **Output:** - High-quality PDF with applied typography - Preview of different settings - Useful for learning typography principles

API Documentation

Request Endpoint

POST /en/api/tools/pdf-typography-playground

Request Parameters

Parameter Name Type Required Description
content textarea Yes -
fontSize number No -
fontWeight select No -
lineHeight number No -
paragraphSpacingBefore number No -
paragraphSpacingAfter number No -
textAlign select No -
firstLineIndent number No -
leftIndent number No -
rightIndent number No -
letterSpacing number No -
wordSpacing number No -
showBaseline checkbox No -
showGrid checkbox No -
showBorder checkbox No -
showHeader checkbox No -
headerText text No -
headerAlignment select No -
showFooter checkbox No -
footerText text No -
footerAlignment select No -

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-typography-playground": {
      "name": "pdf-typography-playground",
      "description": "Experiment with typography settings: line height, spacing, alignment, and indentation",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-typography-playground",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]