Skip to content

Commit a9ce75e

Browse files
committed
[css2] Removed two of Arnaud's changes again, since it led to incorrect
handling of GIF images. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401646
1 parent d7a33bb commit a9ce75e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

css2/bin/Attic/html2ps

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,13 +3859,13 @@ sub DSC {
38593859
last S;
38603860
}
38613861
if($line=~/^\[(.*) (\d+) $io\]$/) {
3862-
$li=$BM[$2]=~y/\n/\n/+2;
3862+
# $li=$BM[$2]=~y/\n/\n/+2;
38633863
# the above Arnaud's line; this is the old:
3864-
# $li=$BM[$ix[$2]]=~y/\n/\n/+2;
3864+
$li=$BM[$ix[$2]]=~y/\n/\n/+2;
38653865
$line="\/picstr $WS[$ix[$2]] string D\n$1\n"
3866-
."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$2]\n%%EndData";
3866+
# ."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$2]\n%%EndData";
38673867
# The above is Arnaud's line, this is the old:
3868-
# ."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$ix[$2]]\n%%EndData";
3868+
."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$ix[$2]]\n%%EndData";
38693869
last S;
38703870
}
38713871
if($line=~/^\((.*)\)$/) {

css2/bin/html2ps

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,13 +3859,13 @@ sub DSC {
38593859
last S;
38603860
}
38613861
if($line=~/^\[(.*) (\d+) $io\]$/) {
3862-
$li=$BM[$2]=~y/\n/\n/+2;
3862+
# $li=$BM[$2]=~y/\n/\n/+2;
38633863
# the above Arnaud's line; this is the old:
3864-
# $li=$BM[$ix[$2]]=~y/\n/\n/+2;
3864+
$li=$BM[$ix[$2]]=~y/\n/\n/+2;
38653865
$line="\/picstr $WS[$ix[$2]] string D\n$1\n"
3866-
."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$2]\n%%EndData";
3866+
# ."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$2]\n%%EndData";
38673867
# The above is Arnaud's line, this is the old:
3868-
# ."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$ix[$2]]\n%%EndData";
3868+
."%%BeginData: $li Hex Lines\n$val[$3]\n$BM[$ix[$2]]\n%%EndData";
38693869
last S;
38703870
}
38713871
if($line=~/^\((.*)\)$/) {

0 commit comments

Comments
 (0)