Replies: 2 comments 5 replies
-
The forms are simple HTML above the PDF, which is rendered as a canvas. You can use your own custom font by applying CSS. Just analyze the DOM with your browser's tools to find the form fields and to find our which CSS selectors you need. The "checked icon" is - probably - also CSS. At the moment, I can't tell you how it works, but when you play around with the settings in the DOM inspector you'll see quickly you can modify the icon with CSS. Here's a tutorial showing you how to do that: https://boolie.org/css-checkbox-styling/ (use Google translate or another translation tool if you don't speak German - it should do the trick). As for the programmatic API to add images: yes, that's possible. At least that's what the guy who opened #1858 told me. Unfortunately, they didn't tell me how they managed to do so. I'm going to add the programmatic API soon, but I can't tell you when "soon" is. Maybe I should simply ask you: when do you need it? |
Beta Was this translation helpful? Give feedback.
-
In general we try to use the font which is used in the DA entry and normally defined in the Resources entry. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm evaluation this PDF Viewer for my Angular application and I'm very happy so far. But I have some question that I can't solve for now:
Is it possible to use a custom font for the filled fields? I have a fillable PDF form and in my case I will have to use a specific font for the filled field values. I need this only for the filled form fields, not for the whole PDF. My client has a strict requirement regarding the font-family that is used for filling the form inputs.
Is it possible to change the "checked icon" for checkboxes?
3.Is it possible to progamatically add images to the PDF? My client has requirements regarding 2D Barcodes that need to be places on the PDF. I know that it is possible to manually add images on the PDF. But in my case I would generate a 2D Barcode as image during rendering and will have to place it on the PDF directly.
Kind regards and in hope for some feedback :)
Beta Was this translation helpful? Give feedback.
All reactions