Character Styles
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)
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 | AV: What about hor/vert scaling? | 25-100 % it seems from the current 1.2 text properties palette |
Tracking | ||
Kerning | AV: what's the difference to tracking? | |
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 | right to left or left to right (default) AV: this is usually determined from the characters used. What about vertical? | |
Rank | superscript and subscript AV: is that related to superior/inferior OTF feature?? | |
Capitalization | Uppercase, lowercase, title case, small caps
AV: might activate OTF features if available | |
Underline* | ||
Strikethrough* | ||
Outline* | ||
Smart hyphen*** | Creates a "hotspot" for hyphentation | |
Suppress space | Relates to Justified (block) alignment space suppression
AV: ??? will go away, was only internal, no? | |
Parental paragraph style | AV: Will be replaced by inherited character style | |
OTF features | some of those will be used automatically, eg. smallcaps | ligatures, oldstyle numerals, swash |
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)
I'd also rather use the Unicode SHY for that! --Avox 23:00, 14 February 2006 (CET)
Contributions from
Malex
CBradney
ringerc --Ringerc 06:55, 6 Jun 2005 (UTC)
Suki -- 05:50, 10 Jun 2005 (UTC)
avox (AV) --Avox 23:00, 14 February 2006 (CET)