Edit root DOC fonts, metrics and encoded text
gdf_text_format_editEdit free root DOC text in GDF6 or SYM2-6 by adding or changing text, fonts, and metrics using built-in or Windows fonts with explicit width/height and Windows-936 Chinese encoding.
Instructions
Create/change only free root DOC text in GDF6 or standalone SYM2..6. Choose built-in font0..3 or Windows font face,size with explicit width/height. Exact reversible Windows-936 encoding supports Chinese bytes; Chinese requires Windows font. Preserves electrical labels, shared definitions and opaque tails. Verify glyphs with original editor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"expectedSha256": "<expectedSha256>",
"operations": "<operations>"
},
"name": "gdf_text_format_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path within the scope. | |
| confirm | No | Apply when true; default preview with no write. | |
| project | No | Existing ACF whose directory scopes the files. | |
| workspace | No | Workspace when no project is supplied. | |
| operations | Yes | Ordered changes use original offsets. Only free root DOC text is writable. | |
| expectedSha256 | Yes | Current full SHA-256 from fresh file inspection. |