[Scummvm-git-logs] scummvm master -> f08042ca1f171d1c65b119abc771d8f7672b6c62
criezy
criezy at scummvm.org
Tue May 29 21:29:45 CEST 2018
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b9fd745e45 DEVTOOLS: Fix RTF credits encoding inconsistencies
f08042ca1f DEVTOOLS: Remove vestige of TeX credits encoding
Commit: b9fd745e45216e4202b31a95f2c4ded7d60279d2
https://github.com/scummvm/scummvm/commit/b9fd745e45216e4202b31a95f2c4ded7d60279d2
Author: Travis McKay (mctrav at gmail.com)
Date: 2018-05-29T20:29:40+01:00
Commit Message:
DEVTOOLS: Fix RTF credits encoding inconsistencies
Changed paths:
devtools/credits.pl
diff --git a/devtools/credits.pl b/devtools/credits.pl
index 135d3a8..68a014d 100755
--- a/devtools/credits.pl
+++ b/devtools/credits.pl
@@ -137,15 +137,16 @@ sub html_entities_to_rtf {
$text =~ s/ó/\\'97/g;
$text =~ s/ø/\\'bf/g;
$text =~ s/å/\\'8c/g;
- # The following numerical values are octal!
+ # The following numerical values are decimal!
$text =~ s/ł/\\uc0\\u322 /g;
- $text =~ s/Š/\\uc0\\u540 /g;
+ $text =~ s/ś/\\uc0\\u347 /g;
+ $text =~ s/Š/\\uc0\\u352 /g;
# Back to hex numbers
$text =~ s/ñ/\\'96/g;
$text =~ s/ä/\\'8a/g;
- $text =~ s/ë/\\'eb/g;
+ $text =~ s/ë/\\'91/g;
$text =~ s/ö/\\'9a/g;
$text =~ s/ü/\\'9f/g;
Commit: f08042ca1f171d1c65b119abc771d8f7672b6c62
https://github.com/scummvm/scummvm/commit/f08042ca1f171d1c65b119abc771d8f7672b6c62
Author: Travis McKay (mctrav at gmail.com)
Date: 2018-05-29T20:29:40+01:00
Commit Message:
DEVTOOLS: Remove vestige of TeX credits encoding
Changed paths:
devtools/credits.pl
diff --git a/devtools/credits.pl b/devtools/credits.pl
index 68a014d..0cbd549 100755
--- a/devtools/credits.pl
+++ b/devtools/credits.pl
@@ -155,31 +155,6 @@ sub html_entities_to_rtf {
return $text;
}
-# Convert HTML entities to TeX codes
-sub html_entities_to_tex {
- my $text = shift;
-
- $text =~ s/á/\\'a/g;
- $text =~ s/é/\\'e/g;
- $text =~ s/í/\\'i/g;
- $text =~ s/ì/\\`\\i/g;
- $text =~ s/ó/\\'o/g;
- $text =~ s/ø/{\\o}/g;
- $text =~ s/å/\\aa /g;
- $text =~ s/ł/{\\l}/g;
- $text =~ s/Š/{\\v S}/g;
- $text =~ s/ñ/\\˜n/g;
-
- $text =~ s/ä/\\"a/g;
- $text =~ s/ö/\\"o/g;
- $text =~ s/ë/\\"e/g;
- $text =~ s/ü/\\"u/g;
-
- $text =~ s/&/\\&/g;
-
- return $text;
-}
-
#
# Small reference of the RTF commands used here:
#
More information about the Scummvm-git-logs
mailing list