From d9360b2d8c26224dea2f42da1e4627058da5c2a5 Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Wed, 14 Aug 2024 19:29:19 +0530 Subject: [PATCH] add comment --- apps/OpenSign/src/constant/Utils.js | 6 ++++++ 1 file changed, 6 insertions(+) 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);