all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* char-width of a font? pixel-width of a future frame?
@ 2005-05-29 13:37 David Reitter
  2005-05-29 14:03 ` Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: David Reitter @ 2005-05-29 13:37 UTC (permalink / raw)


How do I find out either

- what the (average) width of characters of a given font/fontset is? or
- what, given a set of frame-parameters (including font and width and  
height), what the pixel-width and pixel-height of a frame are going  
to be once it is created?

I'm trying to put together a few functions that intelligently place  
frames on the screen, and obviously I need to know what a frame's  
extensions are going to be before the frame is actually created.

Thanks for your help!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-29 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-29 13:37 char-width of a font? pixel-width of a future frame? David Reitter
2005-05-29 14:03 ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.