Forum Replies Created

Viewing 15 posts - 1,816 through 1,830 (of 4,243 total)
  • Author
    Posts
  • in reply to: Deployment / Configuration issues
    #26706

    We have recently upgraded PD4ML from an older version and it looks to me that PD4ML 380fx3 Pro logs quite verbose to System.out:

    'arial bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'arial bold'<br /> 'verdana bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'verdana bold'<br /> 'sans-serif bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'sans-serif bold'<br /> 'ms gothic bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'ms gothic bold'<br /> 'mingliu bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'mingliu bold'<br /> 'simsun bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'simsun bold'<br /> 'mangal bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'mangal bold'<br /> 'david bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'david bold'<br /> 'gulim bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'gulim bold'<br /> 'wingdings bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'wingdings bold'<br /> 'symbol bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'symbol bold'<br /> 'lucida sans regular bold' is not in pd4fonts.properties file<br /> reject TTF lookup for: 'lucida sans regular bold'<br /> not yet in cache: java:net/pingpong/tm/fonts/Arial.ttf<br /> read 'arial' from java:net/pingpong/tm/fonts/Arial.ttf<br /> not yet in cache: java:net/pingpong/tm/fonts/Verdana.ttf<br /> read 'verdana' from java:net/pingpong/tm/fonts/Verdana.ttf<br /> not yet in cache: java:net/pingpong/tm/fonts/CourierNew.ttf<br /> read 'courier new' from java:net/pingpong/tm/fonts/CourierNew.ttf<br /> done in 566ms.<br /> version: PD4ML 380fx3 Pro

    We would like to keep logging to a minimal when nothing is wrong with the system, but since this logging seems to write to System.out, there is no easy way for us to adjust this. Is it possible to configure logging of PD4ML in any way?

    Also, I wonder about the fonts that are mentioned in the logging above, where are they defined? We have no mention of for examlple ‘mangal bold’ in our pd4fonts.properties file because that is not a font we are using anywhere. Why would it be relevant for PD4ML to look it up?

    in reply to: Configurable logging?
    #28935

    > We would like to keep logging to a minimal when nothing is wrong with the system
    In the case just remove pd4ml.enableDebugInfo() call. If anything fails it prints stack trace independently on the debug mode.

    Regarding the fonts: PD4ML has 3 built-in tables of fallback font names for serif, sans and monospaced. It walks the tables when, for example, for Chinese text applied font Arial (however Arial has no Chinese glyphs defined). It is a part of TTF substitution logic.

    In your case even Arial is not defined, so it tries to lookup any font is able to display a particular text.

    in reply to: Configurable logging?
    #28936

    In the case just remove pd4ml.enableDebugInfo() call.

    Thank you, I did not even know that my colleagues had added that call. That explains the extensive logging.

    About our configuration: we DO have ‘arial’ defined (as well as ‘arial black’), just not ‘arial bold’.

    in reply to: Configurable logging?
    #28937

    PD4ML can emulate bold by a stroking out of regular glyphs. It is the only option to get bold style for many CJK fonts. But the result is not that good as to use a specially defined bold TTF.

    I would recommend to add Arial Bold to your font directory/package.

    in reply to: Positioning – bottom ignored
    #28692

    We have just upgraded our version of PD4ML specifically for the positioning fixes, unfortunately they don’t quite work.

    If you have div within a div, and the inner div is “position:absolute; bottom:0”, then it works fine.

    The problem is when you have a div with two absolute positioned divs within, or a div with an absolute positioned div and an image inside.

    Example 1:
    <style type="text/css"><br /> #container {float:left; width:800px; height:600px; position:relative; background:#ccc}<br /> #innerTop {float:left; width:100px; height:200px; position:absolute; top:0; background:#00cc00; display:none}<br /> #innerBottom {float:left; width:800px; height:200px; position:absolute; bottom:0; background:#cc0000}<br /> </style><br /> <br /> <div id="container"><br /> <div id="innerTop"><br /> this is absolute top<br /> </div><br /> <div id="innerBottom"><br /> this is absolute bottom<br /> </div><br /> </div>

    Example 2:
    <style type="text/css"><br /> #container {float:left; width:800px; height:600px; position:relative; background:#ccc}<br /> #innerBottom {float:left; width:800px; height:200px; position:absolute; bottom:0; background:#cc0000}<br /> </style><br /> <br /> <div id="container"><br /> <img src="someimage.jpg" style="width:800px; height:600px" /><br /> <div id="innerBottom"><br /> this is absolute bottom<br /> </div><br /> </div>

    Unfortunately we have a very urgent requirement to show text boxes overlayed on images, if anyone has any work around or ideas please post them.

    in reply to: Positioning – bottom ignored
    #28693

    The examples do not work as they combine positioning and float behavior. The combination is not supported by PD4ML.

    in reply to: Positioning – bottom ignored
    #28694

    Having done a bit more testing it seems that the problem is now occurring even when trying to use “positioning:absolute; top:0”. I’m pretty sure that in our earlier version of PD4ML the top alignment option worked ok.

    What happens is that the absolute positioned element isn’t actually being absolutely positioned over other relative elements.

    Example (#innerTop div appears below the image instead of over):
    <style type="text/css"><br /> #container {float:left; width:800px; height:600px; position:relative; background:#ccc}<br /> #innerTop {float:left; width:100px; height:200px; position:absolute; top:0; background:#00cc00; }<br /> </style><br /> <br /> <div id="container"><br /> <img src="imagehere.jpg" style="width:700px; height:600px" /><br /> <div id="innerTop"><br /> this is absolute top<br /> </div><br /> </div>

    in reply to: Positioning – bottom ignored
    #28695

    Do you have any reasons not to remove “float: left;” from the style?

    in reply to: Positioning – bottom ignored
    #28696

    @PD4ML wrote:

    The examples do not work as they combine positioning and float behavior. The combination is not supported by PD4ML.

    Ah sorry only just saw this, I’ve done some initial tests removing the float and so far so good thanks.

    in reply to: PD4ML Lotus Domino 8.5.3 Basic Authentification
    #28931

    Got it working you need to enable SSO for the Domino Web Server

    in reply to: PD4ML Lotus Domino 8.5.3 Basic Authentification
    #28932

    Glad you found a solution!
    And thank you for sharing it with us!

    in reply to: Positioning – bottom ignored
    #28697

    After further testing I’ve hit another problem that I can’t seem to resolve. For some reason the absolute positioning is effected by the page margin settings.

    For instance if I have 5 pages each with an overlayed div which is absolutely positioned to bottom:0, for each page the absolutely positioned div moves up the page by around the same amount that the PDF margin is.

    Example code:

    <div id="container"><br /> <img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br /> <div id="innerBottom"><br /> this is absolute bottom<br /> </div><br /> </div><br /> <br /> <div id="container"><br /> <img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br /> <div id="innerBottom"><br /> this is absolute bottom<br /> </div><br /> </div><br /> <br /> <div id="container"><br /> <img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br /> <div id="innerBottom"><br /> this is absolute bottom<br /> </div><br /> </div><br /> <br /> <div id="container"><br /> <img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br /> <div id="innerBottom"><br /> this is absolute bottom<br /> </div><br /> </div><br /> <br /> <div id="container"><br /> <img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br /> <div id="innerBottom"><br /> this is absolute bottom<br /> </div><br /> </div>

    Any idea if I’m able to get it bottom aligned to the containing DIV for each slide?

    in reply to: General questions / FAQ
    #26707

    I’m using pd4ml 3.8fx3 version to convert html files to pdf file. I have a form field in the pdf which will automatically display 1st date of the current month every time pdf is Opened.
    While converting html to pdf if the form field is in the last line of the generated pdf page (before page break) then the same line is repeated in the next consecutive page. This happens when we generate the pdf in unix where as if we generate same pdf in windows then we don’t have any repeated string.

    Attached gif file is for your reference.

    Below is the from field used in the html.

    Please let us know the reason for this strange behavior. Also let us know how can we resolve this issue.

    in reply to: Discrepancy in the pdf files generated in Unix and windows
    #28938

    Screenshots are not informative enough to determine the problem reason. Could you please send us the HTML source and both PDF version to be analyzed?

    in reply to: General questions / FAQ
    #26708

    Hello,
    How is it possible to create a PDF with Signing option?

Viewing 15 posts - 1,816 through 1,830 (of 4,243 total)