Programming => LCL => Topic started by: VTwin on December 20, 2018, 11:24:36 pm

Title: fpPDF questions
Post by: VTwin on December 20, 2018, 11:24:36 pm
I just started trying out fpPDF, and it is very impressive. I am trying to export vector graphics files, so far svg and eps formats are in pretty good shape, and I'd like to add pdf. Especially so because Illustrator has bugs in svg import. I've been looking through the fpPDF source code and examples, but have a few questions:

How does one set font justification, or alternatively, determine the height and width of a string? I found GetTextWidth and GetTextHeight, but they seem to be private.

Second, is it possible to use transparency with colors? I don't think it is with eps, but it seems like it should be in pdf.

Third, is there a way to set layers or groups? I have been able to do this in svg, and it is very useful when editing in Illustrator or Inkscape.

Perhaps these are possible, but not implemented? Thanks for the work on this!

Title: Re: fpPDF questions
Post by: VTwin on December 30, 2018, 04:24:28 pm
In case anyone else is looking, some discussion and some answers to my questions are here:
TinyPortal © 2005-2018