xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Bernardo <lmpmberna...@gmail.com>
Subject Re: Retrieving the java.awt.Font from AWTGVTFont
Date Mon, 17 Mar 2014 00:22:10 GMT

How do you generate your PDFs?

There have been some recent changes to Batik to allow FOP to set the 
font used inside the SVGs. Maybe this is relevant for your case.

On 3/16/14, 11:36 AM, roded wrote:
> Hi,
> I'm working on a TextPainter which will paint SVG text elements on a
> graphics object using the drawString method for the sake of allowing working
> with the text (searching & selecting mostly) when it appears in outputted
> PDFs.
>
> For this purpose, I'd like to retrieve the awtFont field from an AWTGVTFont
> object so I could set the graphics' font to it, however the field is
> protected and has no accessor method.
>
> Is there a way around this? (Util class of some sort maybe)
> Pointers and help would be much appreciated.
> Thanks,
> Roded
>
>
>
> --
> View this message in context: http://batik.2283329.n4.nabble.com/Retrieving-the-java-awt-Font-from-AWTGVTFont-tp4655917.html
> Sent from the Batik - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message