> On 18 Dec 2015, at 07:50, Tilman Hausherr <[email protected]> wrote: > >> Am 18.12.2015 um 13:50 schrieb Peter Prusinowski: >> Hello, >> >> is there an alternative command for PDPageContentStream.appendRawCommands in >> version 2.0.0 ? >> I am using this command for linebreaks and saw that its deprectaed in this >> version. > > You don't need extra line breaks, the methods already do them. > > I don't know why this was deprecated, and I disagree with it. I suggest you > just use it. Whatever will be done in 2.1 can only be guessed.
The reason it was deprecated is that users were writing complex and error-prone raw PDF commands (and mostly getting it wrong) rather than using the simple built-in methods provided by PDPageContentStream. There is never any need for raw commands, whatever needs to be done we can provide an API for it. -- John > Tilman > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

