HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › org/w3c/dom/* classes in ss_css2.jar
- This topic has 6 replies, 3 voices, and was last updated Dec 30, 2015
09:24:08 byAnonymous.
-
AuthorPosts
-
July 12, 2010 at 13:19#26414
Hi,
Today, I’ve struggled for working done your library.
I finally found (by myself) the famous problem of dom classes which are already defined in JRE (mentioned here : pdf-generation-troubleshooting-f4/noclassdeffounderror-org-w3c-dom-document-t7.html)You know this problem since more than one year, couldn’t you correct this quickly in a future version ?
Thanks.
July 13, 2010 at 10:56#28097ss_css2.jar is a library, developed by CSS Parser open-source project. It is difficult to say if we are legally allowed to remove the classes from the original set.
July 13, 2010 at 12:08#28098I’m not sure of that but it seems that ss_css2.jar is the equivalant of CSS Parser 0.9.4. Today, there is the version 0.9.5. Maybe it is better.
Else, LGPL, the CSS Parser license, authorize you (and everybody) to modify it if you redistribute the modified library with the same license.
July 13, 2010 at 12:14#280990.9.5 currently is not compatible with PD4ML. The issue is in our TO DO list to fix.
July 13, 2010 at 13:35#28100Okay, I understand. 😉
December 30, 2015 at 09:23#28101Hi,
I used Zurich font in my pdf. It is displaying in html but not in pdf. In pdf, the default font is appearing.fonts folder contains all type of font files and properties file with code:
Zurich BT=Zurich.ttfjsp file:
font.css:
@font-face
{
font-family: ‘Zurich BT’;
src: url(‘fonts/Zurich BT.eot’);
src: local(‘Zurich BT’), url(‘fonts/Zurich BT.ttf’) format(‘truetype’), url(‘fonts/Zurich BT.woff’) format(‘woff’), url(‘fonts/Zurich BT.svg’) format(‘svg’);
font-weight: normal;
font-style: normal;
}
.Zurich{
font-family: ‘Zurich BT’;
font-size:12px;
}December 30, 2015 at 09:24#28102@DurgaPrasad wrote:
Hi,
I used Zurich font in my pdf. It is displaying in html but not in pdf. In pdf, the default font is appearing.fonts folder contains all type of font files and properties file with code:
Zurich BT=Zurich.ttfjsp file:
font.css:
@font-face
{
font-family: ‘Zurich BT’;
src: url(‘fonts/Zurich BT.eot’);
src: local(‘Zurich BT’), url(‘fonts/Zurich BT.ttf’) format(‘truetype’), url(‘fonts/Zurich BT.woff’) format(‘woff’), url(‘fonts/Zurich BT.svg’) format(‘svg’);
font-weight: normal;
font-style: normal;
}
.Zurich{
font-family: ‘Zurich BT’;
font-size:12px;
} -
AuthorPosts
The forum ‘General questions / FAQ’ is closed to new topics and replies.
