m...@apollinemike.com writes: > >> I immediately agree that it is a >> nuisance to first do the work of coding this, then do the work of >> replacing it again, then check that the replacement also works. It >> would have been nicer if I had thought of this earlier. >> > > There is absolutely no problem at all - I would much rather use a > stable and robust library if it's available. However, the operations > are so minimal and simple that the thought didn't even occur to me not > to implement them myself (it's taking me longer to write this e-mail > than it took me to write the code). If you think that Pango can do > the job of what's in stencil-integrate.cc, lemme know. I don't see > anything in the library that seems designed for this, but I of course > could have missed something.
Look in pango-matrix.h for the transforms. I skimmed over the actual code, and at the current point of time it is nothing particularly optimized: it almost looks like a copy of your code right now. I'd still prefer a wrapper for that (it's not inconceivable that we might want to pass these into Pango rendering at one time, and not having to copy anything would be an advantage) to our own code. -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel