Courier New has the character \u05D0 hebrew letter aleph
some other fonts do too such as Miriam and David.
I can paste that into notepad
Lucida Console does not have the character. Character map shows that Lucida Console doesn't have the character.
Yet notepad displays it even when Lucida Console font is set
So what Font is notepad using?
Best Answer
Windows 7 has a technology called composite font
It allows you to have a virtual font linked from many fonts with limited ranges of character definitions.
Default composite font is called GlobalUserInterface and is located in file
C:\Windows\Fonts\GlobalUserInterface.CompositeFont
.You can use great BabelMap tool to play around and understand implementation of Unicode, Composite fonts and related things.
Also check Font Fallback subsection of Remarks section of this MSDN article to learn some interesting background how such a composite font is built and what are fallback rules.
Finding a font for character (based on the above information):
C:\Windows\Fonts\GlobalUserInterface.CompositeFont
.<FontFamily.FamilyMaps>
, find definition range for your character.Search for tag
FontFamilyMap
containing your range in itsUnicode
attribute and get font (or list of fonts) given for that range (it is stored in attributeTarget
).Example: in case of character 05D0 the range found in file is 0590-05FF (Hebrew)
and font substitutions are:
"Segoe UI, Tahoma, Arial, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode"
or alternatively: go to menu Fonts > Font Coverage... and press Calculate button
Note: there are 4 composite font files available, but I verified the right one for your case is
GlobalUserInterface.CompositeFont
.This technique is reliable because by searching through the definitions you are doing the same as the Windows is doing.