Hello.
I have noticed that, in certain apps, texts in monospaced font appear smaller than the rest.
I found this:
https://github.com/necolas/normalize.css
Quote:
The font-family: monospace, monospace hack fixes the inheritance and scaling of font-size for preformatted text. The duplication of monospace is intentional.
|
So I have tried the above, changing:
Code:
code, kbd, samp, pre, .mono, .mono p {
font-family: monospace;
}
to:
Code:
code, kbd, samp, pre, .mono, .mono p {
font-family: monospace, monospace;
}
So far the "unifying" effect looks good in:
Aldiko

Lithium

PocketBook (Auto/Standard engine)

Reasily

Calibre viewer (Windows)

In apps that don't seem to need them (ADE, Google PlayBooks, Koodoo, Thorium, etc.) they don't affect them either.
On the other hand, duplicating the definition of the other families (sans, serif) has no effect. They always look good (as seen in the screenshots).
Has anyone else tried this? Could it cause any problems?
Cheers!