Permalink
Browse files

Got rid of all trailing spaces. From now on no trailing spaces will b…

…e allowed in any patch.
  • Loading branch information...
1 parent 2bd440d commit 5c3ea394bf41a4bf27a4a379151570db1a4617d8 @sorccu committed Jul 22, 2009
Showing with 1,135 additions and 1,135 deletions.
  1. +33 −33 doc/optimal-scaling.html
  2. +5 −5 examples/gradient.html
  3. +21 −21 examples/text-shadow.html
  4. +49 −49 generate/convert.php
  5. +1 −1 generate/css/style.css
  6. +61 −61 generate/index.html
  7. +5 −5 generate/js/ui.js
  8. +1 −1 generate/lib/ConversionException.php
  9. +30 −30 generate/lib/Cufon.php
  10. +63 −63 generate/lib/FontForgeScript.php
  11. +29 −29 generate/lib/JSEncoder.php
  12. +8 −8 generate/lib/JSEncoderKey.php
  13. +75 −75 generate/lib/SVGFont.php
  14. +13 −13 generate/lib/SVGFontContainer.php
  15. +29 −29 generate/lib/UnicodeRange.php
  16. +55 −55 generate/lib/VMLPath.php
  17. +35 −35 generate/view/conversion-error.php
  18. +32 −32 generate/view/input-error.php
  19. +32 −32 generate/view/upload-empty-error.php
  20. +32 −32 generate/view/upload-size-error.php
  21. +214 −214 js/cufon.js
  22. +1 −1 tests/cssready/delayed-css.php
  23. +30 −30 tests/cssready/index.html
  24. +7 −7 tests/cssready/link-altstylesheet-simple-fake/index.html
  25. +7 −7 tests/cssready/link-altstylesheet-simple-print/index.html
  26. +9 −9 tests/cssready/link-altstylesheet-simple/index.html
  27. +7 −7 tests/cssready/link-next/index.html
  28. +4 −4 tests/cssready/link-next/next.html
  29. +7 −7 tests/cssready/link-stylesheet-404-print/index.html
  30. +7 −7 tests/cssready/link-stylesheet-404/index.html
  31. +7 −7 tests/cssready/link-stylesheet-charsetempty-print/index.html
  32. +7 −7 tests/cssready/link-stylesheet-charsetempty/index.html
  33. +7 −7 tests/cssready/link-stylesheet-commentempty-print/index.html
  34. +7 −7 tests/cssready/link-stylesheet-commentempty/index.html
  35. +9 −9 tests/cssready/link-stylesheet-disabled/index.html
  36. +7 −7 tests/cssready/link-stylesheet-empty-print/index.html
  37. +7 −7 tests/cssready/link-stylesheet-empty/index.html
  38. +7 −7 tests/cssready/link-stylesheet-import-print/index.html
  39. +7 −7 tests/cssready/link-stylesheet-import/index.html
  40. +7 −7 tests/cssready/link-stylesheet-printimport/index.html
  41. +7 −7 tests/cssready/link-stylesheet-simple-fake/index.html
  42. +7 −7 tests/cssready/link-stylesheet-simple-print/index.html
  43. +7 −7 tests/cssready/link-stylesheet-simple/index.html
  44. +7 −7 tests/cssready/link-stylesheet-slow-print/index.html
  45. +7 −7 tests/cssready/link-stylesheet-slow/index.html
  46. +7 −7 tests/cssready/link-stylesheet-slowdisabled/index.html
  47. +6 −6 tests/cssready/no-stylesheets/index.html
  48. +9 −9 tests/cssready/style-404import-print/index.html
  49. +9 −9 tests/cssready/style-404import/index.html
  50. +7 −7 tests/cssready/style-empty-print/index.html
  51. +7 −7 tests/cssready/style-empty/index.html
  52. +9 −9 tests/cssready/style-emptyimport-print/index.html
  53. +9 −9 tests/cssready/style-emptyimport/index.html
  54. +9 −9 tests/cssready/style-import-fake/index.html
  55. +9 −9 tests/cssready/style-import-print/index.html
  56. +9 −9 tests/cssready/style-import/index.html
  57. +9 −9 tests/cssready/style-printimport/index.html
  58. +8 −8 tests/cssready/style-simple-fake/index.html
  59. +8 −8 tests/cssready/style-simple-print/index.html
  60. +8 −8 tests/cssready/style-simple/index.html
  61. +1 −1 tests/line-height/index.html
  62. +1 −1 tests/line-height/quirks.html
  63. +1 −1 tests/line-height/transitional.html
