https://issues.apache.org/bugzilla/show_bug.cgi?id=44744





--- Comment #3 from Jeremias Maerki <[EMAIL PROTECTED]>  2008-04-04 05:42:09 
PST ---
I've disabled the method which makes PDFGraphics2D use the fallback
implementation from AbstractGraphics2D (which uses the TextLayout approach).
But I consider this to be suboptimal, just a temporary solution (whatever
"temporary" means in our project).

http://svn.apache.org/viewvc?rev=644697&view=rev

In the end, drawString(String, float, float) should rather call
drawString(AttributedCharacterIterator, float, float) than the other way
around. Mapping the more complex method to a number of calls to the simpler
method is not the most efficient method.

PDFTextPainter may provide some inspiration for an optimized implementation. It
already contains some code to paint an AttributedCharacterIterator, even if
that one is highly Batik-specific. So I'm leaving this bug open as a reminder.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to