Re: printed v0.0.3: a low-level API to generate self-contained PDF/SVG

2018-10-02 Thread Cristian Vasile via Digitalmars-d-announce

On Monday, 1 October 2018 at 09:34:34 UTC, Guillaume Piolat wrote:
printed is a low-level API to generate self-contained PDF 
1.4/SVG 1.1 documents hopefully suitable for print.


Currently it does not provide any "layout" option, you are just 
provided a sort of 2D Canvas API which can then render to 
either SVG or PDF.


No line-breaking, paragraphs, ligature, vertical glyphs, or any 
type of layout are provided, they would have to be implemented 
on top of it.


The most saliant feature is that you are able to embed a 
TrueType/OpenType font inside the generated PDF, instead of 
being restricted to the default fonts of PDF.


It includes an OpenType parser, font matching algorithms and a 
FontRegistry which deals with "finding whatever font are 
installed".


http://code.dlang.org/packages/printed



Hello,

Pdf is good however please take a look at djvu format 
(http://djvu.org/) one of the authors is Yann LeCun.





Re: Copy Constructor DIP and implementation

2018-10-02 Thread RazvanN via Digitalmars-d-announce

Hi all,

I just pushed another version of the DIP in which the major 
modifications among otthers are removing implicit and use copy 
constructor calls in all situations where a copy is made. For 
more details, please visit [1] and if you have the time, please 
offer some feedback,


Thank you,
RazvanN

[1] https://github.com/dlang/DIPs/pull/129/




Re: printed v0.0.3: a low-level API to generate self-contained PDF/SVG

2018-10-02 Thread Andrea Fontana via Digitalmars-d-announce

On Monday, 1 October 2018 at 09:34:34 UTC, Guillaume Piolat wrote:
printed is a low-level API to generate self-contained PDF 
1.4/SVG 1.1 documents hopefully suitable for print.


Currently it does not provide any "layout" option, you are just 
provided a sort of 2D Canvas API which can then render to 
either SVG or PDF.


No line-breaking, paragraphs, ligature, vertical glyphs, or any 
type of layout are provided, they would have to be implemented 
on top of it.


The most saliant feature is that you are able to embed a 
TrueType/OpenType font inside the generated PDF, instead of 
being restricted to the default fonts of PDF.


It includes an OpenType parser, font matching algorithms and a 
FontRegistry which deals with "finding whatever font are 
installed".


http://code.dlang.org/packages/printed


Nice!