Archive for the 'Microsoft' category



13
Jun

Font rendering philosophies of Windows and Mac OS X

Jeff Atword asked What's Wrong With Apple's Font Rendering? and as I answered in the comments it comes down to philosophy:

The primary difference is that Microsoft try to align everything to whole pixels vertically and sub-pixels horizontally.
Apple just scale the font naturally - sometimes it fits into whole pixels other times it doesn't.
This means Windows looks sharper at the expense of not actually being a very accurate representation of the text. The Mac with it's design/DTP background is a much more accurate representation and scales more naturally than Windows which consequently jumps around a lot vertically.

Jeff and Joel both wrote follow up posts agreeing that it is one of philosophy but both are of the opinion that the Windows pixel-grid approach is the better whilst our displays are only capable of low dots-per-inch (DPI).

What they don't seem to appreciate is the compromise this causes.

Here is an example of Times New Roman on Windows (left) and Mac OS (right) scaled over whole point sizes with sub-pixel precision:

Font scaling on Windows and Mac OS X

The two thing to note here arising from this "pixel-grid is king" approach are

  1. Windows does not scale fonts linearly as the rough line points out
  2. Windows scales the height and width but not the weight of the font

Neither of these may matter to a casual user but for professionals preparing material destined for high DPI (film or print) then it's a world of difference. How can you layout a page on-screen and expect the same result on the page when the font isn't the same width?

The issue is reminiscent of the "I hate black bars on wide-screen films" brigade who believe that the film should be chopped, panned, scaled and otherwise distorted from the artists original intention simply so that it fits better on their display.

Typography has a rich and interesting history developed and honed over centuries. It is a shame to misrepresent typefaces especially as the pixel-grid approach becomes less relevant as displays reach higher resolutions.

Update

Some additional comparisons and a note that the gamma differences between Windows and Mac will affect how you see the "other" systems rendering on your machine.

Further update (21 August 2007)

Thanks to Daring Fireball and ZDNet we've had a few more great comments which I've summarised here:

George thinks the philosophy idea is wrong because "What percentage of Mac users sit around all day doing nothing but pre-press work?" but as Fred points out Microsoft's desktop-user optimised rendering ends up on images and videos all over the web, thus escaping the environment for which it was crippled.

George also claims that Vista's rendering is improved, I can't vouch for that one way or another but from looking at his screen shots the difference there could simply be the contrast level as adjusted by the ClearType tuner.

Nathaniel believes that it's not Microsoft's job to manipulate a typeface and that if you want on-screen readability then choose a font designed for that such as Microsoft's own Tahoma or Apple's Lucida Grande.

I'd go further and say that Microsoft's own aggression in sticking to the grid kills font choice at the regular reading size of 10/11 point by optimising everything to a generic sans or serif look:

Windows XP

Windows fonts around 11pt in ClearType

Mac OS X

Mac OS X fonts around 13pt in Medium (Best for LCD)

James points to an article called Texts Rasterization Exposures that proposes a combination of using vertical hinting only and calculating horizontally to 256 levels and has some convincing screenshots showing the benefits. Probably too late for Leopard or Vista SP1 though.

[)amien

24
Apr

Taking on the role of a Guitar Hero

My friends and I have been very much enjoying Guitar Hero II on the Xbox 360 released earlier this month.

Despite reservations we've found ourselves jumping around performing a variety of silly stances, head bops and special moves whilst we attempt to strum 'n chord in time to the tricky yet rewarding tracks available. Once we got a second guitar and hit the co-operative (one bass, one lead) and VS modes (turns each or both together) then out-performing the other player off-screen as well as on became an integral part of the game.

The line-up of songs is a little disappointing - when there is one "made famous" by a well known band then it tends to be one of their less famous song. I say "made famous" as the game clearly points it out they are, alas, cover versions bar a small handful.

Extra tracks are available on-line in packs of 3 for 500 MSP's each. These are again cover versions presumably due to the developer being unable to licence the original audio mix to the songs so that they can cut out the guitar and bass lines when you fail to hit the right combination of colourful buttons and strum in time.

