Character Styles

From Scribus Wiki
Revision as of 22:21, 22 October 2005 by Vasa16 (talk | contribs)
Jump to: navigation, search

Character Styles

Please fill in this table, so we can get a perfect set of attributes for a character style made to go into 1.3 format DTD. Please put your signature at the bottom of the page for further reference and credits (use characters - - ~ ~ ~ ~ without spaces between them or the second button from the right in the button bar of wiki editor window). --Malex 18:20, 3 Jun 2005 (UTC)

right to left or left to right (default)
Attribute Name Description Examples
Font Family Arial, Vera Serif, URW Bookman, Utopia
Font weight Normal/Regular, Bold, Black, Light, Demibold, Book, Extrabold, etc
Font slant Italic/Oblique, etc
Font Face** Name for (Family, Weight, Slant) Utopia Bold Italic, URW Bookman Demibold Oblique
Font size Needs units (pt | pica | ?) 12 pts
Font width 25-100 % it seems from the current 1.2 text properties palette
Tracking
Kerning
Leading Line spacing
Baseline-shift Raising/Lowering text
Color of text stroke
Color of text fill
Shadow of text stroke
Shadow of text fill
Opacity of text stroke
Opacity of text fill
Language
Direction
Rank superscript and subscript
Capitalization Uppercase, lowercase, title case, small caps
Underline*
Strikethrough*
Outline*
Smart hyphen*** Creates a "hotspot" for hyphentation
Suppress space Relates to Justified (block) alignment space suppression
Parental paragraph style

Notes

* Generally grouped by the term "text decoration" though that's unimportant for the file format.
** Font Face is the combination of font family, weight, and slant. After discussion on IRC it was decided to store the font face in the doc format. We might store the (family, weight, slant) info but only as hints to help the font substitution dialog find good close matches.
*** Doesn't that mean that we should also define other types of hyphens as shown in the Unicode standard? This one is icky. It might be better to enumerate those either in a sub-dtd or elsewhere in the scribus code. Let's discuss this --Malex 07:10, 9 Jun 2005 (UTC)

Contributions from

Malex
CBradney
ringerc --Ringerc 06:55, 6 Jun 2005 (UTC)
Suki -- 05:50, 10 Jun 2005 (UTC)