font issues

Darren V Hart <[email protected]> Tue, 07 Oct 2003 21:25:04 -0600
Newsgroups gmane.comp.embedded.stk.gui.devel
Message-ID <1065583504.663.15.camel@brain>
Team,

We need to decide how text is to be drawn and where various properties
are stored.

I see the following groupings:

font_properties: contains everything needed to create a font, ie
	font_name
	style (normal,bold,italic,bold-italic)
	size
	rotation

alignment: how to draw text in a rectangle
	horiz_justification (left, right, center - skip justified?)
	vert_justification: (top, bottom, center)
	

So how do we accomplish the following things:

- Allow the user to customize labels:
  alignment (maybe horizontal is enough)
  size, weight (not color or font name)
  rotation?  a vertical label might prove useful in our apps...

  Do we want this type of control for other widgets?  It seems to me
  that buttons, progress bars, etc. can have an adequate default and
  no customization.  It might be nice for the edit_box to have 
  alignment, and Marc's spreadsheet cells might as well.

This is just meant to spark communication.  So lets flesh out our
requirements / wishlists / use case scenarios / etc. and *then* start
talking implementation.

Thanks Team!

Darren