1

I am running Windows XP. Although notepad, Office etc show boxes, proper text is displayed in Firefox. If the system doesn't have the font for a language, how can the web browser manage to circumvent and display the script? How is this done? I am new to Unicode and this is really baffling to me.

1 Answer 1

4

When a browser is displaying text in a font specified by the HTML or by the browser, it may come across characters which are not present in that font.

This is particularly the case where the encoding of the web-page is UTF-8, for example, as no single font includes the million or so characters defined by Unicode.

In previous decades, browsers used to display a stand-in character such as an empty square or diamond instead of that character.

For some time now, most browsers, when they need to display a character not in the current font, will now effectively search through all the fonts installed in the computer until they find a font that contains the character needed. This means that browsers are much less likely to display characters as empty squares.

More recent versions of Microsoft applications such as Notepad now do something similar. These applications now use system libraries that do this searching for characters which are unavailable in the current font.

11
  • Sorry, I couldn't understand your answer fully. From first paragraph, are you saying the browsers have their own font set, separate from the OS? And I didn't understand the second paragraph at all.
    – Karolos
    Jan 23, 2012 at 11:02
  • @Karolos: I'll update the answer Jan 23, 2012 at 11:51
  • Thanks for the update. Now I also understand a secondary doubt I had. Many times when I choose "Arial" or fonts other than the language related, I get fixed sized letters which is different from English letters.
    – Karolos
    Jan 23, 2012 at 12:05
  • The Microsoft text rendering system ("Uniscribe") is not recent; the oldest versions date back to Internet Explorer 5.0.
    – MSalters
    Jan 23, 2012 at 12:46
  • @MSalters: Yes but the OP is asking about Notepad (and Office) on XP. Which don't appear to use Uniscribe. Jan 23, 2012 at 13:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .