Skip to content

Commit 57af785

Browse files
committed
Added Java based programs issue
1 parent 6b31d8e commit 57af785

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

FontInstallationIssues.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,20 @@ For performance reasons, Windows includes a cache for all installed fonts. Becau
3737

3838
## The font data in the registry and the font files can be different
3939

40-
Depending what else has gone wrong, the font registration data (Name and File) inside the registry can be different from the actual fonts installed in C:\WINDOWS\FONTS. When this happens, the fonts can go “crazy” - see issue [#152 for Hack](https://github.com/chrissimpkins/Hack/issues/152).
40+
Depending what else has gone wrong, the font registration data (Name and File) inside the registry can be different from the actual fonts installed in *C:\WINDOWS\FONTS*. When this happens, the fonts can go “crazy” - see issue [#152 for Hack](https://github.com/chrissimpkins/Hack/issues/152).
4141

4242
*HackWindowsInstaller* will ensure that the files and the registration data are exactly as desired and reinstall the font if this is not the case.
4343

4444

45+
## Java based programs will try to combine Font registry data and all available font files
46+
47+
Java based programs not just relay on the font data found in the registry, they will also enumerate all font found in *C:\WINDOWS\FONTS*. This can lead to a situation where Java has more than one font file available for the same variant (Bold, Italic etc.) and causing massive display errors (see [issue 345](https://github.com/source-foundry/Hack/issues/345#issuecomment-340385407) and [issue 362](https://github.com/source-foundry/Hack/issues/362) for Hack).
48+
49+
Windows programs that relay only on the font data in the registry do not have any issues in this case as they do check the \Fonts folder directly.
50+
51+
*HackWindowsInstaller* will delete any additional Hack files we are aware off, for example files from Hack v2 or the special *linegap* files to make sure only the main Hack files are found in *C:\WINDOWS\FONTS*.
52+
53+
4554
## The regular variant of a font can be registered as "Regular"
4655

4756
When installing a font using the *Fonts* applet from Control Panel it sometimes registers this variant as “Regular” although Windows does not expect “Regular” to be used. This can lead to a situation where two font files are registered for the “Regular” variant and causing display issues.

0 commit comments

Comments
 (0)