One pleasant surprise is that the guitar is just a normal USB device and can be used under Windows once the Xinput common controller driver is installed or on the Mac using TattieBogle's Xbox 360 OS X driver.

Why would you want to do that? To play the free cross-platform Guitar Hero clone Frets on Fire with all the fan-created songs of course!

Whilst there are plans for Guitar Hero: 80s Edition and Guitar Hero III the franchise is being handed over to Activision's Neversoft team (Tony Hawks) as they bought the rights to the name when they snapped up Guitar Hero's publisher Red Octane.

Original music-game-only developer Harmonix aren't whining about it or heading to the courts, oh no. They are fighting back with Rock Band that throws drums and vocals on top of lead and bass guitars.

Fantastic!

[)amien
PS: Under no circumstances consider playing either game with a keyboard or a regular controller - the experience just isn't the same.

03
Apr

My windows 64-bit experiences

Windows XP 64-bit has been on the market for some time and both Intel and AMD's current processors are 64-bit. Even cheap office Dell boxes are coming equipped with the 64-bit Core 2 Duo. (This is the x64/x86-64/EM64T/AMD64 architecture which comprises of 64-bit extensions on top of the existing x86 32-bit architecture and not to be confused with Intel's IA64 Itanium stuff or DEC's Alpha 64)

You can run 32-bit Windows XP on these processors but if you want to use more than 2-3GB of RAM then you'll need to switch to Windows XP 64-bit edition (or Vista 64-bit if you're really brave).

With all this in mind I was a little surprised at the state of 64-bit Windows software when I finally got my hands on my first x64 machine. Here's what I found.

Microsoft SQL Server 2005

Installing Microsoft SQL Server 64-bit (any edition) complained about a missing or corrupt sqlclin_x64.msi file which could leave you running in circles.

This problem occurs if you have the 32-bit native client already installed. Unhelpfully Add or Remove Programs describes both versions as Microsoft SQL Server Native Client regardless of whether you have the 32-bit or 64-bit version installed. The SQL Installer fails to check for the 64-bit version and throws this cryptic error message at you instead.

Solution: Remove Microsoft SQL Server Native Client.

Internet Explorer only sites that use Flash

There are a number of IE only web-sites that use Flash - Microsoft's Online Learning is one such example. The problem is that Adobe have not made a 64-bit version of the Flash player available.

Solution: Create a shortcut to C:\Program Files (x86)\Internet Explorer\IExplore.exe to run 32-bit Internet Explorer for now.

Mozilla Firefox

There is no official 64-bit Windows version of Firefox although the 32-bit version runs just fine.

Solution: Try one of the unofficial builds although they are a little dated and there is no patching policy.

TortoiseCVS

There is no 64-bit version of TortoiseCVS and the 32-bit version will not run from the 64-bit Windows Explorer.

Solution: Install the 32-bit version and run from the 32-bit version of Windows Explorer (a pain).

A 64-bit version of TortoiseSVN is now available.

Note: If you like to be able to access TortoiseSVN from the File dialogs in Visual Studio 2005 you will also need to install the 32-bit version as VS 2005's devenv.exe is a 32-bit application.

Microsoft Visual Studio 2005

Whilst the Profession and Team editions will let you write 64-bit applications Visual Studio 2005 itself is 32-bit only and has some additional performance and compatibility problems beyond those experienced on x86 32-bit Windows.

Service Pack 1 resolves some issues relating to debugging on 64-bit but leaves a whole host of other x64 issues unresolved including debugging SQL code.

Solution: None.

.NET Reflector

Fails to draw properly the debugging or lower left info pane. Curious considering it is a .NET application that shouldn't care whether it is running on 32-bit or 64-bit architectures. So much for VM abstraction.

Solution: None.

This bug has been subsequently fixed.

Resources

Overall a very disappointing state of affairs.

[)amien

