rbelow / blueprintcss

Automatically exported from code.google.com/p/blueprintcss
1 stars 0 forks source link

Setting of font-size-adjust #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some font family have different aspect values (e.g. Verdana = 0.58, Comic
Sans MS = 0.54, Trebuchet MS = .53, Georgia = .5). 

If there is a combination of different fonts use, the height of the element
may be affected. This can be resolved by setting the font-size-adjust to
0.5. This way, even if other fonts are used, it will not mess up the
baseline alignment. 

Original issue reported on code.google.com by ronniel...@gmail.com on 24 Jul 2008 at 6:48

GoogleCodeExporter commented 8 years ago
To reproduce
1) Create a div with text
2) Change the font-family to Verdana

Height of div would not be the same as the line-height

Original comment by ronniel...@gmail.com on 24 Jul 2008 at 6:55

GoogleCodeExporter commented 8 years ago
Copied over to
http://blueprintcss.lighthouseapp.com/projects/15318/tickets/32-setting-of-font-
size-adjust#ticket-32-1

Original comment by horst.gu...@gmail.com on 13 Aug 2008 at 9:18