You are not logged in.
Pages: 1
Hello i have fixed the mappings for MM_LOMETRIC, MM_HIMETRIC in TPdfEnum.ScaleMatrix
With these changes it is well working in both modes
MM_LOMETRIC: begin
// Using FFactor because the FScreenLogPixels from TPdfDocument is not in Scope here
FViewSize.cx := round(7200 / FFactor);
FViewSize.cy := - round(7200 / FFactor);
FWinSize.cx := 25400 ;
FWinSize.cy := 25400 ;
end;
MM_HIMETRIC: begin
FViewSize.cx := round(7200 / FFactor);
FViewSize.cy := - round(7200/ FFactor);
FWinSize.cx := 254000 ;
FWinSize.cy := 254000 ;
end;
Fritz
Offline
Pages: 1