View Issue Details

IDProjectCategoryView StatusLast Update
0002114JEDI VCL00 JVCL Componentspublic2004-09-03 13:34
ReporteranonymousAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0002114: JvPrvwDoc convertion bugs
DescriptionHi my name is Ronaldo Augusto, I live in Brazil.
  Thank to do JCL and JVCL they are great!!!
  The unit JvPrvwDoc has two little convertion bugs.
  Where we found:

function TJvDeviceInfo.MMToXPx(MM: single): Integer;
begin
  Result := InchToXPx(MM * 25.4);
end;

function TJvDeviceInfo.MMToYPx(MM: single): Integer;
begin
  Result := InchToYPx(MM * 25.4);
end;

  The correct tranlation is :

function TJvDeviceInfo.MMToXPx(MM: single): Integer;
begin
  Result := InchToXPx(MM / 25.4);
end;

function TJvDeviceInfo.MMToYPx(MM: single): Integer;
begin
  Result := InchToYPx(MM / 25.4);
end;
  Just replace * for /.

Thanks and good by
TagsNo tags attached.

Activities

AHUser

2004-09-03 13:34

developer   ~0005165

Already fixed in CVS.

Issue History

Date Modified Username Field Change
2004-09-03 12:43 anonymous New Issue
2004-09-03 13:34 AHUser Status new => resolved
2004-09-03 13:34 AHUser Resolution open => fixed
2004-09-03 13:34 AHUser Assigned To => AHUser
2004-09-03 13:34 AHUser Note Added: 0005165