jacoco/eclemma — pull request #28 by renataogarcia (2012-12-06 23:47:32+00:00)
Title: Larger fonts + bar rendering

The latest EclEmma version (2.2.1.201210271013) renders the bar as shown below on my computer running Linux/GTK.

![GTK-Glitch](https://github.com/downloads/renataogarcia/eclemma/bar-jacoco-gtk-glitch.jpg)

The bars become very large and there is also an small glitch that the bars will bleed into the header.

This also happens on Windows when using larger fonts as shown below:
![Win-Lrg](https://github.com/downloads/renataogarcia/eclemma/bar-jacoco-win-lrg.jpg)

Compared to the default font size on Windows:
![Win-Sml](https://github.com/downloads/renataogarcia/eclemma/bar-jacoco-win-sml.jpg)

This patch renders the bar height proportionally to the font height which gives better results. It should also fix the issue with the table header and footer on GTK.

This is how is it rendered on GTK with the patch:
![GTK-jacoco-patch](https://github.com/downloads/renataogarcia/eclemma/bar-jacoco-patch-gtk.jpg)

Additionally the patch allows the user to choose their preferred look of the bar. I provided two implementations aligned to the EclEmma schema colors. Here is a preview:

![GTK-eclemma-patch](https://github.com/downloads/renataogarcia/eclemma/bar-eclemma-patch-gtk.jpg)