The problem is often caused by hardware acceleration, which causes the application to render some fonts in bold. It can also be the result of compatibility problems with the current operating system.
I found two possible solutions:
- Enable Windows compatibility mode for Firefox;
- Disable hardware acceleration in Firefox.
Both possible solutions are described here.
Disabling hardware acceleration solved my problem.