View
@@ -3,76 +3,76 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
-
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
+
<title>Chart of optimal scaling values</title>
-
+
<style type="text/css">
-
+
body {
font: 9pt Arial, Verdana, Helvetica, sans-serif;
}
-
+
#scale-value-chart {
border-collapse: collapse;
border-spacing: 0;
}
-
+
#scale-value-chart caption {
font-size: 200%;
font-weight: bold;
padding: 0.5em;
}
-
+
#scale-value-chart th {
background: #eee;
vertical-align: bottom;
width: 1em;
}
-
+
#scale-value-chart th.col-text {
padding-left: 2em;
padding-right: 2em;
width: auto;
}
-
+
#scale-value-chart td {
border: 2px solid #fff;
padding: 1px 2px;
text-align: center;
}
-
+
#scale-value-chart .pos {
background: #00ff00;
color: #fff;
}
-
+
#scale-value-chart .neg {
background: #ffdddd;
}
-
+
</style>
-
+
</head>
-
+
<body>
-
+
<noscript>
-
+
<h1>Chart of optimal scaling values</h1>
-
+
<p>You need JavaScript to view this chart.</p>
-
+
</noscript>
-
+
<script type="text/javascript">
-
+
var sizes = {};
var map = [];
var best = [];
var length = 0;
-
+
for (var i = 8; i <= 48; i += 1, ++length) {
sizes[i] = [];
for (var j = 1; j < 100; ++j) {
@@ -83,9 +83,9 @@
map[size][i] = true;
}
}
-
+
var table = document.createElement('table');
-
+
table.id = 'scale-value-chart';
var caption = document.createElement('caption');
@@ -95,10 +95,10 @@
table.appendChild(caption);
var thead = table.createTHead();
-
+
var header1 = thead.insertRow(-1);
var header2 = thead.insertRow(-1);
-
+
var scaleHeading = document.createElement('th');
scaleHeading.className = 'col-text';
scaleHeading.rowSpan = 2;
@@ -110,7 +110,7 @@
header1.appendChild(pxHeading);
var count = 0;
-
+
for (var size in sizes) {
var th = document.createElement('th');
th.appendChild(document.createTextNode(size));
@@ -125,9 +125,9 @@
matchHeading.rowSpan = 2;
matchHeading.innerHTML = 'Font sizes<br />matched in total';
header1.appendChild(matchHeading);
-
+
var tbody = document.createElement('tbody');
-
+
table.appendChild(tbody);
for (var i = 0, l = map.length; i < l; ++i) {
@@ -147,11 +147,11 @@
var matchCell = row.insertCell(-1);
matchCell.innerHTML = matches;
}
-
+
document.body.appendChild(table);
-
+
</script>
-
+
</body>
-
-</html>
+
+</html>
View
@@ -7,20 +7,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cufón / examples / gradient</title>
-
+
<style type="text/css">
-
+
body {
background: #fff;
color: #555;
}
-
+
h1 {
font: normal 200px Arial, Verdana, Helvetica, sans-serif;
margin: 0.8em 0 0 0;
text-align: center;
}
-
+
</style>
<script src="../js/cufon.js" type="text/javascript"></script>
@@ -42,4 +42,4 @@
</body>
-</html>
+</html>
View
@@ -3,20 +3,20 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
+
<title>cufón / examples / text-shadow</title>
<script src="../js/cufon.js" type="text/javascript"></script>
<script src="../fonts/Vegur.font.js" type="text/javascript"></script>
-
+
<style type="text/css">
-
+
body {
background: #fff;
color: #000;
}
-
+
h1, h2, h3, h4, h5, h6 {
background: #CCCCCC;
color: #D1D1D1;
@@ -25,25 +25,25 @@
margin: 1em 0;
padding: 20px;
}
-
+
h3 {
background: #CCCCFF;
color: #fff;
}
-
+
h4 {
background: #CCCCFF;
color: #ffa800;
}
-
+
</style>
-
+
<script type="text/javascript">
Cufon.replace('h1', {
textShadow: '#fff -1px -1px, #333 1px 1px'
});
-
+
Cufon.replace('h2', {
textShadow: '#fff 1px 1px, #333 -1px -1px'
});
@@ -55,25 +55,25 @@
Cufon.replace('h4', {
textShadow: '-1px -1px rgba(51, 51, 51, 0.6)'
});
-
+
</script>
-
+
</head>
-
+
<body>
-
+
<p>These examples are based on <a href="http://www.w3.org/Style/Examples/007/text-shadow">CSS: text shadows</a> by Bert Bos. See the <a href="http://www.w3.org/TR/CSS2/text.html#text-shadow-props">CSS2 text-shadow specification</a> for syntax. Please note that offsets can only be defined in pixels and that blur is not supported at all.</p>
-
+
<p>Additional limitations since the release of Internet Explorer 8: One element may only have two shadows, and they may not have varying levels of opacity.</p>
-
+
<h1>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</h1>
-
+
<h2>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</h2>
-
+
<h3>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</h3>
-
+
<h4>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</h4>
-
+
</body>
-
+
</html>
Oops, something went wrong.

0 comments on commit 5c3ea39

Please sign in to comment.