On Wed, 13 Apr 2016, Graeme Geldenhuys wrote:

On 2016-04-12 20:25, Ondrej Pokorny wrote:
I need to clip text (e.g. in a table column). Is this already supported?

No, I haven't done any work on using the clipping operators yet. In
fpReport, text is rather wrapped than clipped.

Contributions in this regard are obviously very welcome. I would imagine
if the clipping operators are to be implemented, then graphics state
(save & restore) would probably go hand-in-hand with the clipping too.


A small remark:

If the PDF format does not support some form of clipping natively, then it 
should not go in fpPDF.

But it should instead be implemented in a layer on top of fppdf, such as the 
planned TPDFCanvas.

Keep your designs orthogonal, please.

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to