Tuesday, April 12, 2016

Re: Less optimal HTML output?


On Tue, Apr 12, 2016 at 9:12 PM, Yongwei Wu <wuyongwei@gmail.com> wrote:
>
> 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 <pre>, and 12 pt ... for <body>. "font-size: 1em" makes <pre>
> 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.

A feature I was thinking about was to auto-detect font name and font size, and apply that.

This would apply the same font size from Vim to the document instead of "1em". And obviously, a manual setting would go along with that.

Not sure if this would solve your problem as well or if you want the line gone entirely.

Probably the targeting could be more precise.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: