Forum Replies Created
-
AuthorPosts
-
in reply to: Positioning – bottom ignored March 30, 2012 at 12:40#28695
Do you have any reasons not to remove “float: left;” from the style?
in reply to: Positioning – bottom ignored March 30, 2012 at 11:55#28693The examples do not work as they combine positioning and float behavior. The combination is not supported by PD4ML.
in reply to: Configurable logging? March 29, 2012 at 11:49#28937PD4ML 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: Configurable logging? March 29, 2012 at 11:24#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: Footnote links not working corectly in RTF March 28, 2012 at 15:09#28917It can be done the same way as in HTML:
<a href="#someanchor">Link</a> . . . <a name="someanchor">Referenced text</a>
Make sure you use the most recent version of PD4ML.
in reply to: How to control RTF default font size March 28, 2012 at 15:07#28918“In RTF output mode PD4ML still uses HTML renderer, developed for PDF output.
It is explained by the link: https://pd4ml.com/cookbook/pdf_page_formatting.htm
That means you get HTML layout of requested width (htmlWidth parameter) mapped to chosen paper format. An actual transformation from dimensions given in screen pixels or in physical units to resulting dimensions on paper is not always obvious.
pd4ml.protectPhysicalUnitDimensions() API call should make dimensions/sizes given in pt, in, cm keept intact.
There some are other support topics address the issue. I.e.
html-css-to-pdf-rendering-issues-f3/font-size-wierdness-t109.html”Taken from viewtopic.php?f=3&t=508#p2226
in reply to: PD4ML does not allows background color in RTF March 28, 2012 at 15:00#28919Since v380fx2 PD4ML allows to define text background color.
in reply to: PD4ML Lotus Domino 8.5.3 Basic Authentification March 28, 2012 at 13:18#28929It is expected you pass actual login/password with the call:
m.put(PD4Constants.PD4ML_BASIC_AUTHENTICATION, "guest:segreto");in reply to: Outputted element coordinates March 28, 2012 at 12:15#28933PDF form elements appear in PDF like that:
2 0 obj << /Type /Annot /Subtype /Widget /Rect [125 939 38 929] /T (i1) /AP <> /FT /Tx /Ff 0 /F 4 /MK << /BG [1 1 1] >> /Subtype /Widget /DR <> /V (val1) /DV (val1) >>
/Rect [125 939 38 929] is a bounding box of the form element there.
in reply to: Problem with pdf print March 27, 2012 at 18:35#28934Currently PD4ML does not support JavaScript in source HTML/JSP. I guess you could also do the field initialization with some Java code in JSP.
in reply to: span tag not displaying border March 20, 2012 at 16:25#28924PD4ML does not support SPAN borders. It is an implementation restriction: is interpreted as a text style changer (like ,
<font>etc) and ignores some block element-specific styles.in reply to: RTF features March 19, 2012 at 19:29#28775> Regarding your comment about being able to set header/footer as a tag not being implemented yet, will it be possible in the future?
> If so, do you have a rough estimate to when we can expect that?The feature implementation has quite a low priority. You know, the main purpose of PD4ML is PDF output. Normally we add new features to RTF module when there is no urgent PDF issues. I have my doubts if we’ll have a chance to start the implementation till May.
If you need the feature urgently you may fund its implementation. In the case please contact us by email.
> Lastely, when specifying lengths in css (or tags), what is the unit that I should use (besides %)?
> I know that RTF natively operates on a twips, and I tried to calculate it from cm, but without much luck.In RTF output mode PD4ML still uses HTML renderer, developed for PDF output.
It is explained by the link: https://pd4ml.com/cookbook/pdf_page_formatting.htm
That means you get HTML layout of requested width (htmlWidth parameter) mapped to chosen paper format. An actual transformation from dimensions given in screen pixels or in physical units to resulting dimensions on paper is not always obvious.
pd4ml.protectPhysicalUnitDimensions() API call should make dimensions/sizes given in pt, in, cm keept intact.
There some are other support topics address the issue. I.e.
html-css-to-pdf-rendering-issues-f3/font-size-wierdness-t109.htmlin reply to: <fieldset><legend></legend></fieldset> supported by PD4ML? March 19, 2012 at 18:09#28923The current version of PD4ML does support the tags in general. However it could be issues with an applying of styles to the tags.
in reply to: Href does not open in new window March 12, 2012 at 20:32#28538PDF file format does not support such behavior.
in reply to: RTF features March 12, 2012 at 18:49#28773It seems we fixed the issue. If you’d like to test it with the current development build – please request it by email from support pd4ml com
-
AuthorPosts
