Skip to content

Commit

Permalink
Fixes EPS sizing on export.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nima Keivan committed Sep 25, 2014
1 parent 3c6e632 commit 04a597a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/target/TargetGridDot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ void TargetGridDot::SaveEPS(

std::ofstream f;
f.open(filename.c_str());
f << "%!PS-Adobe EPSF-3.0" << std::endl;
f << "%!PS-Adobe-3.1 EPSF-3.0" << std::endl;
f << "%%Creator: CalibuCalibrationTarget" << std::endl;
f << "%%Title: Calibration Target" << std::endl;
f << "%%Origin: 0 0" << std::endl;
Expand All @@ -618,6 +618,9 @@ void TargetGridDot::SaveEPS(
}
}

std::cerr << "Wrote bounding box: " <<

This comment has been minimized.

Copy link
@dorian3d

dorian3d Jan 15, 2015

Collaborator

Could you change the cerr for some LOG with INFO or DEBUG level?

max_pts[0] << " " << max_pts[1] << std::endl;

// output the binary code -- blank if id == 0, which is the default
double r = grid_spacing*( M.rows()+2.5 );
double dx = (grid_spacing*(M.cols()-1))/8;
Expand Down

1 comment on commit 04a597a

@nimski
Copy link
Collaborator

@nimski nimski commented on 04a597a Jan 16, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've actually applied these changes through another PR so I think we can close this bad boy.

Please sign in to comment.