width measurements?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
em is font height. ex is x height.
Is there anything for width of fonts?


Re: width measurements?

Michael Joel wrote:
Quoted text here. Click to load it

No, not that I have found.

The way I have played this is to uses a class style, and then using at
least three platforms - usually a Mac, Linux and Windoze virtual
machine, selectively select fonts and order them to get as near as
possible the right and similar appearances..knowing that the user can in
any case bugger around with zoom factors and override style defined fonts..
..but at least get to the point where your web page looks MORE OR LESS
similar on all platforms with the default fonts that MOST people will
have on those platforms, and the smart arses who override the 'operating
system defaults' will know enough to un override it to get the pahe
looking OK agian, and if not sod em.

If you want really accurate fonts, download a PDF with embedded fonts in
it, or render the text into a bitmap..and teh devil take the hindmost.

HTML is NOT a precise page description language, its a text markup
language. Go with the flow..

Re: width measurements?

The Natural Philosopher wrote:
Quoted text here. Click to load it

http://code.google.com/p/pcdtr/ and a test on
http://pcdtr.joaomak.net/example_1.9 /

Advantage is that it does not require the font to be installed on the
remote machine. Disadvantage might be the load on the server.

Ideal for headlines. Used it in the past and it works just nice.

This is written under the inluence of the following:
Quoted text here. Click to load it

Re: width measurements?

Am 2011-12-23 03:45, Michael Joel meinte:
Quoted text here. Click to load it

Are you sure you wanted to post this in a PHP newsgroup?


Re: width measurements?

On Fri, 23 Dec 2011 09:23:16 +0100, Gregor Kofler

Quoted text here. Click to load it

No actually. I do not know why I posted to this group?! Obviously not
thinking. Sorry...

Thanks for the answer that were provided though...

Re: width measurements?

El 23/12/2011 3:45, Michael Joel escribió/wrote:
Quoted text here. Click to load it

I guess this was for a CSS group. Whatever, I had always believed that
"em" means "the _width_ of letter M":

http://en.wikipedia.org/wiki/Em_ (typography)

-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com

Re: width measurements?

Álvaro G. Vicario wrote:
Quoted text here. Click to load it
It is but the fonts are fixed aspect ratio..

Re: width measurements?

On Thu, 22 Dec 2011 21:45:19 -0500, Michael Joel wrote:

Quoted text here. Click to load it

what is your php code, what do you expect it to do, what do you think it
does wrong?


Denis McMahon

Site Timeline