Skip to content

🔥 The free & Open Source DocuSign alternative

add comment

RaktimaNXGd9360b2d8c26
diff --git a/apps/OpenSign/src/constant/Utils.js b/apps/OpenSign/src/constant/Utils.js
index 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 black
const defaultAppearance = `/Helv ${fontsize} Tf 0 g`;
// Set the default appearance for the dropdown field
dropdown.acroField.setDefaultAppearance(defaultAppearance);