30
Mar

New browsers on Windows Mobile 5+

One of the disappointments of Windows Mobile 6 is the lack of any major improvements on the web browser (they improved the rendering a little as well as favourites/history...).

Thankfully unlike other phones you can install extra applications and these alternatives are worth consideration.

DeepFish

Straight out of Microsoft's Labs is DeepFish which renders the whole page and then lets you zoom in. Whilst the concept is similar to the iPhone the major difference appears to be that a server does the rendering for you making the web browser do little more than display these server-side rendered images.

The results are a bit hit-and-miss at the moment hence why it is still a technology preview which seems now to be full however there are alternative places to get the files and activation codes but be warned it doesn't yet support sites that require form submissions/logins.

Minimo

Minimo takes a more traditional approach to browsing and uses the core Mozilla technologies as used in Firefox to provide a very feature-reach browser that includes support for JavaScript, AJAX, RSS and tabbed-browsing.

Opera Mobile

Opera Software produce Opera 8 for Windows Mobile Smartphone as part of their suite which seems to target every hardware and software combination under the sun. This version includes tabbed browsing and the usual assortment of tricks to improve rendering on small screens.

A trial version is available which I'd recommend before parting with your cash as unlike the others this one will set you back $24 USD.

[)amien

27
Nov

Xbox 360 misleading advertising?

Xbox 360 advert adjusted for realityI really enjoy my Xbox 360 - surprising considering I held the opinion my Xbox 1 was an ugly waste of space and that my PlayStation 2 satisfied my needs.

Microsoft have done many things right with this machine (Online, XNA, dashboard, media center, high-def). Sure, the hard disk should have been bigger especially now they are selling movies but my real complaint is that there STILL aren't enough titles I want to play on it.

Imagine my surprise when flicking through this months PC Gamer (UK) magazine and finding an advert on page 59 with the words

"Feel the intense power of having way too many options to choose from. Jump in. Xbox 360"

Followed by a giant hand-print of hundreds of games. Wow, I must have missed something. There must be lots of games just waiting for me!

A quick scan through revealed a lot of dull EA Sports licences (FIFA, NHL, Madden, NBA blah blah blah) and a lot of duplicated titles.

A thought struck me - If I crossed out all the duplicate images what would we have left?

Something a little closer to reality. Click the image to zoom.

Update

Yes, dupes of Burnout, FEAR and Ultimate Alliance were missed. I'm not taking a new photo :p

[)amien

24
Nov

Office ribbon - patenting look and feel?

Word's Ribbon on VistaMicrosoft took a brave step with the 2007 version of Office and decided to replace tool bars and menus with a single 'ribbon'.

The ribbon is in effect a tabbed tool bar with large context-aware icons that show you more interactively what will happen when you use them and put the various options and selections right in there. It's a concept I find that works very well indeed although some reviewers have been less enthusiastic.

Jensen Harris, Group Program Manager of the Microsoft Office User Experience Team, has been blogging about the forthcoming UI changes for some time but only recently dropped the bombshell.

Microsoft believe they own this concept and will licence it to you for free providing you don't compete with them.

If you're not familiar with the history of computing or have been bombarded with FBI-copyright-warnings since birth you might think this is perfectly reasonable. The core problem however is that graphical user interfaces, like much of human endeavour, has been an iterative process of refinement and the concepts need to be free for the next iteration to happen.

Or, as Sir Isacc Newton said

If I have seen a little farther than others, it is because I have stood on the shoulders of giants.

The ribbon would be nothing without the developments that came before it. The tool bar, the tab, the icon or going back even further the window, the mouse and the document model.

Microsoft invented none of these things nor do they licence them from somebody else indeed the whole concept of suing over "Look and Feel" died back with Apple's failure to get a judgement over Microsoft for Windows borrowing UI concepts and Lotus also failing with their 1-2-3 interface being used in by Borland in their Quattro product.

