~ubuntu-branches/ubuntu/vivid/texlive-bin/vivid

« back to all changes in this revision

Viewing changes to utils/asymptote/texfile.cc

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-06-23 12:57:25 UTC
  • mfrom: (1.2.8)
  • Revision ID: package-import@ubuntu.com-20120623125725-usp25qvphkyd6jlm
Tags: 2012.20120623-1
* post release fixed from Peter Breitenlohner (will be included upstream):
  - (patch-dvi2tty, patch-lacheck) Ken Brown <kbrow1i@gmail.com> has noteda
  that already moderately long pathnames may yield buffer overruns in 
  lacheck and dvi2tty.
  - (patch-icu) three ICU library files have been modified (undoing ICU 
  SVN commit 36090 from 2009-06-11), in order to solve all/most XeTeX 
  problems with Indic scripts.
  - (patch-pdftex) a small change in pdftexdir/pdftosrc.cc required to
  build pdfTeX with poppler >=0.18.4 (system-xpdf).  Note, however, that 
  building pdfTeX that way slightly reduces its capability to handle large 
  files (see README.config 1.6 and 3.4.2).
* update updmap man page (Closes: #677300)
* (pulled from upupstream cvs, patch xdvi-upupstream-fixes)
  - Fixed bugs in property handling on 64-bit systems (related to source 
    specials).
  - Added support for XkbBell, to make the console bell work again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
  verbatimline("pt%");
259
259
}
260
260
  
261
 
void texfile::gsave()
 
261
void texfile::gsave(bool)
262
262
{
263
263
  *out << settings::beginspecial(texengine);
264
264
  psfile::gsave(true);
265
265
  *out << settings::endspecial() << newl;
266
266
}
267
267
 
268
 
void texfile::grestore()
 
268
void texfile::grestore(bool)
269
269
{
270
270
  *out << settings::beginspecial(texengine);
271
271
  psfile::grestore(true);
356
356
  *out << "</g>";
357
357
}
358
358
  
359
 
void svgtexfile::gsave(bool tex)
 
359
void svgtexfile::gsave(bool)
360
360
{
361
361
  if(clipstack.size() < 1)
362
362
    clipstack.push(0);
366
366
  pens.push(lastpen);
367
367
}
368
368
  
369
 
void svgtexfile::grestore(bool tex)
 
369
void svgtexfile::grestore(bool)
370
370
{
371
371
  if(pens.size() < 1 || clipstack.size() < 1)
372
372
    reportError("grestore without matching gsave");
418
418
  ++clipcount;
419
419
  *out << "id='clip" << clipcount << "'>" << nl;
420
420
  beginpath();
421
 
  if(clipstack.size() >= 0)
 
421
  if(clipstack.size() > 0)
422
422
    clipstack.pop();
423
423
  clipstack.push(clipcount);
424
424
}