🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
add comment
RaktimaNXGd9360b2d8c26
diff --git a/apps/OpenSign/src/constant/Utils.js b/apps/OpenSign/src/constant/Utils.jsindex d34909a3e..89b5b9aac 100644--- a/apps/OpenSign/src/constant/Utils.js+++ b/apps/OpenSign/src/constant/Utils.js@@ -1567,6 +1567,12 @@ export const multiSignEmbed = async (} else if (position?.options?.defaultValue) {dropdown.select(position?.options?.defaultValue);}+ // Define the default appearance string+ // Example format: `/FontName FontSize Tf 0 g` where:+ // - `/FontName` is the name of the font (e.g., `/Helv` for Helvetica)+ // - `FontSize` is the size you want to set (e.g., 12)+ // - `Tf` specifies the font and size+ // - `0 g` sets the text color to blackconst defaultAppearance = `/Helv ${fontsize} Tf 0 g`;// Set the default appearance for the dropdown fielddropdown.acroField.setDefaultAppearance(defaultAppearance);