DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39422>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39422





------- Additional Comments From [EMAIL PROTECTED]  2006-04-29 03:47 -------
Here is some additional info.

When looking for the font-mechanism, I noticed a lot of duplicate code between
o.a.f.svg.PDFGraphics2D#drawString
and
o.a.f.render.pdf.PDFRenderer#drawWord

IMO a lot of this should go into a common place, ideally even into xmlgraphics:
org.apache.xmlgraphics.pdf sounds like a very good place....

For the SVG graphics this seems suddently much easier, as there already is a 
"drawString" method 
which is able to switch fonts. 

So here's a possible solution for my SVG problem:
- make the simpler drawString method call the attributed one. (shouldn't hurt). 
They have lots of 
duplicated code anyways.
- implement automatic font switching in the attributed drawString method. 
(Simple for now, and maybe 
more sophisticated in the future).  Have it in an external function so that it 
can be reused later.

For the special characters in the text i'll wait for the new font system.

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

Reply via email to