The United States copyright and patents offices typically understand how damaging copyright on human interaction can be and indeed this is why a typeface (font) is not actually copyrightable. (TrueType, PostScript and OpenType font files *are* copyrightable but only because they contain a list of instructions - a program - to rendering the font).

Much of the common GUI we see today started with a special group at Xeroc Parc which was then copied by the likes of Apple, Digital Research, IBM, Amiga, Next, Acorn and indeed Microsoft.

If you could patent basic user-interface concepts for 50 75 years either Xerox or Apple would be the only people able to produce such a graphical interface (depends on how water-tight Apple's licence with Xerox was).

You could likely say goodbye to scroll-bars, tabs, docks, dragging, drop-down menus, tear-off menus, recycle bins, radio buttons and other plethora of concepts we've gained along the way as they'd be little incentive to innovate when the government has given you the exclusive right to basic concepts.

I can't help but wonder if this whole thing kicked off because Creative believe they own the idea of a very simple menu as used in the iPod and indeed are trying to sue Apple about it.

[)amien

13
Nov

LushOS cursors

Preview of LushOS CursorsMany many moons ago I created myself a set of animated mouse cursors that I could use day-in, day-out.

They were designed to be easily clear on any background and just catch the attention of the eye when needed without being visibly distracting when not. They achieve this using a gently pulsing white outline.

And so I design this set - the colour scheme partially inspired by NeXTSTEP's own cursors.

If you like it, download it for yourself. Just unpack into C:\Program Files\Envy Technologies\LushOS-Cursors\ and run the included registry file which will create a mouse cursor set for you.

Then head into Control Panel > Mouse > Pointers and choose LushOS from the drop-down list.

[)amien

09
Nov

Microsoft withdraws Sysinternals source code

Anyone involved in support or development on Windows platforms has almost certainly come across the excellent tools from Mark Russinovich and Bryce Cogswell, collectively known as SysInternals (free tools) and Winternals (pay tools).

These tools are well written, small, powerful and provide insightful information and control. The gems include Process Explorer - a powerful replacement for Task Manager that can show you which files are locked by which processes etc. the excellent RegMon and FileMon for keeping an eye on what files and registry entries applications are utilising and many other invaluable utilities for dealing with the trickiest situation.

SysInternals has been around since 1996, gradually improving their tools whilst they also demonstrated how to delve into the guts of Windows itself. Indeed these techniques formed the basis of Mark's books Inside Windows 2000 and Microsoft Windows Internals which utilise a number of undocumented, and therefore unsupported, internal API calls to achieve these seemingly magical feats.

When Microsoft purchased SysInternals and Winternals as you can imagine a number of people were worried.

Techies feared loosing access to some great tools whilst developers about loosing the ongoing source and details of such powerful API's that didn't officially exist with SysInternal's tools, source and books providing the best source of information.

There was no need to worry however the press announcement stated:

Customers will be able to continue building on SysInternals' advanced utilities, technical information and source code for utilities related to Windows.

Good news there then. At least if it were true.

The replacement for SysInternal's site came on-line a few days ago and included in the bunch of small updates and new Process Monitor application (replacement for RegMon and FileMon) was the following snippet hidden away in the Sysinternals Site Migration page.

Source Code: The number of source code downloads didn't justify the migration, support, and possible integration problems it might cause with other Windows components down the road.

In other words "We lied".

There has been some discussion that these internal APIs were being used for malware. I don't see how denying the source now the malware authors know-how or the source and Windows Internals books are in free circulation.

Just as I thought Microsoft were opening up their own code (WTL, Wix etc.) and their staff they go and pull such a cheap stupid damaging trick.

I've posted a news article to Slashdot about it so my apologies if you're already had my much shorter summary. They like em that way and I didn't want them linking back here for fear of turning my Shuttle server into a melted heap with all the traffic.

Updates

Slashdot rejected it and went with Justin Long no longer being the Mac - a story that wasn't even true.
Microsoft have usefully packed the whole Sysinternals suite up into a single download.

[)amien




Topics