Help Please
GenPdf (crate)What i have displayed is "working" while running the program through the IDE, however the documentation clearly states that i will need to embed the ".ttf" data for the fonts to work within the published application. I understand the data needs to be pushed on but every which way i attempt to type that into existence the compiler reminds me i don't know coding as well as i would like
If more information is necessary please let me know and i am happy to appease.
[{
"resource": "/home/crocubot/Desktop/PDF-Production/pdf-producer_0_1_0/src/main.rs",
"owner": "rustc",
"code": {
"value": "E0451",
"target": {
"$mid": 1,
"external": "E0451 - Error codes index",
"path": "/stable/error_codes/E0451.html",
"scheme": "https",
"authority": "doc.rust-lang.org"
}
},
"severity": 8,
"message": "field is private",
"source": "rust-analyzer",
"startLineNumber": 371,
"startColumn": 13,
"endLineNumber": 371,
"endColumn": 34
}]
[{
"resource": "/home/crocubot/Desktop/PDF-Production/pdf-producer_0_1_0/src/main.rs",
"owner": "rustc",
"code": {
"value": "Click for full compiler diagnostic",
"target": {
"$mid": 1,
"external": "rust-analyzer-diagnostics-view:/diagnostic%20message%20%5B3%5D?3#file%3A%2F%2F%2Fhome%2Fcrocubot%2FDesktop%2FPDF-Production%2Fpdf-producer_0_1_0%2Fsrc%2Fmain.rs",
"path": "/diagnostic message [3]",
"scheme": "rust-analyzer-diagnostics-view",
"query": "3",
"fragment": "file:///home/crocubot/Desktop/PDF-Production/pdf-producer_0_1_0/src/main.rs"
}
},
"severity": 8,
"message": "cannot find value font_family
in this scope\nnot found in this scope",
"source": "rustc",
"startLineNumber": 380,
"startColumn": 56,
"endLineNumber": 380,
"endColumn": 67
}]
[{
"resource": "/home/crocubot/Desktop/PDF-Production/pdf-producer_0_1_0/src/main.rs",
"owner": "rustc",
"code": {
"value": "Click for full compiler diagnostic",
"target": {
"$mid": 1,
"path": "/diagnostic message [4]",
"scheme": "rust-analyzer-diagnostics-view",
"query": "4",
"fragment": "file:///home/crocubot/Desktop/PDF-Production/pdf-producer_0_1_0/src/main.rs"
}
},
"severity": 8,
"message": "cannot find value font_family
in this scope\nnot found in this scope",
"source": "rustc",
"startLineNumber": 384,
"startColumn": 58,
"endLineNumber": 384,
"endColumn": 69
}]