Redefine pin / pad name label text size in terms of FONT_CAPHEIGHT
commit9baa48602f5253ca71301585ddd7bb1a3b761981
authorPeter Clifton <pcjc2@cam.ac.uk>
Fri, 26 Aug 2011 18:48:42 +0000 (26 19:48 +0100)
committerPeter Clifton <pcjc2@cam.ac.uk>
Fri, 26 Aug 2011 18:48:42 +0000 (26 19:48 +0100)
tree77aedf83fbd17dbb51fde3ef3414da3987cd1096
parent55f95c6cd266a261961245f9571ff91bcc45c74d
Redefine pin / pad name label text size in terms of FONT_CAPHEIGHT

This reduces the proliferation of various "magic numbers" which
combine constants from several sources and aren't appearent why
they are a particular number. There is a slight rounding error
in the converted pin label size, but it is insignificant.
src/draw.c