Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30375
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Finding out a fonts height |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <b0b36ce1-96a3-4556-912d-c385336e82c5@googlegroups.com> |
| Date | 2016-04-27 23:18 +0200 |
| Message-ID | <XnsA5F7ED129B298eejj99@194.109.6.166> (permalink) |
bit-naughty@hotmail.com wrote on 27 Apr 2016 in comp.lang.javascript: > 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 Not in Chrome, it is the pixel size that changes on Ctrl + mousewheel, so the size of an element in virtual pixels stays the same. > - is there any way to query it? Don't think so. I would like to be able to measure the print-size of an element in centimeters [or inches if you are into that]. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
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