...
...
...
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Form submissions can be converted to PDF, TIFF, PNG, and JPEG documents. However ' submission However, frevvo submission repository only saves PDFs. While all formats are supported when submissions are sent as an attachment to a submission email, or as an attachment to a POST to a back-end system such as a document management system.
...
Page breaks can be added to the print view by adding the special f-page-break to any control's CSS Class property. Any control with f-page-break will start at the top of a new page. In the example below, the Room Information tab prints on a new page.
...
International Characters for PDFs
infrevvo in-house supports international characters. This applies to any designer entered text that is part of the form design such as form control labels as well as all the data entered into the form by the user. This is incorporated in the following areas:
- PDFs generated in the submission frevvo submission repository when you check Save PDF on your form
- PDFs generated for print view
- PDFs generated for mapped PDFs
Note |
---|
Contact customer support if you are a frevvo Online customer. The instructions below only apply to infrevvo in-house. |
It is important to ensure the correct font - family is in place so Internationalization (i18n) fonts will be used when PDFs are generated. Due to the cost associated with font set distribution, a small default set of fonts are is provided.
Section | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
These fonts are NOT intended as internationalization fonts, although they do cover some international characters. The DejaVu font family contains Sans fonts which are a very close match for Arial and it contains the Serif fonts which are a near match for Times Roman. The Sans Mono font is a monospace (fixed width) font.
Warning |
---|
customers frevvo customers who need international fonts must purchase and install their own font file. A Unicode font with broad language support is recommended. |
...
The font set that you are going to use must be available to at frevvo at PDF rendering time. This is accomplished by placing the fonts in the /WEB-INF/fonts folder.
Follow these steps:
- Stop the serverStop the frevvo server
- Open the directory <frevvo-home>/tomcat/webapps/frevvo and copy the WEB-INF/fonts to a temporary location on your desktop.
- Add your font file (unifont.tff file is an example) to the WEB-INF/fonts directory.
- Save the file
- Replace the original WEB-INF/fonts file with the new updated file.
- Re-start your your frevvo server.
- Select the Print Font for PDFs in the Forms Designer as discussed below.
Select the Print Font
The designerfrevvo designer Print Font property on the Form Style tab enables you to select your PDF print font. The selections that appear in the Print Font dropdown menu come from the fonts loaded in the WEB-INF/fonts folder. If no print font is selected, then the default rendering will be used.
If you install infrevvo in-house you will see the default fonts WEB-INF/fonts directory. Notice that the dropdown however only shows eight font choices. This is because the dropdown lists the font families and not the individual font names. For Example, the DejaVu Sans font family includes DejaVuSans-Bold and DejaVu-BoldOblique fonts.
...
You determine that characters in the label are not supported by any of the the default fonts provided by frevvo. As the designer, you locate a font family named unifont.tff that you believe will show the Chinese characters. You follow the steps above to install your unifont.tff file to the WEB-INF/fonts directory. You rezip the war file and restart frevvo. Select unifont from the Print Font dropdown and click your form's print icon to see the Chinese characters printed correctly.
...
Apply the style to your form by selecting it from the Style dropdown on the Style tab on the Form Properties Wizard.
The default PDF print font is not a match for an html Arial font. Select DejaVuSans from the Print Font property and the PDFs will now have a very close approximation to the Arial font. If you want the PDFs to be printed using a true Arial font, then you must purchase the correct font, install it, and select it from the Print Font property. Once you have the Arial font set you want to use, follow the steps for Installing the Character Set InstallingtheCharacterSet to add it to . Finally, select your new font. The example shown below is for a font file called arialuni.ttf. Your font family name may be different.
...