[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/kdvi
From: Stefan Kebekus <stefan.kebekus () uni-bayreuth ! de>
Date: 2005-04-15 5:39:59
Message-ID: 20050415053959.8FE32492 () office ! kde ! org
[Download RAW message or body]
CVS commit by kebekus:
fixes bug #103546
M +6 -0 dviwin_prescan.cpp 1.26
--- kdegraphics/kdvi/dviwin_prescan.cpp #1.25:1.26
@@ -118,4 +118,5 @@ void dviRenderer::prescan_embedPS(char *
parse_special_argument(include_command, "angle=", &angle);
+ int clip=include_command.find(" clip"); // -1 if clip keyword is not present, >= 0 otherwise
// Generate the PostScript commands to be included
@@ -127,4 +128,6 @@ void dviRenderer::prescan_embedPS(char *
if (angle != 0)
PS.append( QString(" %1 @angle").arg(angle) );
+ if (clip != -1)
+ PS.append(" @clip");
PS.append( " @setspecial\n" );
@@ -417,4 +420,5 @@ void dviRenderer::prescan_ParsePSFileSpe
parse_special_argument(include_command, "angle=", &angle);
+ int clip=include_command.find(" clip"); // -1 if clip keyword is not present, >= 0 otherwise
if (QFile::exists(EPSfilename)) {
@@ -433,4 +437,6 @@ void dviRenderer::prescan_ParsePSFileSpe
if (angle != 0)
PostScriptOutPutString->append( QString(" %1 @angle").arg(angle) );
+ if (clip != -1)
+ PostScriptOutPutString->append(" @clip");
PostScriptOutPutString->append( " @setspecial \n" );
PostScriptOutPutString->append( QString(" (%1) run\n").arg(EPSfilename) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic