Merge pull request #452 from PartialVolume/PDFGen17

PDFGen17 - further work on PDF certificate
This commit is contained in:
PartialVolume
2023-03-12 18:15:39 +00:00
committed by GitHub
5 changed files with 4 additions and 4 deletions

View File

@@ -305,7 +305,7 @@ int create_pdf( nwipe_context_t* ptr )
pdf_add_text( pdf, NULL, "See Warning !", 12, 450, 290, PDF_RED );
/* Display the yellow exclamation icon in the header */
pdf_add_image_data( pdf, NULL, 450, 665, 100, 100, bin2c_nwipe_exclamation_jpg, 74292 );
pdf_add_image_data( pdf, NULL, 450, 665, 100, 100, bin2c_nwipe_exclamation_jpg, 65791 );
status_icon = STATUS_ICON_YELLOW_EXCLAMATION; // used later on page 2
}
else
@@ -690,7 +690,7 @@ int create_pdf( nwipe_context_t* ptr )
case STATUS_ICON_YELLOW_EXCLAMATION:
/* Display the yellow exclamation icon in the header */
pdf_add_image_data( pdf, NULL, 450, 665, 100, 100, bin2c_nwipe_exclamation_jpg, 74292 );
pdf_add_image_data( pdf, NULL, 450, 665, 100, 100, bin2c_nwipe_exclamation_jpg, 65791 );
break;
case STATUS_ICON_RED_CROSS:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 62 KiB

File diff suppressed because one or more lines are too long

View File

@@ -6,7 +6,7 @@
extern "C" {
#endif
extern const unsigned char bin2c_nwipe_exclamation_jpg[74292];
extern const unsigned char bin2c_nwipe_exclamation_jpg[63304];
#ifdef __cplusplus
} /* extern "C" */