Fonts Linking Registry Settings (Compact 2013)

April 19, 2017

The following registry key links a base font to a link font. In this code example, the OS design developer selected MSGothic, a Japanese-specific font, when building the run-time image. When searching for a character, the base font is searched first followed by the linked font. This enables you to support a larger variety of characters in a font without switching.

IF LOCALE=0409
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]
    "Arial"="\\Windows\\msgothic.ttc,MS PGothic"
    "Microsoft Logo"="\\Windows\\msgothic.ttc,MS PGothic"
    "Times New Roman"="\\Windows\\msgothic.ttc,MS Gothic"
    "Tahoma"="\\Windows\\msgothic.ttc,MS PGothic"
    "Courier New"="\\Windows\\msgothic.ttc,MS PGothic"
    "Symbol"="\\Windows\\msgothic.ttc,MS Gothic"
    "Kino MT"="\\Windows\\msgothic.ttc,MS Gothic"

If multiple fonts need to be included in the same image, all those fonts should be linked to the base font. The example registry to include the MS UI Gothic, PmingLiU, Microsoft JhengHei, Microsoft YaHei, Malgun Gothic, and mangal fonts is shown below.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]
"Arial"="\\Windows\\msgothic.ttc, MS UI Gothic;
\\Windows\\mingliu.ttc,PMingLiU;
\\Windows\\msjh.ttf,Microsoft JhengHei;
\\Windows\\msyh.ttf,Microsoft YaHei;
\\Windows\\malgun.ttf,Malgun Gothic;
\\Windows\\mangal.ttf,mangal"
"Courier New"="\\Windows\\msgothic.ttc, MS UI Gothic;
\\Windows\\mingliu.ttc,PMingLiU;
\\Windows\\msjh.ttf,Microsoft JhengHei;
\\Windows\\msyh.ttf,Microsoft YaHei;
\\Windows\\malgun.ttf,Malgun Gothic;
\\Windows\\mangal.ttf,mangal"
"Segoe UI"="\\Windows\\msgothic.ttc, MS UI Gothic;
\\Windows\\mingliu.ttc,PMingLiU;
\\Windows\\msjh.ttf,Microsoft JhengHei;
\\Windows\\msyh.ttf,Microsoft YaHei;
\\Windows\\malgun.ttf,Malgun Gothic;
\\Windows\\mangal.ttf,mangal"
"Symbol"="\\Windows\\msgothic.ttc, MS UI Gothic;
\\Windows\\mingliu.ttc,PMingLiU;
\\Windows\\msjh.ttf,Microsoft JhengHei;
\\Windows\\msyh.ttf,Microsoft YaHei;
\\Windows\\malgun.ttf,Malgun Gothic;
\\Windows\\mangal.ttf,mangal"
"Tahoma"="\\Windows\\msgothic.ttc, MS UI Gothic;
\\Windows\\mingliu.ttc,PMingLiU;
\\Windows\\msjh.ttf,Microsoft JhengHei;
\\Windows\\msyh.ttf,Microsoft YaHei;
\\Windows\\malgun.ttf,Malgun Gothic;
\\Windows\\mangal.ttf,mangal"
"Times New Roman"="\\Windows\\msgothic.ttc, MS UI Gothic;
\\Windows\\mingliu.ttc,PMingLiU;
\\Windows\\msjh.ttf,Microsoft JhengHei;
\\Windows\\msyh.ttf,Microsoft YaHei;
\\Windows\\malgun.ttf,Malgun Gothic;
\\Windows\\mangal.ttf,mangal"

The following registry key specifies the characters to skip in the base font in favor of the linked font.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SkipTable]
    "Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"

The following registry key sets the end user-defined character (EUDC) font for the system.

[HKEY_CURRENT_USER\EUDC]
    "SystemDefaultEUDCFont"="\\Windows\\eudc.tte"
ENDIF LOCALE=0409

See Also

Reference

Fonts Registry Settings
General Fonts Registry Settings
System Fonts Registry Settings