Commit d22c5e5ac35f6825100192a019ab5d99112da2df

Authored by Erdogan Furkan
1 parent 6ff4ccd9

#10788 - Done

Showing 1 changed file with 6 additions and 1 deletions   Show diff stats
src/ParamOutputImpl/Plot/Page.cc
... ... @@ -249,7 +249,12 @@ void Page::getDrawableBoundsInPlPage(Bounds& pBounds) {
249 249 }
250 250  
251 251 //Reserve copyright space
252   - //Nothing to do - Copyright is drawn in margin
  252 + double fontRatio = _font.getSize() / 8.;
  253 +
  254 + if(fontRatio > 1 && getenv("HIDE_AMDA_DATE") == NULL){
  255 + pBounds._y += fontRatio * _yMargin - _yMargin;
  256 + pBounds._height -= fontRatio * _yMargin - _yMargin;
  257 + }
253 258 }
254 259  
255 260 void Page::draw(std::shared_ptr<plstream>& pls, bool newFile, const char *plotFilePrefix)
... ...