Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30379
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Aleksandro <aleksandro@gmx.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Finding out a fonts height |
| Date | Wed, 27 Apr 2016 22:36:54 -0300 |
| Organization | A noiseless patient Spider |
| Lines | 8 |
| Message-ID | <nfrp98$5f1$1@dont-email.me> (permalink) |
| References | <b0b36ce1-96a3-4556-912d-c385336e82c5@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Thu, 28 Apr 2016 01:33:28 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="7363fa7664fe264696fafdff2cecae6a"; logging-data="5601"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OE/zEnqfX1HoPUoQKjvvOQNo7eDmu37I=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
| In-Reply-To | <b0b36ce1-96a3-4556-912d-c385336e82c5@googlegroups.com> |
| Cancel-Lock | sha1:aYuc3Fq+wPGd+Fnf6sOWOW/EYxk= |
| Xref | csiph.com comp.lang.javascript:30379 |
Show key headers only | View raw
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