Problém:
Aplikácia (hlavne 16-bitová, alebo taká ktorá na fonty pristupuje cez
16-bit API) nezobrazuje korektne mäkčene resp. zobrazuje miesto písmen s mäkčeňami
štvorčeky, prípadne tlačí na tlačiarni štvorčeky.
Riešenie:
Sú chybne nastavené tzv. Font Substitues.
v súbore win.ini sa nachádza nasledovná sekcia (alebo podobná):
[FontSubstitutes]
Helv=MS Sans Serif
Tms Rmn=MS Serif
Times=Times New Roman
Helvetica=Arial
Helvetica,0=Arial,238
Times,0=Times New Roman,238
System,0=System,238
Fixedsys,0=Fixedsys,238
Small Fonts,0=Small Fonts,238
MS Sans Serif,0=MS Sans Serif,238
MS Shell Dlg,0=MS Sans Serif,238
MS Serif,0=MS Serif,238
Arial CE,238=Arial,238
Arial Cyr,204=Arial,204
Arial,238=Arial,238
Courier New CE,238=Courier New,238
Courier,238=Courier New,238
Courier New,238=Courier New,238
Courier New Cyr,204=Courier New,204
Times New Roman CE,238=Times New Roman,238
Times New Roman Cyr,204=Times New Roman,204
Times New Roman,238=Times New Roman,238
Ktorú je potrebné upraviť nasledovne:
[FontSubstitutes]
Helv=MS Sans Serif
Tms Rmn=MS Serif
Times=Times New Roman
Helvetica=Arial
Helvetica,0=Arial,238
Times,0=Times New Roman,238
System,0=System,238
Fixedsys,0=Fixedsys,238
Small Fonts,0=Small Fonts,238
MS Sans Serif,0=MS Sans Serif,238
MS Shell Dlg,0=MS Sans Serif,238
MS Serif,0=MS Serif,238
Arial CE,0=Arial,238
Arial Cyr,0=Arial,204
Arial,0=Arial,238
Courier New CE,0=Courier New,238
Courier,0=Courier New,238
Courier New,0=Courier New,238
Courier New Cyr,0=Courier New,204
Times New Roman CE,0=Times New Roman,238
Times New Roman Cyr,0=Times New Roman,204
Times New Roman,0=Times New Roman,238
Jedná sa o to, že substitúcie fontov sú v zlom poradí a s nesprávnymi číslami.
Ak máme font s názvom Font a robíme nejaké jeho aliasy, všetky aliasy
musia byť pred definitívnou úpravou fontu. Úprava fontu riadkom
Font,0=Font,238
zabezpečí, aby v prípade, že sa použije font Font a nie font Font CE bola
diakritika korektne zobrazená. Pokiaľ chceme pre 16-bit aplikácie zabezpečiť
"CE" fonty, potrebujeme urobiť substitúciu
Font CE,0=Font,238
ešte pre definitívnou substitúciou daného fontu.
Táto schéma by mala byť funkčná pre všetky fonty ktoré sú súčasťou windows,
naopak nemusí fungovať pre fonty tretích strán. Microsoft má svoje písma
na web stránkach http://www.microsoft.com/truetype/