{"id":37203,"date":"2004-11-25T07:00:00","date_gmt":"2004-11-25T15:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2004\/11\/25\/a-sample-of-desktop-icon-text-effects\/"},"modified":"2004-11-25T07:00:00","modified_gmt":"2004-11-25T15:00:00","slug":"a-sample-of-desktop-icon-text-effects","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20041125-00\/?p=37203","title":{"rendered":"A sample of desktop icon text effects"},"content":{"rendered":"<p><P>\nIt seems\n<A HREF=\"\/oldnewthing\/archive\/2004\/07\/08\/177263.aspx#feedback\">\neverybody and his brother has an obvious solution\nto the desktop background problem<\/A>.\nOf course, none of these people actually\n<B>tested<\/B> their solution to see if it actually was usable.\nBecause geniuses don&#8217;t need to test their grand pronouncements.\nThat&#8217;s why they&#8217;re called geniuses.\n<\/P>\n<P>\nLet&#8217;s see how well these geniuses fared.  I sat down and\nimplemented their brilliant suggestions since I am myself\nnot a genius.\n<\/P>\n<P>\n<IMG SRC=\"image\/png;base64,\niVBORw0KGgoAAAANSUhEUgAAARgAAAAdCAIAAAD+VuTcAAAAAXNSR0IArs4c6QAAAARnQU1BAACx\njwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABq9JREFU\neF7tnOFyGzkMg\/PoefOrc0oZ5ANIa+3MTZJTf3ScXYkiQYCkPE1f\/pE\/Ly8vt59uf9eHuz+u3WtL\n\/VlP6u864dh3bA\/+v4Q\/HctLIaqKpQQoBA+hlmP\/4OOUKEyUS7F8\/xT+oJd8dKS7waO4amvyGoNm\npXs7cR77Og548Tr4fCt83hnuhUHFgPFDqa+lBb0rDns4qNighefYx8B88P\/+\/HxjMtIGbWgWH\/i8\nY78rrkPJQQNED4Sfx\/7B54bA6+sriHF7Ug\/XZ31Si+uhWuCFX9tIsfMBwQxb8MWDdiHMyv5KZ8I4\nMUb\/746L3jy9mkB+sU8e\/38E\/lE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DPpRL7Nqx\n7wcpSjHeTnIRwy6Q8s1HO3wFt1bWw2Vw9Z+6XOGtauHNK6XFUCEgcU+VBhO1BJarQX81QHNXLTEo\nhOZroARnsAM1QDfbjzh3cblEkYu5msz5HQjdlQbXGFK5ib\/Hq854yYjnRp6U5wCqvk4oeURXVWOl\nqKUrHQ4jsB9OwgmsrvCQPN2lzul65KwTTwUP4IYfu1ezeJA2Pdc\/x0C6hAElZEsDV8+d03BDMQeB\nNE2b9rHMtd1pzKF4Hv8BIigqngXBDPiXGFRLy6Zejep2pNek+JUDys2nmxKUUEl67IPzFYSIwotU\nptMCalRyvVfPyx+nzje3H0uPoxeJPuPjer765Cr+V+1jPartfn6rKWHYu1nAPWo90S40l9o3D70J\nPKaZuGvHvosNnPaS00WlOol1Wh9CS15BXHXH\/szaS\/g8LCcwbZM\/+KqgpLKsqbRgH9ckZePH0UrZ\njq9P6qpKaWQ\/6K7C0+Lqagd8UKzHggalBT6q\/dj\/NfjjmzdoptqUKqo+Fz9r9nMhvbcj5+6TyvGC\ngbNjW9CG0MkJa1yiVRditDhXiwhkps1qwCeqUX3AguM\/Ctx\/g0\/sNt5noKjVprRZTfxx5vmE86Su\nOvbEUQqdB01MldM1dM3NIGkf29Ccj31v8j8Uf2hG5VFqQTvy25Gu9Onm4+vvJ9VyabvXIS\/t5at\/\n8JEjCgYbsevY\/\/\/gE79aiFLRiS7u0vL6CUDvVpGmKEWYfLznxElJz9KG4K3g2D\/4RATiwPId+NP+\nPhLmLp9zYldxvcbZDPPkfCHZ6Uide5DufHtR8YfefX7f6S8oXmoP\/mHAgb4Vtbuc7hqXbjz2\/aZx\n8InMidz7tvz59L8Qe59BM\/XLDHpOXB\/v8dq7nUne2bsBsk7UU2JL6RqmtsTjfzfbH\/wH\/vwBMrKD\nhyUHzgQAAAAASUVORK5CYII=\" WIDTH=\"280\" HEIGHT=\"29\">\n<\/P>\n<P>\nFrom left to right, the effects are as follows:\n<\/P>\n<UL>\n<LI>Solid background + text.  (This is what Windows uses.)\n<LI>Black text, no effects.  (As a baseline.)\n<LI>Xor.\n<LI>Simple drop shadow, drawing black at (+1,+1), black at (0,0)\n    then white at (0,0).\n<LI>One-pixel wide outline.\n<LI>Two-pixel wide outline.\n<LI>50% alpha.\n<\/UL>\n<P>\nTo my untrained eye, the only readable ones are the first one\nand the &#8220;two-pixel wide outline&#8221; (which nobody suggested but which\nI just made up).  The enormously popular Xor is completely useless.\n<\/P>\n<P>\nOf course, all but the first three are expensive operations,\nrequiring multiple drawing passes,\nso they are unsuitable for the &#8220;high performance&#8221; drawing\nscenario that I described in the original article.\n<\/P>\n<P>\nTherefore, the only drawing method that looks good and is also fast\nis the first one.  And it so happens that&#8217;s what Windows uses\nwhen it needs to be fast.\n<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you can see what they look like.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[26],"class_list":["post-37203","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-other"],"acf":[],"blog_post_summary":"<p>So you can see what they look like.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/37203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=37203"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/37203\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=37203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=37203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=37203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}