Forum Replies Created
-
AuthorPosts
-
in reply to: Fieldset Legend + Bold April 21, 2010 at 18:37#27908
We are going to publish the freshest v360fx1b2 26-27 of April.
in reply to: cache parsed CSS? April 20, 2010 at 10:28#27987@media pdf {} is going to be interpreted only by PD4ML. So if you place the section after common CSS definitions, you may override them with PD4ML-specific ones.
Of course it does not help to solve “filter:” issue. In theory you may screen some CSS style sections (and avoid the parsing errors) under media types, not known to or ignored by PD4ML: tv, print, projection, handheld etc. But it is difficult to say if the major browsers ignore or interpret them.
in reply to: cache parsed CSS? April 19, 2010 at 19:37#27984Actually PD4ML caches CSS documents in parsed form, but, you are right, it does not cache CSS documents failed to parse. I’ve added the feature request to our TODO list.
I do not believe you use CSS stylesheets, greater than 1 Mb in size. Otherwise it should not tangible impact HTML-to-PDF conversion performance.
Well, the best solution would be to support the notorious “filter:” properties – we need to check the actual state of CSS Parser project and adapt our library to it (if it already supports the syntax).
in reply to: Is it any possible to use the fonts in the ITextAsian.jar? April 19, 2010 at 16:10#27990Obviously IText + iTextAsian does not embed fonts, but refers to the standard Type1 fonts of Acroread. PD4ML does not support that.
However useTTF() PD4ML API method has a boolean parameter, which tells either to physically embed TTFs or just to refer to their names. “Not embed”-mode results smaller documents, but the documents rely on the fonts installed on the client machine.
in reply to: Is it any possible to use the fonts in the ITextAsian.jar? April 19, 2010 at 15:39#27988No, PD4ML cannot use ITextAsian.jar.
Do you have any troubles with TTF embedding feature of PD4ML?
in reply to: htmlentities: arrow April 16, 2010 at 13:03#27981Try to remove or comment font.dir.location=font line out.
in reply to: htmlentities: arrow April 16, 2010 at 13:00#27979Could you please post pd4font.properties content
in reply to: htmlentities: arrow April 16, 2010 at 11:11#27977OK, now it is clear.
In order to output special characters you need to utilize TTF embedding feature:
pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.htmlPd4Cmd has a dedicated parameter -ttf to point to a fonts directory.
in reply to: htmlentities: arrow April 15, 2010 at 15:15#27975Please create a document with the only right arrow entity using Tinymce, generate PDF and send it to support pd4ml.com by email or attach to a post in the topic. We’ll check what is wrong there.
in reply to: Different Languages April 15, 2010 at 15:02#27945See attached
in reply to: htmlentities: arrow April 15, 2010 at 14:32#27974→ is substituted with code 0x2192, which is represented as a right arrow in most of popular TTF fonts. I tested with Arial and the entity is shown in PDF correctly as the arrow.
If you got another character, I would recommend to check which font is used to render it and to make sure it has a correct glyph for the code.
in reply to: Help Again April 14, 2010 at 09:55in reply to: Different Languages April 13, 2010 at 15:48#27943Unfortunately there is no currently available online service for that.
If you publish in the topic an URL to convert (or send it to support pd4ml.com), I could convert it on one of the development workstations and send you back the conversion result and instructions how to achieve that on your side.
in reply to: CSS div positioning bug April 12, 2010 at 17:55#27959As I see from the PDF document metadata you use v360, which does not “understand” the configuration switches I described. Please give a try to v360fx1b1.
But again: in order to get identical layouts, you need to explicitly specify block heights and widths.
in reply to: CSS div positioning bug April 12, 2010 at 17:41#27957Do you use PD4ML v360 or v360fx1b1? It is important.
You may send the file by email to support pd4ml.com
-
AuthorPosts
