Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30379
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Finding out a fonts height |
| Date | 2016-04-27 22:36 -0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <nfrp98$5f1$1@dont-email.me> (permalink) |
| References | <b0b36ce1-96a3-4556-912d-c385336e82c5@googlegroups.com> |
On 27/04/16 14:17, bit-naughty@hotmail.com wrote: > Hi, > How do I query what the max height is for the current font at the current size? Like, say a capital letter like "D" (I guess that would be as maximum a size as anything else...? ). Like, I can obviously set it to whatever I want, but if the user does a CTRL + mousewheel up , then it can change - is there any way to query it? I don't have time to look by myself but take a look at: * https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle * https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Finding out a fonts height bit-naughty@hotmail.com - 2016-04-27 10:17 -0700
Re: Finding out a fonts height "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-04-27 23:18 +0200
Re: Finding out a fonts height bit-naughty@hotmail.com - 2016-04-30 05:47 -0700
Re: Finding out a fonts height "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-01 00:01 +0200
Re: Finding out a fonts height bit-naughty@hotmail.com - 2016-05-04 23:04 -0700
Re: Finding out a fonts height Aleksandro <aleksandro@gmx.com> - 2016-04-27 22:36 -0300
Re: Finding out a fonts height bit-naughty@hotmail.com - 2016-04-30 05:46 -0700
Re: Finding out a fonts height "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-05-05 18:13 -0700
csiph-web