Character Styles: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
m (Reverted edit of Vasa16, changed back to last version by Suki)
Line 24: Line 24:
</tr>
</tr>
<tr>
<tr>
<td>Font width</td> <td> </td> <td> 25-100 % it seems from the current 1.2 text properties palette</td>
<td>Font width</td> <td> AV: What about hor/vert scaling?  </td> <td> 25-100 % it seems from the current 1.2 text properties palette</td>
</tr>
</tr>
<tr>
<tr>
Line 30: Line 30:
</tr>
</tr>
<tr>
<tr>
<td>Kerning</td> <td> </td> <td> </td>
<td>Kerning</td> <td> AV: what's the difference to tracking?</td> <td> </td>
</tr>
</tr>
<tr>
<tr>
Line 60: Line 60:
</tr>
</tr>
<tr>
<tr>
<td>Direction </td>right to left or left to right (default) <td> </td> <td> </td>
<td>Direction </td><td>right to left or left to right (default) <br/>AV: this is usually determined from the characters used. What about vertical?</td> <td> </td>
</tr>
</tr>
<tr>
<tr>
<td>Rank</td> <td>superscript and subscript </td> <td></td>
<td>Rank</td> <td>superscript and subscript <br/>AV: is that related to superior/inferior OTF feature??</td> <td></td>
</tr>
</tr>
<tr>
<tr>
<td>Capitalization</td> <td>Uppercase, lowercase, title case, small caps</td> <td></td>
<td>Capitalization</td> <td>Uppercase, lowercase, title case, small caps  
<br/>AV: might activate OTF features if available</td> <td></td>
</tr>
</tr>
<tr>
<tr>
Line 81: Line 82:
</tr>
</tr>
<tr>
<tr>
<td>Suppress space </td> <td>Relates to Justified (block) alignment space suppression </td> <td> </td>
<td>Suppress space </td> <td>Relates to Justified (block) alignment space suppression
<br/> AV: ??? will go away, was only internal, no? </td> <td> </td>
</tr>
</tr>
<tr>
<tr>
<td>Parental paragraph style</td> <td> </td> <td> </td>
<td>Parental paragraph style</td> <td> AV: Will be replaced by inherited character style </td> <td> </td>
</tr>
<tr>
<td>OTF features</td> <td> some of those will be used automatically, eg. smallcaps </td> <td> ligatures, oldstyle numerals, swash </td>
</tr>
</tr>
</table>
</table>
Line 92: Line 97:
<nowiki>*</nowiki> Generally grouped by the term "text decoration" though that's unimportant for the file format.<br/>
<nowiki>*</nowiki> Generally grouped by the term "text decoration" though that's unimportant for the file format.<br/>
<nowiki>**</nowiki> 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.<br/>
<nowiki>**</nowiki> 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.<br/>
<nowiki>***</nowiki> 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 --[[User:Malex|Malex]] 07:10, 9 Jun 2005 (UTC)
<nowiki>***</nowiki> 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 --[[User:Malex|Malex]] 07:10, 9 Jun 2005 (UTC) <br/>
I'd also rather use the Unicode SHY for that! --[[User:Avox|Avox]] 23:00, 14 February 2006 (CET)


=== Contributions from ===
=== Contributions from ===
Line 99: Line 105:
ringerc --[[User:Ringerc|Ringerc]] 06:55, 6 Jun 2005 (UTC)<br/>
ringerc --[[User:Ringerc|Ringerc]] 06:55, 6 Jun 2005 (UTC)<br/>
Suki -- 05:50, 10 Jun 2005 (UTC)<br/>
Suki -- 05:50, 10 Jun 2005 (UTC)<br/>
avox (AV) --[[User:Avox|Avox]] 23:00, 14 February 2006 (CET)

Revision as of 22:00, 14 February 2006

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)