Lino Website

code changes

How bold is bold?

Saturday, 14. April 2007 18:40.

Until now prnprint printed with a slightly «bolder» font than the default: it used the font weight FW_SEMIBOLD instead of FW_NORMAL when printing normal text(and FW_EXTRABOLD instead of FW_BOLD when printing bold text).

Now I noticed that this trick had a surprising side-effect (at least on a Samsung ML-1210): bold characters were slightly smaller than normal characters. This lead to unexpected result when printing reports, for example.

I decided to fall back to the orthodox values FW_NORMAL and FW_BOLD. Introduced two module global variables to make future experiments more easy.

Copyright 2001-2007 Luc Saffre.
Generated 2007-06-07 16:22:55