File:ClearTypePixels.svg

Summary

Description Close-up comparison of rendered type on a screen with and without ClearType technology applied.
Date (original upload date)
Source

Original uploaded on en.wikipedia dnet wrote the following PHP script to generate the RGB grid:

# !/usr/bin/php

<?

$rows=13;$cols=38;$rowheight=18;$colwidth=6;$border=0.25;$order=array('ff0000', '00ff00', '0000ff');

print('&lt;'.'?xml version=&quot;1.0&quot;?'.'&gt;'); ?&gt;&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1//EN&quot; &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd&quot;&gt;&lt;?

printf('<svg xmlns="http://www.w3.org/2000/svg" width="%d" height="%d">', $cols*$colwidth, $rows*$rowheight);

for ($x=0;$x&lt;$cols;$x++) for ($y=0;$y&lt;$rows;$y++) foreach($order as $offset=&gt;$color)printf('<rect x="%d" y="%d" width="%d" height="%d" style="fill: #%s; stroke: #000; stroke-width: %gpx;"></rect>',$colwidth*($x*count($order)+$offset), $y*$rowheight, $colwidth, $rowheight, $color, $border);

?></svg>
Author

Original raster version created by Anthony Atkielski (Agateller).

SVG created by dnet with Inkscape and the above PHP source.

Completely rewritten by Perey to reduce file size and complexity, then transferred to Commons.
SVG development
InfoField
 The SVG code is valid.
 This vector image was created with an unknown SVG tool.
Category:Valid SVG created with Other tools#ClearTypePixels.svg
 Category:Translation possible - SVGThis file uses embedded text that can be easily translated using a text editor.

Licensing

GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
Category:CC-BY-SA-3.0-migrated#ClearTypePixels.svgCategory:License migration completed#ClearTypePixels.svgCategory:GFDL#ClearTypePixels.svg

Original upload log

The original description page was here. All following user names refer to en.wikipedia.

Upload date | User | Bytes | Dimensions | Comment

  • 2010-08-03 18:30:59 | Perey | 15227 | 1132×792 | Hand-coded new version from scratch, rather than using Inkscape. Result: went from 561KB down to just 15KB!
  • 2007-09-16 20:23:18 | DnetSvg | 574632 | 679×474 | Close-up comparison of rendered type on a screen with and without ClearType technology applied. [Original raster version http://en.wikipedia.org/wiki/Image:ClearTypePixels.jpg] created by Anthony Atkielski (Agateller) SVG created by [[User:DnetSvg|dnet]]
Category:ClearType
Category:CC-BY-SA-3.0-migrated Category:ClearType Category:GFDL Category:License migration completed Category:Translation possible - SVG Category:Valid SVG created with Other tools