I know of a java pdf-viewer that is gpl www.jpedal.org I tested it some time ago. That viewer allows to load TT T1C T1 fonts that are shown in a awt-panel. Perhaps you find a solution in this source-code.
Daniel Noll-3 wrote: > > Daniel Noll wrote: >> I will try doing the exact opposite of my original strategy. :-) > > Nope, no dice. The internals of the Java2D rendering code do things > like casting all fonts to a FontMetricsMapper, so unless I make all > fonts of that class it's not going to work. > > Right now I'm trying to hack the internals of the PDF renderer so that > the fonts it loads are a hybrid which get the embedding info from the > configuration but the metrics info from AWT. > > Daniel > > > -- > Daniel Noll > > Nuix Pty Ltd > Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699 > Web: http://nuix.com/ Fax: +61 2 9212 6902 > > This message is intended only for the named recipient. If you are not > the intended recipient you are notified that disclosing, copying, > distributing or taking any action in reliance on the contents of this > message or attachment is strictly prohibited. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Font-metrics%2C-AWT-vs.-PDF-and-a-possible-workaround-tf3051396.html#a8517040 Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
