When a font looks like crap....

by Michael S. Kaplan, published on 2007/03/30 14:50 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2007/03/30/1995343.aspx


Ravi asks:

Hello Michael,

I am a regular reader of your blog and I find it very entertaining and informative.

My problem is this: Gautami font in XP and Vista is absolute crap for reading Telugu documents on the web. You previously had a post comparing Gautami with other Telugu fonts on the web and how crappy it is even to untrained eyes.

I am trying to find a way to set the font preferences in Windows so that Windows would use my font (the free Vemana or Pothana2000 unicode fonts). The only way I could avoid Gautami is by deleting it from the fonts. Is there another way? In Linux you could define a custom fontconfig file to override the settings. Is there a Windows equivalent?

Thanks,

Ravi

(I'll talk about the issues here related to UI vs. document fonts in another post soon!)

Unfortunately, there are only two paths one can take here -- either one can use the existing font fallback logic in Uniscribe, Or one can do one's own fallback.

I talked to some people over here like Nick and Simon, and the only other option (which is not very feasible in the long run) is to replace the font with one that has the exact same name. But doing this leads to all kinds of other problems, as you might be able to imagine (even before you get into the whole unsupported configuration and potential legal issues that could arise here related to licensing and design trademarks.

Sorry about that. ;-(

Now for fonts on the web one can change one's font choice for the script in order to see web pages using Telugu with whatever font they choose. This might work around the limitation quite effectively!

 

This post brought to you by(U+0c60, a.k.a. TELUGU LETTER VOCALIC RR)


# Rosyna on 30 Mar 2007 3:23 PM:

"the only other option is to replace the font with one that has the exact same name."

Uhm... Which name? File name, one of the 128 entries in the font name table, et cetera?

This is why Helvetica Neue angers me so much. I have about 50 thousand different fonts that have those two words somewhere in some name in the various tables. And *I'm* supposed to figure out which one some random app developer decided to use in their UI.

# Michael S. Kaplan on 30 Mar 2007 4:04 PM:

Well, in practice the name they register that gets added to the font cache.

Though since it is a bad idea anyway, the fact that it is hard is just a bonus to keep users safe from the people who might otherwise try to do this. :-)

# Damien Guard on 30 Mar 2007 8:41 PM:

The registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes provides some facilities for mapping although again you'd have to remove the original font file.

Don't really understand how IE is getting to this font so this tip may well be useless.

[)amien

# Michael S. Kaplan on 30 Mar 2007 9:23 PM:

It gets there through Uniscribe font fallback -- so that registry key is unlikely to help or change the behavior, though....

# Pavanaja U B on 31 Mar 2007 1:00 AM:

Hardcoding of mapping of font names to scripts in Uniscribe is troubling everyone. Why can't you make some sort of customization option for Uniscribe? Better still, make it opensource :)

-Pavanaja

# Michael S. Kaplan on 31 Mar 2007 1:34 PM:

Pretending for a moment that I have that kind of clout to make such a decision.... :-)

As someone who has seen that code, debugged it, and even occasionally made checkins to it, I can say that making Uniscribe opensource is not the solution to making it either more usable or more understandable.

Though I agree that some way to customize the fallback logic would not be such a bad thing. I have lots of thoughts about potential features in that area and have communicated them to people on those teams. A solution here can only help people!


Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

referenced by

2008/12/03 Want to hear about a cool new typographic convention? Khmer, and I'll tell you about it...

2008/05/18 The song[ and the answer] remains the same

2008/02/06 The utility of a feature like font fallback in Uniscribe can often be somewhat obviated by its design flaw

go to newer or older post, or back to index or month or day