Page 1 of 1

Bottom Watermark text cut off if Align to Bottom

Posted: Tue May 13, 2014 6:49 pm
by Byron_Upchurch
Issue: The watermark line of text is cut off at the bottom of the page if it is set to "align to bottom."

Steps to reproduce:
1. Choose any document and begin the process of printing to PDF. In Microsoft Word, press Ctrl+P to show the "Print" options and select the Nova PDF printer, but do not print just yet.
2. Click "Printer Properties" to configure how the PDF will print.
3. On the "Watermarks" tab of the "Printer Properties" dialog, add new text by clicking "New Text." Make sure you have included a lower case "y" and "p" somewhere in the line.
4. Click the "Edit" button to edit the watermark. When the "Edit Watermark Text" screen appears, click "Custom Position."
5. Under "Position", select "Customize Origin."
6. Under "Origin", uncheck "Center vertically" and select "Align to bottom."
7. Click OK to all the dialogs, and click "Print" to print the document.

In the final PDF, observe the watermark placement. It is halfway off the page at the bottom. The stems of the lowercase "y" and "p" do not display. The watermark text should display fully above the bottom-most margin so that it can be read.

Is there are workaround that we can do in order to fix this?
Is this a bug pending a fix?

Thanks for your time.
Byron

Re: Bottom Watermark text cut off if Align to Bottom

Posted: Thu May 15, 2014 9:42 am
by Lorant (Softland)
We're working on a new version which revises this section completely and fixes that. Thank you.

Re: Bottom Watermark text cut off if Align to Bottom

Posted: Mon Sep 15, 2014 3:51 pm
by Byron_Upchurch
Hello,

I downloaded version 8 (latest build), but ran into an following issue. We are trying to display a watermark at the bottom of each page ("alBottom" in Delphi jargon). The page height is unknown. Therefore, we truly need to be able to simulate alBottom.

The following is a code snippet from your “HelloWorld” example project. This code should put the watermark at the bottom of the page, but it does not. What am I doing wrong?

Code: Select all

    pNova.SetLayoutOptionLong2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_UNITS, NOVA_UNITS_CENTIMETERS);

    //anchors
    pNova.SetLayoutOptionBool2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_LEFTANCHOR_USED, 0);
    pNova.SetLayoutOptionFloat2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_LEFTANCHOR_OFFSET, 0);

    pNova.SetLayoutOptionBool2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_RIGHTANCHOR_USED, 0);
    pNova.SetLayoutOptionFloat2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_RIGHTANCHOR_OFFSET, 0);

    pNova.SetLayoutOptionBool2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_TOPANCHOR_USED, 0);
    pNova.SetLayoutOptionFloat2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_TOPANCHOR_OFFSET, 0);

    pNova.SetLayoutOptionBool2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_BOTTOMANCHOR_USED, 1);
    pNova.SetLayoutOptionFloat2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_BOTTOMANCHOR_OFFSET, 0);

    pNova.SetLayoutOptionBool2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_VERTANCHOR_USED, 0);
    pNova.SetLayoutOptionFloat2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_VERTLANCHOR_OFFSET, 0);

    pNova.SetLayoutOptionBool2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_HORIZANCHOR_USED, 1);
    pNova.SetLayoutOptionFloat2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_HORIZANCHOR_OFFSET, 0);

    //aspect ratio
    pNova.SetLayoutOptionBool2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_USE_ASPECT_RATIO, 0);

    //allow stretch with anchors when print on a different page size or layout
    pNova.SetLayoutOptionBool2(strWtmTextId, strLayoutTextId, NOVAPDF_LAYOUT_ALLOW_STRETCH, 0);
Thanks.

Re: Bottom Watermark text cut off if Align to Bottom

Posted: Tue Sep 16, 2014 1:17 pm
by Lorant (Softland)
Hi,
Can you email us at [email protected], as we need more details regarding this