List Info

Thread: Re: Nit in the AbstractWMFReader




Re: Nit in the AbstractWMFReader
user name
2007-11-07 01:38:14
Yeah, stupid me. You're absolutely right. Thanks for
catching that.

Jeremias Maerki



On 07.11.2007 02:02:39 Cameron McCormack wrote:
> Jeremias Maerki:
> > I think I found a bug in AbstractWMFReader. The
methods for
> > getViewportWidthInch() and getViewportHeightInch()
are different. The
> > attached patch should fix this.
> 
> I think it should be the other way around;
getViewportHeightInch()
> should be changed not to multiply by PIXEL_PER_INCH,
since ‘inch’ is the
> number of units per inch and ‘vpW’ is in units. 
Can you confirm this?
> 
> -- 
> Cameron McCormack, http://mcc.id.au/
> 	xmpp:heycamjabber.org  ▪  ICQ 26955922  ▪  MSN
cammcc.id.au


------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


Nit in the AbstractWMFReader
user name
2007-11-06 15:23:08
I think I found a bug in AbstractWMFReader. The methods for
getViewportWidthInch() and getViewportHeightInch() are
different. The
attached patch should fix this.

Jeremias Maerki

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org
  
Re: Nit in the AbstractWMFReader
country flaguser name
Australia
2007-11-06 19:02:39
Jeremias Maerki:
> I think I found a bug in AbstractWMFReader. The methods
for
> getViewportWidthInch() and getViewportHeightInch() are
different. The
> attached patch should fix this.

I think it should be the other way around;
getViewportHeightInch()
should be changed not to multiply by PIXEL_PER_INCH, since
‘inch’ is the
number of units per inch and ‘vpW’ is in units.  Can you
confirm this?

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycamjabber.org  ▪  ICQ 26955922  ▪  MSN cammcc.id.au

------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )