浏览代码

cleanning up

master
Gustavo Neves 8 年前
父节点
当前提交
14531e554c
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      pdfScale.sh

+ 3
- 3
pdfScale.sh 查看文件

@@ -81,7 +81,7 @@ main() {
vprint " Input File: $INFILEPDF" vprint " Input File: $INFILEPDF"
vprint " Output File: $OUTFILEPDF" vprint " Output File: $OUTFILEPDF"
getPageSize getPageSize
vPrintSourcePageSizes ' Source'
vPrintPageSizes ' Source'
local finalRet=$EXIT_ERROR local finalRet=$EXIT_ERROR


if isMixedMode; then if isMixedMode; then
@@ -94,7 +94,7 @@ main() {
OUTFILEPDF="$outputFile" # reset final target OUTFILEPDF="$outputFile" # reset final target
PGWIDTH=$RESIZE_WIDTH # we already know the new page size PGWIDTH=$RESIZE_WIDTH # we already know the new page size
PGHEIGHT=$RESIZE_HEIGHT # from the last command (Resize) PGHEIGHT=$RESIZE_HEIGHT # from the last command (Resize)
vPrintSourcePageSizes ' New'
vPrintPageSizes ' New'
vPrintScaleFactor vPrintScaleFactor
pageScale # scale the resized pdf pageScale # scale the resized pdf
finalRet=$(($finalRet+$?)) finalRet=$(($finalRet+$?))
@@ -540,7 +540,7 @@ notAdaptiveFailed() {
} }


# Verbose print of the Width and Height (Source or New) to screen # Verbose print of the Width and Height (Source or New) to screen
vPrintSourcePageSizes() {
vPrintPageSizes() {
vprint " $1 Width: $PGWIDTH postscript-points" vprint " $1 Width: $PGWIDTH postscript-points"
vprint "$1 Height: $PGHEIGHT postscript-points" vprint "$1 Height: $PGHEIGHT postscript-points"
} }


正在加载...
取消
保存