github.com/pdfcpu/pdfcpu@v0.11.1/pkg/testdata/json/create/flow/updatePage1.json (about)

     1  {
     2  	"paper": "A4P",
     3  	"crop": "10",
     4  	"origin": "LowerLeft",
     5  	"debug": false,
     6  	"contentBox": false,
     7  	"guides": false,
     8  	"colors": {
     9  		"DarkOrange": "#FF8C00"
    10  	},
    11  	"fonts": {
    12  		"myCourier": {
    13  			"name": "Courier",
    14  			"size": 12,
    15  			"col": "#DF0000"
    16  		},
    17  		"label": {
    18  			"name": "Helvetica",
    19  			"size": 12,
    20  			"col": "#007000"
    21  		},
    22  		"userFont": {
    23  			"name": "Roboto-Regular",
    24  			"lang": "el",
    25  			"script": "Grek",
    26  			"size": 12,
    27  			"col": "#000070"
    28  		},
    29  		"cjkUserFont": {
    30  			"name": "UnifontMedium",
    31  			"lang": "zh",
    32  			"script": "HanS",
    33  			"size": 12,
    34  			"col": "$DarkOrange"
    35  		}
    36  	},
    37  	"margin": {
    38  		"width": 10
    39  	},
    40  	"pages": {
    41  		"1": {
    42  			"content": {
    43  				"text": [
    44  					{
    45  						"hide": false,
    46  						"value": "Update #1: Textbox reusing Corefont Courier from same page",
    47  						"pos": [
    48  							1,
    49  							670
    50  						],
    51  						"font": {
    52  							"name": "$myCourier"
    53  						}
    54  					},
    55  					{
    56  						"hide": false,
    57  						"value": "Update #1: Textbox reusing Corefont Helvetica from same page",
    58  						"pos": [
    59  							1,
    60  							620
    61  						],
    62  						"font": {
    63  							"name": "$label"
    64  						}
    65  					},
    66  					{
    67  						"hide": false,
    68  						"value": "Update #1: Textbox reusing Userfont Robotic from same page (12345)",
    69  						"pos": [
    70  							1,
    71  							570
    72  						],
    73  						"font": {
    74  							"name": "$userFont"
    75  						}
    76  					},
    77  					{
    78  						"hide": false,
    79  						"value": "Update #1: Textbox reusing cjk Userfont Unifont from same page (12345)",
    80  						"pos": [
    81  							1,
    82  							520
    83  						],
    84  						"font": {
    85  							"name": "$cjkUserFont"
    86  						}
    87  					}
    88  				]
    89  			}
    90  		}
    91  	}
    92  }