Menu

#36 Some users do not like default font size

None
closed
nobody
2023-09-18
2023-01-02
No

There is a global style applied to all text to add font-size: 1em. The comment in 2html.vim says it is to "fix browser inconsistencies". See if there is any way around this, or if still needed.

From "Yongwei Wu":

I do not see the point of this. It does not seem to affect the result
in Chrome, but it makes the font larger in IE than without it.

Also:

I think this is dependent on the browser configuration. In my case,
the IE font size with 1 em is apparent bigger than other cases. In
other browsers (with or without 1 em) or IE without 1 em, I get the
standard 10 pt (13 px) Courier New as output.

I guess the reason is that the standard CSS in IE has 10 pt Courier
New for

, and 12 pt ... for . "font-size: 1em" makes 

use 12 pt as well. For some reasons Chrome is not affected by
"font-size: 1em": I verified that it thinks the font-size is still 13
px, the default setting.

Discussion

  • fritzophrenic

    fritzophrenic - 2023-09-18
    • labels: --> investigation, enhancement
    • Milestone: -->
     
  • fritzophrenic

    fritzophrenic - 2023-09-18
     

    Last edit: fritzophrenic 2023-09-18
  • fritzophrenic

    fritzophrenic - 2023-09-18
    • status: open --> closed
     

Log in to post a comment.