Forum Replies Created
-
AuthorPosts
-
in reply to: Hanging Threads! January 22, 2019 at 11:52#30163
Please use the most recent PD4ML v3.10.9. There is no practical benefits to use that old version as v1.0
in reply to: HTML/CSS rendering issues January 24, 2019 at 16:53#27196Hi,
I want to add pages after a page break – but these pages not to be included into total numers of pages.
Example:
2 pages, then page break, total number of pages has to be 2.
Is there a way to do this?
I have no idea…
Thanks for any ideas!!!
Best,
Olaf
in reply to: PageBreak, total numer of pages January 24, 2019 at 17:41#30164Hi,
in other words:
I want to do a page break but exclude the following page(s) from total number of pages ($total).
THX!
in reply to: Unicode character not displayed, character missing in font January 28, 2019 at 16:59#30199@PD4ML wrote:
I reviewed a number of TTFs with “Character Map” Windows utility, and it seems #9723 (U+25FB) glyph is quite rare in TTFs. I have only found it in DejaVu family of fonts.
So try to modify the font-family directive like that:
from
“font-family=Verdana,Geneva,Arial,Helvetica,sans-serif”
to
“font-family: Verdana,Geneva,’DejaVu Sans’,Arial,Helvetica,sans-serif”(Make sure DejaVu font is installed and indexed, and do not forget to substitute ‘=’ with ‘:’ in the property definition)
Thanks, my bad for using a = instead of a :.
I’am using the pd4fonts.properties file for loading all the fonts in the windows/fonts directory, but now I want to load this extra font DejaVu Sans from a different directory. We install our program by scripts and installing a font in windows could be a hassle especially if it would require admin-right to modify the fonts in windows.
So do you perhaps got some tips for configuring a extra font in our own folder, or an easy way to install the script in Windows.As a feature request it would be nice if pd4ml would fallback to a own font that contains all symbols instead off printing a questionmark. If i’m not mistaken it’s what the browser are already doing.
Regards,
Jeroenin reply to: PDF rendering issue with display:inline January 29, 2019 at 16:12#30154Hi,
If you check the supported list of CSS properties you will see display inline is not supported. I would be happy if someone proved me wrong!
in reply to: PDF rendering issue with display:inline January 29, 2019 at 16:15#30155Give a try to PD4ML v4: https://github.com/zxfr/pd4ml-examples/
in reply to: PDF rendering issue with display:block January 30, 2019 at 09:00#29422End of January 2019 and display:inline-block is still not working. Please fix.
in reply to: PDF rendering issue with display:block January 30, 2019 at 11:05#29423Try PD4ML v4: https://github.com/zxfr/pd4ml-examples/
in reply to: Floating elements are reordered January 30, 2019 at 12:16#30190PD4ML v4 implements the float positioning logic as expected: https://github.com/zxfr/pd4ml-examples/
in reply to: Unicode character not displayed, character missing in font February 1, 2019 at 10:05#30200@JeroenInception wrote:
@PD4ML wrote:
I reviewed a number of TTFs with “Character Map” Windows utility, and it seems #9723 (U+25FB) glyph is quite rare in TTFs. I have only found it in DejaVu family of fonts.
So try to modify the font-family directive like that:
from
“font-family=Verdana,Geneva,Arial,Helvetica,sans-serif”
to
“font-family: Verdana,Geneva,’DejaVu Sans’,Arial,Helvetica,sans-serif”(Make sure DejaVu font is installed and indexed, and do not forget to substitute ‘=’ with ‘:’ in the property definition)
Thanks, my bad for using a = instead of a :.
I’am using the pd4fonts.properties file for loading all the fonts in the windows/fonts directory, but now I want to load this extra font DejaVu Sans from a different directory. We install our program by scripts and installing a font in windows could be a hassle especially if it would require admin-right to modify the fonts in windows.
So do you perhaps got some tips for configuring a extra font in our own folder, or an easy way to install the script in Windows.As a feature request it would be nice if pd4ml would fallback to a own font that contains all symbols instead off printing a questionmark. If i’m not mistaken it’s what the browser are already doing.
Regards,
JeroenAfter testing installing the font in Windows isn’t an options for us.
Is there another font/solution we can use that’s standard available on a Windows Server.in reply to: HTML/CSS rendering issues February 7, 2019 at 15:51#27212Hi,
I have a question about vertical-alignment.Part of Html which I try to export is:
<br /> <p><br /> text<br /> <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAQCAYAAAAvf+5AAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAEZ0FNQQAAsY58+1GTAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAARwQAAEcEBPn1jhwAAALtJREFUeNqt0TELAUAYxvELScpoN1CKTexGKcliUGaTweIb2PkQBpuSSCzIYlEmg5iUTYks+F/d8KbuGDz1q/fqqbveU+rHeMWcRAVBHPGyFR8oo40DNq7iDiWE0ZVFz8dTTugji4SreMUQAeRdRZ01tih+K54xQsZswlqMIGfmqq0YxRR1rOT1shjHAg3MMEAMaVnUb1miY9aj08MdNX3wIYWxWUtL3LDHBAX49c88cUPTzDJzhHBRf88bmvkkzNERKWoAAAAASUVORK5CYII=" style="page-break-inside: avoid;width: 1.355ex; height: 2.176ex; vertical-align: -0.338ex;" data-source="lambda"/><br /> text<br /> </p><br />
Browsers render the image correctly – it is a “lambda” letter and it is vertically aligned with the text around. When I create a PDF from this code, vertical alignment does not work and “lambda” is rendered a bit higher.
Is the a support for it in 3.9.0 version? Or is there any workaround?
Thanks for your help,
Ondrejin reply to: vertical-alignment February 7, 2019 at 17:02#30201PD4ML v3.x does not support length values by vertical-align. It should be possible to workaround with position: relative; top: -0.338ex;
in reply to: HTML/CSS rendering issues February 15, 2019 at 03:36#27213Is pd4ml nth-last-child() support ?
I tried and it not working, nth-child was finein reply to: nth-last-child February 15, 2019 at 10:50#30206nth-last-child() is unfortunately not supported for the time being. An implementation of the feature would require an extra parsing pass or performance impacting look-ahead logic, even if the CSS property is not used – we are still not sure if it is worthwhile.
in reply to: Unicode character not displayed, character missing in font February 18, 2019 at 09:00#30196@JeroenInception wrote:
@JeroenInception wrote:
@PD4ML wrote:
I reviewed a number of TTFs with “Character Map” Windows utility, and it seems #9723 (U+25FB) glyph is quite rare in TTFs. I have only found it in DejaVu family of fonts.
So try to modify the font-family directive like that:
from
“font-family=Verdana,Geneva,Arial,Helvetica,sans-serif”
to
“font-family: Verdana,Geneva,’DejaVu Sans’,Arial,Helvetica,sans-serif”(Make sure DejaVu font is installed and indexed, and do not forget to substitute ‘=’ with ‘:’ in the property definition)
Thanks, my bad for using a = instead of a :.
I’am using the pd4fonts.properties file for loading all the fonts in the windows/fonts directory, but now I want to load this extra font DejaVu Sans from a different directory. We install our program by scripts and installing a font in windows could be a hassle especially if it would require admin-right to modify the fonts in windows.
So do you perhaps got some tips for configuring a extra font in our own folder, or an easy way to install the script in Windows.As a feature request it would be nice if pd4ml would fallback to a own font that contains all symbols instead off printing a questionmark. If i’m not mistaken it’s what the browser are already doing.
Regards,
JeroenAfter testing installing the font in Windows isn’t an options for us.
Is there another font/solution we can use that’s standard available on a Windows Server.Excellent topic. Thank you.
-
AuthorPosts