On 1 April 2013 15:38, Dimitri van Heesch <[email protected]> wrote:
>
> On Mar 21, 2013, at 16:53 , Vaclav Petras <[email protected]> wrote:
>
>> Hi,
>>
>> h1 and other h elements have to small line-height. When the heading is
>> long and the page is not wide enough, the heading is split into two
>> lines, then you can see that heading lines overlaps.
>>
>> The line-height reported by Firefox and Chromium is 19px which is at
>> the beginning of of doxygen.css:
>>
>> body, table, div, p, dl {
>>       font: 400 14px/19px Roboto,sans-serif;
>> }
>>
>> Sorry for not proving a patch but my CSS knowledge is very limited.
>
> Can you test how far you have to increase the 19px in order to make the
> overlapping disappear? I've now set it to 22px.

I've finally tested it and the result is 28px.

font: 400 14px/28px Roboto,sans-serif

22px works in most cases but does not work for headings where letters
like 'pqy' at upper line meets with letters like 'tlbd' at lower line.

I'm not sure where for which elements did you changed the size.
However, I was able to change it only for all text now and it is of
course not suitable for all text, it is nice only for headings.

By the way, two-line headings happens much often if \tableofcontents
is used (it did not happened formally, where there was no
\tableofcontents, even with the new CSS).

Vaclav

>
> Regards,
>   Dimitri
>

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Doxygen-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-develop

Reply via email to